Place these files in your vim bin/ folder. Most likely one of the following:
C:\Program Files\vim\bin
C:\Program Files (x86)\vim\bin
function* fib() { | |
var a = 0; | |
var b = 1; | |
while(true) { | |
yield a; | |
b = a+b; | |
a = b-a; | |
} | |
} |
Place these files in your vim bin/ folder. Most likely one of the following:
C:\Program Files\vim\bin
C:\Program Files (x86)\vim\bin
mkdir build | |
taskkill /F /im mimic.exe | |
copy /b bin\node-webkit\* build | |
pushd source | |
del ..\build\mimic.nw |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="/q.js"></script> | |
<script src="/lodash.js"></script> | |
<script> | |
function makePromise(val) { | |
var deferred = Q.defer(); | |
deferred.resolve(val); | |
return deferred.promise; |
var http = require('http'); | |
var responseHandler = function(response) { | |
if (response.headers.location) { | |
http.get(response.headers.location, responseHandler); | |
// If I leave this off, the node process takes ~45 seconds to exit. | |
// Presumably it's waiting for a listener to attach to the stream | |
response.on('data', function() {}); | |
} else { |
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | |
<feed xml:base="https://my-feed.cloudapp.net/api/v2/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> | |
<title type="text">FindPackagesById</title> | |
<id>https://my-feed.cloudapp.net/api/v2/FindPackagesById</id> | |
<updated>2014-05-13T14:55:03Z</updated> | |
<author> | |
<name /> | |
</author> | |
<link rel="self" title="FindPackagesById" href="FindPackagesById" /> | |
</feed> |
@echo off | |
SET DIR=%~dp0% | |
start %DIR%..\lib\atom.0.0.0.1\tools\atom.exe %* |
javascript: (function() { | |
if ($('.more-repos-link').length != 0) { | |
$.get('/dashboard/ajax_your_repos', function(response) { | |
$('#repo_listing').html(response); | |
$('.more-repos').remove(); | |
repoCount(); | |
}, 'text'); | |
} else { | |
repoCount(); | |
} |
!#/bin/sh | |
kdiff_win_path=`echo $kdiffpath | sed -e 's/\//\\\\/g' | sed -e 's/^\\\\c/c\:/' | sed -e 's/ /\\ /g'` |
# Usage: | |
# | |
# git hub itsananderson/web-server | |
# git hub itsananderson/web-server other-folder | |
# | |
# Let me know if there's a better way of doing this | |
# http://twitter.com/itsananderson | |
git config --global alias.hub \!"sh -c 'git clone [email protected]:\$1.git \${@:2}' -" |