I hereby claim:
- I am Cosmicist on github.
- I am cosmicist (https://keybase.io/cosmicist) on keybase.
- I have a public key whose fingerprint is 253C 1968 6A34 0457 043E 86B1 28F2 3987 953D A25C
To claim this, I am signing this object:
// create a bookmark and use this code as the URL, you can now toggle the css on/off | |
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
javascript: (function() { | |
var styleEl = document.getElementById('css-layout-hack'); | |
if (styleEl) { | |
styleEl.remove(); | |
return; | |
} | |
styleEl = document.createElement('style'); | |
styleEl.id = 'css-layout-hack'; |
I hereby claim:
To claim this, I am signing this object:
<!-- | |
1. Download the Android Jelly Bean fonts and the Symbola font: | |
https://www.dropbox.com/s/tvtzcnzkvbe0nrt/jelly-bean-fonts.zip | |
http://users.teilar.gr/~g1951d/Symbola707.zip | |
2. unzip the files and put AndroidEmoji.ttf and Symbola.ttf (and any of the other fonts that strike your fancy) | |
in your ~/.fonts/ directory | |
3. run `fc-cache -f`. You can check to make sure the new fonts | |
were installed with `fc-list`. You'll probably want to grep the copious output for Symbola or Emoji |
# To Setup: | |
# 1) Save the .git-completion.bash file found here: | |
# https://github.com/git/git/blob/master/contrib/completion/git-completion.bash | |
# 2) Add the following lines to your .bash_profile, be sure to reload (for example: source ~/.bash_profile) for the changes to take effect: | |
# Git branch bash completion | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
# Add git completion to aliases |
var Scroller = function(anchors, config) | |
{ | |
var cfg = compile({ | |
duration: 1000, | |
offset: 0, | |
easing: Scroller.easing.inOutQuad, | |
callback: function() {} | |
}, config); | |
[].forEach.call(anchors, function(anchor) { |
<?php | |
namespace %namespace%; | |
use PhpSpec\Laravel\LaravelObjectBehavior as ObjectBehavior | |
use Prophecy\Argument; | |
class %name% extends ObjectBehavior | |
{ | |
function it_is_initializable() |
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
#! /usr/bin/python | |
from sys import argv | |
from os.path import exists | |
from os import makedirs | |
from os import symlink | |
from os import system | |
import getopt | |
# |
PROMPT='%{$fg_bold[grey]%}%n%p:%{$fg[green]%}%~ %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%} | |
%{$fg_bold[red]%}➜ %{$reset_color%} ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="{" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}} %{$fg[red]%}×%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}} %{$fg[green]%}✓%{$reset_color%}" |
git branch newbranch | |
git reset --hard HEAD~3 | |
git checkout newbranch |