This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible-playbook -i inventory main.yml --check -c local | |
PLAY [Ansible child group test] ************************************************ | |
TASK [debug] ******************************************************************* | |
ok: [host01] => (item=host02) => { | |
"item": "host02", | |
"msg": "nl" | |
} | |
ok: [host02] => (item=host02) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a companion script to https://github.com/konstantin-kelemen/arduino-amiibo-tools | |
# For more info go to https://games.kel.mn/en/create-amiibo-clones-with-arduino/ | |
#requirements: | |
#sha1sum (part of coreutils) | |
#xxd (part of vim) | |
#hexdump | |
#amiitool (https://github.com/socram8888/amiitool) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VMID=$1 | |
OSVER=$2 | |
SKIPDOWNLOAD=$3 | |
if [ "$OSVER" == "cleanall" ]; then | |
echo "Cleaning" | |
rm -rf /home/work/rootvm/unpacked/vm$VMID | |
rm -rf /home/work/rootvm/vzdump-openvz-$VMID*.tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for homebrew/fuse/encfs on macOS 10.12.2 | |
Build date: 2017-01-09 21:16:52 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- php-5.2.17/ext/dom/node.c 2012-08-06 17:49:48.826716692 +0800 | |
+++ php-5.2.17/ext/dom/node.c 2012-08-06 17:52:47.633484660 +0800 | |
@@ -1895,9 +1895,17 @@ static void dom_canonicalization(INTERNA | |
RETVAL_FALSE; | |
} else { | |
if (mode == 0) { | |
+#ifdef LIBXML2_NEW_BUFFER | |
+ ret = xmlOutputBufferGetSize(buf); | |
+#else | |
ret = buf->buffer->use; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur memcached-2.2.0/php_memcached.c memcached-2.2.0-patched/php_memcached.c | |
--- memcached-2.2.0/php_memcached.c 2014-04-01 10:23:39.000000000 +0000 | |
+++ memcached-2.2.0-patched/php_memcached.c 2016-11-22 14:24:06.648566336 +0000 | |
@@ -339,15 +339,11 @@ | |
{ | |
char *buffer = NULL; | |
- if (fci->object_ptr) { | |
- spprintf (&buffer, 0, "%s::%s", Z_OBJCE_P (fci->object_ptr)->name, fci_cache->function_handler->common.function_name); | |
- } else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----> Starting Kitchen (v1.13.2) | |
-----> Creating <default-centos-72>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'bento/centos-7.2'... | |
[KProgress: 20% | |
[KProgress: 50% | |
[KProgress: 70% | |
[KProgress: 90% | |
[K==> default: Matching MAC address for NAT networking... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Start mobile redirection code | |
# see https://gist.github.com/dangayle/2919206 and https://jyunderwood.com/2012/08/mobile-redirection-with-nginx/ for details | |
# set $mobile_request variable | |
set $mobile_request false; | |
if ($http_user_agent ~* "^(1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(droid.+mobile|ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|av(an|antgo)|bada\/|be(ck|ll|nq)|bi(lb|rd)|bla(c|ckberry|z|zer)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|mpal|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|elaine|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fe(nnec|tc)|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ptop|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|iemobile|ig01|ikom|im1k|inno|ip(hone|od|aq)|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|kindle|klon|kpt |kwc\-|kyo(c|k)|le( |