Skip to content

Instantly share code, notes, and snippets.

Edgar Hipp edi9999

Block or report user

Report or block edi9999

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 image.resize.in.github.flavored.markdown.md

Image source

https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png

Try resize it!

  • ![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)
View image.resize.in.github.flavored.markdown.md

Image source

https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png

Try resize it!

  • ![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)
@edi9999
edi9999 / .vimrc
Last active Mar 13, 2016
.vimrc bug
View .vimrc
set nocompatible " be iMproved, required
" ----------------------------------------------------------------------------
" Vim SETTINGS
" ----------------------------------------------------------------------------
syntax enable
let mapleader = ','
set synmaxcol=400
View fzf-error.js
"use strict";
var yeoman = require("yeoman-generator");
var helpers = require("yeoman-test");
var P = require("bluebird");
var R = require("ramda");
var path = require("path");
var caches = [];
var id, cache;
View morpion.js
var express = require('express');
var app = express();
var games=[];
var pendingGames = []
var activeGames = []
var getActiveGameById = function(id){
return activeGames.filter(function(game){
View email_fetching.py
from lxml.html import clean
import argparse
import datetime
import imaplib
import getpass
import json
import pyzmail.parse
View gist:d73ad6704ead7eed3b47
var P = require("bluebird");
var request = require("request");
var requestAsync = P.promisify(request, {multiArgs: true});
request("https://example.org")
var foo = requestAsync("https://example.org").catch(function (err) {
return urls;
console.log(err);
View swatch.bash
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
NORMAL=$(tput sgr0)
swatch() {
[ -a /tmp/swatch ] || touch /tmp/swatch
inotifywait -m -e close_write,moved_to --format %e/%f -r /tmp/swatch |
{ echo "hi" ; while IFS=/ read -r events file; do
echo "$file $events"
View yogamoves_export.js
doc = $('frame[name="mainFrame"]', top.document)[0].contentDocument;
$(doc).find("tr.scheduleRow").each(function(el){
obj = $(this).find("td").map(function(){return this.innerText});
teacher = encodeURIComponent(obj[4].replace("\n",""));
course = encodeURIComponent(obj[3].replace("\n",""));
date = obj[0].replace(/.* ([0-9]+)\/([0-9]+)\/([0-9]+)/,"$3$2$1");
time = parseInt(obj[1].replace(/([0-9]+):([0-9]+)/,"0$1$2"),10)
console.log(obj)
startT = date+"T"+pad(time,4) + "00"
View gist:2fcbffb14c707ac54609
<input checked="checked" type="checkbox" />
<input name="Check me" type="button" />
this.checked=true;
check(e){
this.checked=!this.checked;
}
You can’t perform that action at this time.