I hereby claim:
- I am ivuorinen on github.
- I am ivuorinen (https://keybase.io/ivuorinen) on keybase.
- I have a public key whose fingerprint is 2ACD 5CFD 6298 A83B 16D9 DBCD 7D19 3B92 F274 2794
To claim this, I am signing this object:
| # Remove files from your specified path. | |
| git filter-branch --force --index-filter 'git rm --cached -r --ignore-unmatch dir/with/large/files/*' --prune-empty --tag-name-filter cat -- --all | |
| rm -rf .git/refs/original/ && git reflog expire --expire=now --all && git gc --prune=now && git gc --aggressive --prune=now |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>heartrain</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
| <script> | |
| if(!image_urls) { | |
| var image_urls = Array() | |
| } | |
| if(!flash_urls) { |
| #!/usr/bin/env bash | |
| # Laravel Homestead | |
| # Enable xdebug on all PHP versions (cli) | |
| # Best place for this is in the user-customizations.sh in the Homestead folder | |
| PHPV=$(ls /etc/php/) | |
| for i in ${PHPV[@]}; do | |
| if [ ! -f /etc/php/$i/cli/conf.d/20-xdebug.ini ]; then | |
| sudo ln -s /etc/php/$i/mods-available/xdebug.ini /etc/php/$i/cli/conf.d/20-xdebug.ini | |
| fi |
| /** | |
| * sleep(1000).then(function () { console.log('zzZZzzZZ...'); }); | |
| * | |
| * @author gsamaras <https://stackoverflow.com/a/951057/594940> | |
| * @param {Integer} ms | |
| * @returns {Promise} | |
| */ | |
| window.sleep = function sleep(ms) { | |
| return ( | |
| new Promise(function (resolve, reject) { |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /** | |
| * makeSafeEntities() | |
| * | |
| * Convert str to UTF-8 (if not already), then convert that to HTML named | |
| * entities and numbered references. | |
| * Compare to native htmlentities() function. Unlike that function, | |
| * this will skip any already existing entities in the string. | |
| * | |
| * - mb_convert_encoding() doesn't encode ampersands, so use |
| #!/bin/bash | |
| # Ismo Vuorinen <ismo@ivuorinen.net>, 2014 | |
| SCRIPTNAME=`basename $0` | |
| # If no directory is given, work in local dir | |
| if [ "$1" = "" ]; then | |
| DIR="." | |
| else | |
| DIR="$1" |
| User-agent: * | |
| Disallow: / |
| <?php | |
| /** | |
| * debug | |
| * a magical function to use in your code | |
| * | |
| * @author Ismo Vuorinen <https://github.com/ivuorinen> | |
| * | |
| * @param mixed $thing The thing you want to see | |
| * @param bool $echo Should we return or echo the output [default: false] |
| $obj = 0-> | |
| title-> Koko | |
| options-> l = L | |
| xl = XL | |
| xxl = XXL | |
| 1-> | |
| title-> Väri | |
| options-> musta = Musta | |
| vihrea = Vihreä |