Probably what you're looking for
[a]
Alternate (alternate version of the game, usually trying a different output method)[p]
Pirate
let loog = | |
console.loog = function(){ | |
Array.prototype.unshift.call( | |
arguments, loog ); | |
console.log.apply( console, arguments ); | |
}; |
// (*) All in the spirit of open-source and open-hardware | |
// Janost 2016 Sweden | |
// The Tiny-TS Touch Synthesizer | |
// https://janostman.wordpress.com/the-tiny-ts-diy-touch-synthesizer/ | |
// Copyright 2016 DSP Synthesizers Sweden. | |
// | |
// Author: Jan Ostman | |
// |
<?xml version="1.0"?> | |
<configuration> | |
<system.webServer> | |
<httpRedirect enabled="true" destination="http://foo.com/newdir" httpResponseStatus="Permanent" /> | |
</system.webServer> | |
</configuration> | |
<?xml version="1.0"?> | |
<configuration> | |
<system.webServer> |
#!/bin/bash | |
# | |
# Prints all hooks in a dir to a .log file. | |
# | |
# Permissions issues: | |
# run: chmod +x gethooks | |
# | |
# gist: https://gist.github.com/ramiabraham/e8356e00130351ddcbe2c62125e6c52a | |
# | |
# Easy usage: |
Get all public gists by EAL; https://gist.github.com/ericandrewlewis.
## Colours and font styles | |
## Syntax: echo -e "${FOREGROUND_COLOUR}${BACKGROUND_COLOUR}${STYLE}Hello world!${RESET_ALL}" | |
# Escape sequence and resets | |
ESC_SEQ="\x1b[" | |
RESET_ALL="${ESC_SEQ}0m" | |
RESET_BOLD="${ESC_SEQ}21m" | |
RESET_UL="${ESC_SEQ}24m" | |
# Foreground colours |
# Output in minutes: | |
START=$(date +%s) | |
END=$(date +%s) | |
DIFF=$(( $END - $START )) | |
DIFF=$(( $DIFF / 60 )) | |
echo DIFF | |
# Full output: | |
res1=$(date +%s.%N) |
<?php | |
/** | |
* Plugin Name: AffWP Custom Meta Box Example | |
* Plugin URI: https://affiliatewp.com | |
* Description: AffWP Custom Meta Box Example | |
* Author: AffiliateWP, LLC | |
* Author URI: https://affiliatewp.com | |
* Version: 1.0 | |
* Text Domain: affwp-custom-meta-box-example | |
* */ |
<?php | |
function rcp_add_affwp_affiliate_at_rcp_sub() { | |
$user_info = get_userdata(); | |
$user_id = $user_info->user_id; | |
$member = new RCP_Member( $user_id ); | |
$subscription_id = $member->get_pending_subscription_id(); |