Some install scripts. Target to work with Ubuntu 12 or greater.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local http = require("socket.http") | |
| local ltn12 = require("ltn12") | |
| local base_url = "https://httpbin.org/" | |
| function deep_print(tbl) | |
| for i, v in pairs(tbl) do | |
| if type(v) == "table" then | |
| deep_print(v) | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| guard 'shell', :elixirc_bin => "/usr/local/elixirc" do | |
| watch(/(.+\.ex$)/) { |m| `elixirc #{m[0]}` } | |
| end | |
| guard 'shell', :elixir_bin => "/usr/local/elixir" do | |
| watch(/(.+\.exs$)/) { |m| `elixir #{m[0]}` } | |
| end |
Unionize lets you connect together docker containers in arbitrarily complex scenarios.
Note: I recommend to use https://github.com/jpetazzo/pipework instead.
- pipework is a better name than unionize
- it's hosted on a "real" github repo instead of a small gist :-)
Now if you want Unionize, it's still here. Just check those examples.
Either copy the aliases from the .gitconfig or run the commands in add-pr-alias.sh
Easily checkout local copies of pull requests from remotes:
git pr 4- creates local branchpr/4from the githubupstream(if it exists) ororiginremote and checks it outgit pr 4 someremote- creates local branchpr/4fromsomeremoteremote and checks it out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Go to https://github.com/Filirom1/gogit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Q = require('q'); | |
| var S = new (function() { | |
| var STOPPED = function(value) { | |
| this.value = value | |
| }; | |
| this.return = function(value) { | |
| throw new STOPPED(value) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var blob = require('azure').createBlobService() | |
| , fs = require('fs') | |
| , Q = require('q'); | |
| var options = { publicAccessLevel: 'blob' }; | |
| // With Q | |
| var fsLstat = Q.nbind(fs.lstat, fs); | |
| var getContainer = Q.nbind(blob.createContainerIfNotExists, blob); | |
| var streamFile = Q.nbind(blob.createBlockBlobFromStream, blob); |
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 = git@github.com: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: