Skip to content

Instantly share code, notes, and snippets.

@NoobsArePeople2
NoobsArePeople2 / gist:4576561
Created January 20, 2013 03:44
How to assign a hotkey to the Snipping Tool in Windows 8.

OSX has a great shortcut for taking screen shots: cmd + shift + 4. Here's how to assign ctrl + shift + 4 to open the Snipping Tool in Windows 8.

  1. Open the Start Screen.
  2. Type "Snipping Tool" to search for the Snipping Tool.
  3. Right-click the icon that appears in the search results and select "Open File Location" at the bottom of the screen.
  4. In the Explorer window that opens right-click the Snipping Tool shortcut. Select "Properties".
  5. In the "Shortcut" tab click into the "Shortcut Key" field.
  6. Press ctrl, shift and 4.
  7. Click, Apply then OK.
@NoobsArePeople2
NoobsArePeople2 / gist:4490307
Last active August 15, 2018 20:10
Configuration for .bash_profile on OSX to get some Posh-Git features.
  1. Open Terminal move to your home folder: cd ~

  2. Enable git colors: git config --global color.ui true

  3. Make a file called ".colors": touch .colors

  4. Open .colors and paste the following:

@NoobsArePeople2
NoobsArePeople2 / gist:4481936
Created January 8, 2013 07:18
Installing Nexus S Drivers on Windows 8

Step by step

  1. Download Android SDK
  2. Run <sdk_loc>\tools\android.bat
  3. In the Android SDK Manager, scroll down to "Extras" and select "Google USB Driver". Install it.
  4. Open the Device Manager (tap the Windows button and type "device manager" to search for it).
  5. Right-click the Nexus S and choose "Update Driver Software..."
  6. In the dialog that pops up select, "Browser my computer for driver software"
  7. Browse to <sdk_loc>\extras\google\usb_driver
  8. Click next until the driver is installed
@NoobsArePeople2
NoobsArePeople2 / Console2_PowerShell_Setup.md
Last active December 10, 2015 01:18
Step-by-step guide to setting up Powershell with Console2
  1. Do this
  2. Run Powershell as Administrator. A note on 32 vs. 64 bit systems.
  3. Type Set-ExecutionPolicy RemoteSigned. This allows remote scripts like profiles to be loaded and run.
"Include path not found (/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include)"
is an error you can get on Mac OS with Eclipse CDT after upgrading to XCode 4.3+. The reason this
happens is that Apple has removed the /Developer folder. This is a default value in CDT
that you can see by:
1. Right-clicking your project in the Project Explorer. Choose "Properties".
2. Click C/C++ General.
3. Select "Preprocessor Include Paths, Macros, Etc."
4. Select GNU C++ in the "Languages" pane.
5. Expand the "CDT GCC Builtin Compilter Settings".
@NoobsArePeople2
NoobsArePeople2 / gist:1897836
Created February 24, 2012 04:46
Configure Sublime Text 2 (build 2181 or later) as Git Editor on Windows
git config --global core.editor "'c:/Program Files/Sublime Text 2/sublime_text.exe' -wait"