Skip to content

Instantly share code, notes, and snippets.

View hiway's full-sized avatar

Harshad Sharma hiway

View GitHub Profile
--allow-unverified PIL
--allow-unverified bar
PIL==1.0
foo=2.0 # Implicitly depends on bar, which requires an unverified
%:
convert postit-blank.png -draw "text 25, 60 $(filter-out $@,$(MAKECMDGOALS))" -pointsize 40 | lp
@eignatov
eignatov / install.sh
Created January 26, 2016 13:48 — forked from sergeyklay/install.sh
Install Nginx with Nchan
#!/usr/bin/env bash
# Works fine on Ubuntu 14.0.4 LTS
NGINX_VERSION="1.9.9"
NCHAN_VERSION="0.97"
HEADERS_MORE_VERSION="0.29"
DEV_KIT_VERSION="0.2.19"
ECHO_VERSION="0.58"
FANCY_INDEX_VERSION="0.3.5"
@zygiss
zygiss / ipv6_ping
Last active January 31, 2017 02:07
Configuring IPv6 on FreeBSD at Hetzner
ping6 -c 3 ietf.org
PING6(56=40+8+8 bytes) 2001:db8:dead:beef::1 --> 2001:1900:3001:11::2c
16 bytes from 2001:1900:3001:11::2c, icmp_seq=0 hlim=50 time=169.853 ms
16 bytes from 2001:1900:3001:11::2c, icmp_seq=1 hlim=50 time=172.739 ms
16 bytes from 2001:1900:3001:11::2c, icmp_seq=2 hlim=50 time=166.899 ms
--- ietf.org ping6 statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 166.899/169.830/172.739/2.384 ms
@luckymike
luckymike / itunes.sh
Created December 8, 2012 18:01 — forked from rkumar/itunes.sh
control iTunes from command line
#!/bin/sh
#
#########################################
# iTunes Command Line Control v1.1
# written by David Schlosnagle
# created 2001.11.08
# edit 2010.06.01 rahul kumar
# edit 2012.12.08 Michael F. Weinberg
#########################################
@AlexSwensen
AlexSwensen / raspbian-python3.6.rst
Last active May 23, 2017 17:44 — forked from dschep/raspbian-python3.6.rst
Installing Python 3.6.1 on Raspbian

Installing Python 3.6.1 on Raspbian =================================

As of January 2017, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it.

  1. Install the required build-tools (some might already be installed on your system).

Found: master for mfornos/awesome-microservices — A curated list of Microservice Architecture related principles and technologies. — 445⭐️ — last updated 6 days ago
🔎 Checking 303 links
⚪ https://netflix.github.io/
⚪ http://twitter.github.io/finagle
⚪ http://gin-gonic.github.io/gin/
⚪ http://clojure-liberator.github.io/liberator/
⚪ https://dropwizard.github.io/
⚪ http://twitter.github.io/finatra/
⚪ https://mesosphere.github.io/marathon/
⚪ http://kr.github.io/beanstalkd/
@developit
developit / compositional-components-demo.js
Created January 7, 2017 22:44
Demonstrates compositional components in Preact (or React). Live demo: https://jsfiddle.net/developit/umnb4y87/
import { h, cloneElement, Component } from 'preact';
/** Example <Fetch url="/foo.json" /> compositional component.
* Just to demonstrate a compositional component that requires input massaging.
*/
class Fetch extends Component {
state = { loading: true };
componentDidMount() {
this.update();
@squarism
squarism / happy_golang_libraries.md
Last active November 4, 2017 08:57
Happy Time Golang Libraries

Happy Time Go Libraries.

Another curated list like awesome-go.
Not complete. Not authoritative. Not cupcake.
Send suggestions: @squarism :)
☆ = Github stars (in November 2016)


Adapters and Drivers

@toomasv
toomasv / regex.red
Last active November 20, 2017 18:22
Regex to parse translator
Red [
Author: "Toomas Vooglaid"
file: "%regex.red"
Purpose: {Regex to parse converter}
History: {Started: 2017-05-09
v.0.1: 2017-05-12 -- first working version with:
start `^^` and end `$` anchors,
non-capturing groups (one level) with alterns,
quantifiers (possessive),
some character-classes.