Skip to content

Instantly share code, notes, and snippets.


Ribhararnus Pracutian oknoorap

Block or report user

Report or block oknoorap

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
flyingluscas /
Last active Jul 25, 2019
Installing Popcorn Time on Ubuntu 16.x

1. Downloading

32 bits version

$ wget -O popcorntime.tar.xz

64 bits version

Arinerron / permissions.txt
Last active Dec 12, 2019
A list of all Android permissions...
View permissions.txt
forairan /
Last active Nov 21, 2019
This snippet of code is syntactically valid in both PHP and Java, and produces the same output in both.
//*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s",
class PhpJava {
static function main() {
"Hello World!");
ourmaninamsterdam / LICENSE
Last active Dec 11, 2019
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
CrocoDillon / cookies.js
Last active Oct 8, 2019
Export your awesome module using AMD, CommonJS, Node.js or just as global.
View cookies.js
* Inspiration (well… copy pasting more or less) from:
* Thanks Scott!
(function (global) {
'use strict';
var MyModule = function () {
rxaviers / gist:7360908
Last active Dec 15, 2019
Complete list of github markdown emoji markup
View gist:7360908


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
cobyism /
Last active Dec 10, 2019
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

ndarville /
Last active Dec 7, 2019
Business models based on the compiled list at I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models


Models Examples
Display ads Yahoo!
Search ads Google

Create Git Mirror from SVN Repository

This guide will demonstrate how to mirror an SVN into a Git repo. You're the target audience if you're an SVN user, just getting started with Git and need to coax your project team over to Git.

The branching scenario has been simplified for clarity.


mebens / camera.lua
Created May 8, 2011
Example code for part 3 of my Cameras in Love2D tutorial series.
View camera.lua
camera = {}
camera._x = 0
camera._y = 0
camera.scaleX = 1
camera.scaleY = 1
camera.rotation = 0
function camera:set()
You can’t perform that action at this time.