Skip to content

Instantly share code, notes, and snippets.

Eli eliellis

Block or report user

Report or block eliellis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am eliellis on github.
  • I am ellis (https://keybase.io/ellis) on keybase.
  • I have a public key whose fingerprint is 9F33 74FB 7710 8267 B4C7 FE8D 1820 5725 CB67 4169

To claim this, I am signing this object:

View keybase
### Keybase proof
I hereby claim:
* I am eliellis on github.
* I am ellis (https://keybase.io/ellis) on keybase.
* I have a public key whose fingerprint is A096 04FB 9CF9 B076 B8BA 1D94 6662 F1EA DB1E 62E0
To claim this, I am signing this object:
@eliellis
eliellis / C.sublime-build
Created May 26, 2013
Sublime build settings for .c files
View C.sublime-build
{
"cmd": ["clang", "${file}", "-o", "${file_path}/${file_base_name}.o"],
"selector": "source.c",
"variants":
[
{
"name": "Run",
"cmd": ["bash", "-c", "clang '${file}' -o '${file_path}/${file_base_name}.o' && '${file_path}/${file_base_name}.o'"]
}
]
@eliellis
eliellis / dabblet.css
Created Jan 13, 2013 — forked from lensco/dabblet.css
box-shadow vs filter: drop-shadow 2
View dabblet.css
/**
* box-shadow vs filter: drop-shadow 2
*/
body{
background: lightblue;
font: 16px sans-serif;
margin: 50px;
}
@eliellis
eliellis / screener.js
Created Dec 31, 2012
Screen scraper for nodejs that uses cheerio and request
View screener.js
var request = require('request'),
http = require('http'),
url = require('url'),
async = require('async');
cheerio = require('cheerio');
function testElement(string){
var tester = new RegExp(string, 'g');
if(tester.test($(this).attr('class')) || tester.test($(this).attr('id'))){
return true;
View regex.php
((https?:\/\/|ftp:\/\/)|www\.|ftp\.)([\w\.\-A-Z0-9+&@#\/%=~_|$?])+
You can’t perform that action at this time.