🧛♂️
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 http = require('http'); | |
| var urls = process.argv.slice(2); | |
| var bufferString = ''; | |
| var counter = 0; | |
| var canContinue = true; | |
| while(!!urls.length && canContinue) { |
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
| ack | |
| aget | |
| amap | |
| aria2 | |
| arping | |
| asciiio | |
| aspell | |
| autoconf | |
| automake | |
| axel |
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
| helloword |
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
| (function() { | |
| function addEvent(obj, event, fn, capture) { | |
| if(window.attachEvent) { | |
| obj.attachEvent('on' + event, fn); | |
| } else { | |
| if(!capture) capture = false; | |
| obj.addEventListener(event, fn, capture); | |
| } | |
| } | |
| var generator = function(params) { |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title> Page break test </title> | |
| <link rel="stylesheet" media="all" href="./style.css"> | |
| </head> | |
| <body> | |
| <div class="page"> Page 1 </div> | |
| <div class="page"> Page 2 </div> |
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
| require 'sinatra' | |
| require 'rqrcode_png' | |
| get '/' do | |
| qs = @env['rack.request.query_hash'] | |
| text = qs['url'] | |
| qr_png = RQRCode::QRCode.new(text, :size => 32).to_img | |
| content_type 'image/png' | |
| qr_png.to_blob | |
| end |
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 mysql = require('mysql'); | |
| var connection = mysql.createConnection({ | |
| host: 'localhost', | |
| user: 'vimscripts', | |
| password: 'vimscripts', | |
| database: 'vimscripts' | |
| }); | |
| connection.connect(function(err) { | |
| if(err) throw err |
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
| set nocompatible " be iMproved | |
| filetype off " required! | |
| set rtp+=~/.vim/bundle/vundle/ | |
| call vundle#rc() | |
| Bundle 'gmarik/vundle' | |
| Bundle 'tpope/vim-fugitive' | |
| Bundle 'jceb/vim-orgmode' | |
| Bundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim'} | |
| Bundle 'zeis/vim-kolor' | |
| Bundle 'gcmt/breeze.vim' |
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 request = require('request'); | |
| var cheerio = require('cheerio'); | |
| var Q = require('q'); | |
| var orm = require('orm'); | |
| function getVimPageUrl(page, perPage) { | |
| var showMe = perPage >>>0 || 20; | |
| var resultPtr = (page >>> 0 || 0) * showMe; | |
| var baseUrl = 'http://www.vim.org/scripts/script_search_results.php?'; |
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
| .highlight img { | |
| display: block; | |
| width: 160px; | |
| height: 160px; | |
| border-radius: 100%; | |
| } | |
| .highlight { | |
| width: 160px; |