brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>Remap Right Control to Hyper</name> | |
| <appendix>OS X doesn't have a Hyper. This maps right control to Control + Shift + Option + Command.</appendix> | |
| <identifier>space_cadet.left_control_to_hyper</identifier> | |
| <autogen> | |
| --KeyToKey-- |
This list has been superseded by Public APIs. Check there for APIs with Auth: No, HTTPS and CORS Yes.
List of data APIs that require no server-side auth or private credentials, and are thus good for small browser-only JS projects.
| #!/usr/bin/env bash | |
| # Usage: dice makefile docroot dbuser dbpass dbname sitename install-profile | |
| drupal_install_clean_env() { | |
| if [[ -r $2 ]]; then | |
| sudo rm -r $2 | |
| cd ~/ | |
| fi | |
| if [[ -r $1 ]]; then | |
| drush make --working-copy --concurrency=5 $1 $2 |
Jekyll, GitHub's static site generator, and Bootstrap were used to create Whispernote's GitHub Project Page. This document shows how.
I wanted a stylish "brand" page for my project, and I wanted to reuse the README file I had created without a lot of copy/pasting. GitHub's Jekyll allowed me to essentially embed the file as a partial. What I got was really an enhanced README file (thanks to some jQuery and Bootstrap), which is exactly what I wanted.
#The power of z
Do you spend lots of time doing things like this?
cd this/is/the/path/that/i/want/so/i/type/it/all/out/to/get/whereiwantWith z, you could just do this:
| javascript:(function(e,t){window.open(%22https://delicious.com/save?url=%22+encodeURIComponent(e.location.href)+%22&title=%22+encodeURIComponent(e.document.title)+%22¬e=%22+encodeURIComponent(%22%22+e.getSelection()?e.getSelection():e.document.getSelection?e.document.getSelection():e.document.createRange().text)+%22&v=1.1%22,%22_blank%22);})(window) |
PLEASE SCROLL DOWN AND READ THE COMMENTS FOR A MORE UP TO DATE WAY (AND EASIER) TO DO THIS
When using Homebrew (http://brew.sh) and searching formulas or pull requests you may get the dreaded error message: Github API Rate limit exceeded
Let's fix that! (yeah!)
PLEASE SCROLL DOWN AND READ THE COMMENTS FOR A MORE UP TO DATE WAY (AND EASIER) TO DO THIS
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |