- grunt task that watches over
node_modulesdirectory in a repo and copies the directory on change- Could be also be done with nodemon or something else
- Create a node client for it (because it is awesome)
CSS as a queue
node_modules directory in a repo and copies the directory on change
CSS as a queue
| import requests, os, glob, json, sys, webbrowser | |
| you = 'self' | |
| data = 'checkins' | |
| try: os.mkdir(data) | |
| except Exception: pass | |
| cid = 'YOUR_CLIENT_ID' |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| /** | |
| * Scrolling shadows by @kizmarh and @leaverou | |
| * Only works in browsers supporting background-attachment: local; & CSS gradients | |
| * Degrades gracefully | |
| */ | |
| html { | |
| background: white; | |
| font: 120% sans-serif; | |
| } |
| #!/bin/bash | |
| # From: http://snippets.freerobby.com/post/491644841/remove-merged-branches-in-git | |
| current_branch=$(git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') | |
| if [ "$current_branch" != "master" ]; then | |
| echo "WARNING: You are on branch $current_branch, NOT master." | |
| fi | |
| echo "Fetching merged branches..." | |
| git remote prune origin | |
| remote_branches=$(git branch -r --merged | grep -v '/master$' | grep -v "/$current_branch$") |