How do you copy and paste into Git Bash

Press Insert. Also, to copy from the window, try clicking the console’s window icon (topleft) and choosing Edit -> Mark, then drag a box on the text, then press Enter. (You can also paste via the window icon menu, but the key is faster.) UPDATE Starting from Windows 10 the CTRL + C, CTRL + V and a lot of other feature are implemented in … Read more

what does “dead beef” mean?

http://en.wikipedia.org/wiki/Hexspeakhttp://www.urbandictionary.com/define.php?term=dead%3Abeef “Dead beef” is a very popular sentence in programming, because it is built only from letters a-f, which are used in hexadecimal notation. Colons in the beginning and in the middle of the sentence make this sentence a (theoretically) valid IPv6 address.

Windows .NET API / Windows 7 / Bluetooth communication with Intel Curie Arduino / Genuino 101

Microsoft Bluetooth stack on Windows 7 does not support BLE. You have to use third party Bluetooth drivers in this case. BlueSoleil works good. On Windows 8 and above you can use Microsoft Bluetooth stack to work with BLE devices. However each Bluetooth drivers have own API. I am not sure about free 32feet (if it support BLE and … Read more

What are atomic operations for newbies?

Pretty much, yes. “Atom” comes from greek “atomos” = “uncuttable”, and has been used in the sense “indivisible smallest unit” for a very long time (till physicists found that, in fact, there are smaller things than atoms). In concurrent programming, it means that there will be no context switch during it – nothing can affect the execution … Read more

An “and” operator for an “if” statement in Bash

What you have should work, unless ${STATUS} is empty. It would probably be better to do: or It’s hard to say, since you haven’t shown us exactly what is going wrong with your script. Personal opinion: never use [[. It suppresses important error messages and is not portable to different shells.