I hereby claim:
- I am dprevite on github.
- I am dprevite (https://keybase.io/dprevite) on keybase.
- I have a public key whose fingerprint is A98D 75AB D814 79AD 11E9 BE13 B7B8 013A 8498 380A
To claim this, I am signing this object:
<?php | |
function parse() { | |
$special = [ | |
'[' => ']', | |
'{' => '}', | |
'(' => ')' | |
]; | |
$string = str_split('(())'); |
#!/bin/sh | |
# Ask for the administrator password upfront | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until script has finished | |
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & | |
# Set the colours you can use | |
black='\033[0;30m' |
I hereby claim:
To claim this, I am signing this object:
# https://github.com/mar10/tabfix | |
sudo pip install -U tabfix | |
tabfix --input-tab-size=2 -r --match="*.html" -v target_dir/ |
<?php | |
/** | |
* Search forward starting from end minus needle length characters | |
* | |
* @param string $haystack The string to search within | |
* @param string $needle The string to search for | |
* | |
* @return boolean | |
**/ |
#!/bin/sh | |
export PATH="/usr/bin/ruby:$PATH" | |
lolcommits --capture --delay=3 --animate=8 | |
slackup "#lolcommits" "$(ls ~/.lolcommits/${PWD##*/}/$(git rev-parse HEAD | cut -c1-11).*)" & |
find . -type f -iname '*.php' -not -path "./vendor/*" -exec bash -c 'echo $0 && expand -t 2 -i "$0" >"$0.expand.tmp" && mv "$0.expand.tmp" "$0"' {} \; |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
source ~/.zshrc
or source ~/.bashrc
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
.expando-button, .thing .expando-button.image, .thing div.expando-button, .thing div.expando-button.collapsed { | |
margin: 2px 5px 2px 0; | |
height: 23px!important; | |
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zd…gxPSIxNi41IiB5MT0iMTguNzUiIHgyPSIyMSIgeTI9IjE4Ljc1IiAvPgoJPC9nPgo8L3N2Zz4=); | |
} |