Raspberry Pi voordeel bundels. Raspberry Pi supersnel en gratis bij u thuisbezorgd! Want bij ons geldt; voor 16:00 besteld? Morgen in huis!
Archive for September 1st, 2016
Raspberry Pi voordeel set | SosSolutions.nl
Posted by jpluimers on 2016/09/01
Posted in Development, Hardware Development, Raspberry Pi | Leave a Comment »
Delphi: Alt+Down Arrow is the keyboard shortcut for ellipsis buttons
Posted by jpluimers on 2016/09/01
Thanks Primož Gabrijelčič for reminding me on Stack Overflow that Alt + Down opens the dialogs behind ellipsis buttons in the Delphi IDE.
It’s the CUA and Windows short-cut to open drop-down lists (comboboxes) and for opening drop-down list for a property in the object inspector, but I never realised also would work for these ellipsis buttons.
This was my original stack-overflow question: Is there a keyboard shortcut for the ellipsis buttons of the Project Options in the Delphi IDE?
The Project Options in the Delphi IDE has a few option (like the
Search Path
) each with an ellipsis button (the one on the right having only three dots...
in the image below) to pop-up a dialog.What keyboard shortcut activates that button?
–jeroen
Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Keyboards and Keyboard Shortcuts, Software Development | Leave a Comment »
Mercurial/Hg; syntax/tips for amend commit adding/reming files to latest (non-pushed) commit
Posted by jpluimers on 2016/09/01
Sometimes your latest commit isn’t what you intended. Fixing can be done, but isn’t always obvious hence these links:
- Until you do a pull,
hg diff -c tip
, orhg tip -p
gets you the diff of the latest local commit
via Mercurial: Easy way to see changes from last commit – Stack Overflow. hg commit --amend
file allows you to add/update a file to the latest commit.
via Mercurial: how to amend the last commit? – Stack Overflow.- Removing a file from the latest commit is a bit more tricky as it depends if the file is new, or existing. Example is below.
More details via Remove file from a commit in Mercurial – Stack Overflow. Examples
Remove a new file from a commit:
cp somefile.txt somefile.txt.bak
hg forget somefile.txt
hg commit --amend
If the file was new (i.e. you had used hg add).
If that file already existed try:
cp somefile.txt somefile.txt.bak
hg revert somefile.txt --rev .~1
hg commit --amend
cp somefile.txt.bak somefile.txt
–jeroen
Posted in Development, DVCS - Distributed Version Control, Mercurial/Hg, Software Development, Source Code Management | Leave a Comment »