Skip to content

Instantly share code, notes, and snippets.

View thefotios's full-sized avatar
💭
definitely snacking

Fotios Lindiakos thefotios

💭
definitely snacking
View GitHub Profile
@thefotios
thefotios / Faraday.md
Last active December 30, 2015 09:49 — forked from hemanth/Faraday.md

HTTP client library is so convenient Faraday of Ruby

Faraday's so convenient Ruby HTTP client library

The development of the API wrapper [RestClient gem] or I [rest_client_gem]
What you need for OAuth was using [Net / HTTP] [net_http] + [OAuth gem] the [oauth_gem]

After reading the source of the API library [Twitter gem] and [twitter_gem] [Instagram gem] such as [instagram_gem]
Thing [Faraday gem] that [faraday_gem] had been commonly used

@thefotios
thefotios / install_mosh.sh
Created July 17, 2012 19:44 — forked from eerohele/mosh-cygwin.md
Compiling Mosh (http://mosh.mit.edu/) under Cygwin
#!/usr/bin/env bash
fetch_and_install(){
# Make a temporary directory for all installation files
OUT=$(mktemp /tmp/mosh_install.XXX) || { echo "Failed to create temp file"; exit 1; }
pushd $OUT > /dev/null
curl -o package.tar.gz $1
tar xvzf package.tar.gz /tmp/ -C package
pushd package > /dev/null
./configure $2