Skip to content

Instantly share code, notes, and snippets.

View pocotan001's full-sized avatar
:shipit:
π’…ƒ

Hayato Mizuno pocotan001

:shipit:
π’…ƒ
View GitHub Profile
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@gre
gre / easing.js
Last active July 11, 2025 12:47
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
@aemkei
aemkei / LICENSE.txt
Last active March 7, 2025 20:08 — forked from 140bytes/LICENSE.txt
Binary Tetris - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@dmethvin
dmethvin / gist:1676346
Created January 25, 2012 13:51
Breakpoint on access to a property
function debugAccess(obj, prop, debugGet){
var origValue = obj[prop];
Object.defineProperty(obj, prop, {
get: function () {
if ( debugGet )
debugger;
return origValue;
},
@dupuy
dupuy / README.rst
Last active June 4, 2025 14:19
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

@kevinSuttle
kevinSuttle / meta-tags.md
Last active May 30, 2025 13:08 — forked from lancejpollard/meta-tags.md
List of Usable HTML Meta and Link Tags
οΌΌγ€€γ€€ γ€€γ€€γ€€γ€€ γ€€γ€€γ€€γ€€γ€€γ€€γ€€οΏ€γ€€γ€€γ€€γ€€γ€€γ€€ γ€€ /
γ€€ οΌΌγ€€γ€€γ€€γ€€γ€€ γ€€γ€€γ€€γ€€γ€€γ€€γ€€οΏ€γ€€γ€€γ€€γ€€γ€€ γ€€ /
             / ̄ ̄ ヽ,
γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€/γ€€γ€€γ€€γ€€γ€€ γ€€ ',γ€€γ€€γ€€γ€€γ€€γ€€/γ€€γ€€ γ€€γ€€οΌΏ/\/\/\/|οΌΏ
γ€€γ€€γ€€ οΌΌγ€€γ€€γ€€ οΎ‰//, {0}γ€€ /Β¨`ヽ {0}γ€€,ミヽ  γ€€ /γ€€ γ€€γ€€ οΌΌγ€€γ€€        /
γ€€γ€€γ€€γ€€γ€€οΌΌ οΌγ€€γγ€€ο½Œγ€€γ€€ ヽ._.γƒŽγ€€γ€€γ€€', ゝ \    γ€€γ€€ οΌœγ€€γ€€ IE γƒγƒΌγ‚«οΌγ€€γ€€οΌž
     / οΌβŒ’γ€€οΎ˜γ€€γ€€γ€€ο½€γƒΌ'β€²γ€€γ€€ ' βŒ’οΌΌ \    /  γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€οΌΌ
γ€€γ€€γ€€γ€€γ€€(γ€€γ€€οΏ£οΏ£βŒ’γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€βŒ’οΏ£γ€€οΌΏ)γ€€γ€€γ€€οΏ£|/\/οΌΌ/οΌΌ/οΏ£
      ` ̄ ̄`ヽ           /Β΄οΏ£
γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€|γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€γ€€ γ€€ | γ€€
@erikh
erikh / hack.sh
Created March 31, 2012 07:02 — forked from DAddYE/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@lg0
lg0 / markdown.xml
Created April 10, 2012 19:58
Markdown Syntax Highlighting for Sublime text 2
<!-- copy this to YOUR_THEME.tmTheme-->
<dict>
<key>name</key>
<string>diff: deleted</string>
<key>scope</key>
<string>markup.deleted</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#EAE3CA</string>
@theconektd
theconektd / github.css
Created April 30, 2012 02:11
Github Markdown CSS - for Markdown Editor Preview
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {