Skip to content

Instantly share code, notes, and snippets.

View tigefa4u's full-sized avatar
📉
🚀 😧 ☕ 🚬

Sugeng Tigefa tigefa4u

📉
🚀 😧 ☕ 🚬
View GitHub Profile
@inversion
inversion / Hide_Facebook_Like_News.user.js
Last active August 29, 2015 14:05
Hide Facebook News feed entries which are random posts from friends' liked pages. They are matched by looking for the 'Like Page' button within a news feed entry. Instructions for adding user scripts to Chrome here: http://stackoverflow.com/questions/5258989/manually-adding-a-userscript-to-google-chrome or for Firefox use Greasemonkey. It's prob…
// ==UserScript==
// @name Hide Facebook 'Like' News
// @namespace uk.me.amoss
// @include /https?://www.facebook.com/.*/
// @version 1
// @grant none
// ==/UserScript==
// Configurable
var indicateInsteadOfHiding = false;
@zhiephie
zhiephie / repo
Created November 27, 2014 19:23
List repository with backbone js
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Yudi Purwanto - Web Developer</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.1.1/css/bootstrap.min.css" />
</head>
<body>
<div class="container">
<div class="profile"></div>
@BanzaiMan
BanzaiMan / .travis.yml
Created December 25, 2014 15:54
Test with Ruby 2.2.0 on Travis CI (until Ruby VM is updated)
language: ruby
before_install:
- rvm get stable
- rvm alias delete 2.2.0
- rvm use 2.2.0 --install
# … rest
desc 'Generate tags page'
task :tags do
puts "Generating tags..."
require 'rubygems'
require 'jekyll'
include Jekyll::Filters
options = Jekyll.configuration({})
site = Jekyll::Site.new(options)
site.read_posts('')
@mildred
mildred / transform_layouts.rb
Created December 13, 2011 15:55
Jekyll plugin to have layouts transformed by Converters as well, taken from https://github.com/mojombo/jekyll/pull/351
module Jekyll
class Layout
alias old_initialize initialize
def initialize(*args)
old_initialize(*args)
self.transform
end
@rodrigotolledo
rodrigotolledo / robot.js
Created December 7, 2012 03:45 — forked from glauberramos/robot.js
Dr. Dree
var Robot = function(robot) {
this.turnToRight = true;
this.invertedDirection = false;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
if(this.turnToRight == true) {
robot.turn(5);
@umidjons
umidjons / git-proxy.md
Created May 25, 2014 07:20
Proxy for Git

Set proxy for Git

Set:

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
git config --global https.proxy http://proxyuser:proxypwd@proxy.server.com:8080

Unset:

@haileys
haileys / sphinx.rb
Last active December 10, 2015 12:08 — forked from stefanoverna/sphinx.rb
require 'formula'
class Sphinx < Formula
url 'http://sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz'
homepage 'http://www.sphinxsearch.com'
md5 '7b9b618cb9b378f949bb1b91ddcc4f54'
head 'http://sphinxsearch.googlecode.com/svn/trunk/'
fails_with_llvm "fails with: ld: rel32 out of range in _GetPrivateProfileString from /usr/lib/libodbc.a(SQLGetPrivateProfileString.o)"
@salgadobreno
salgadobreno / markdown-tag.rb
Last active December 10, 2015 21:48 — forked from tmtk75/markdown-tag.rb
Markdown Tag for Jekyll
=begin
Jekyll tag to include Markdown text from _includes directory preprocessing with Liquid.
Usage:
{% markdown <filename> %}
Dependency:
- kramdown
=end
module Jekyll
class MarkdownTag < Liquid::Tag
def initialize(tag_name, text, tokens)
git clone https://github.com/tigefa4u/tigefa4u.github.io.git
cd tigefa4u.github.io
jekyll serve