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:
<!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 <[email protected]>, 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ä |
<?php | |
/* | |
Plugin Name: Email Obfuscation Shortcode | |
Plugin URI: https://gist.github.com/1424515 | |
Description: Shortcode for including emails into content and keeping spambots clueless. [obf email="[email protected]" noscript="what's shown to bots/people without javascript"] | |
Version: 0.1 | |
Author: Ismo Vuorinen | |
Author URI: http://github.com/ivuorinen | |
*/ |