This file contains hidden or 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
#!/usr/bin/env bash | |
# TYPO3 - Extension directory structure | |
# http://docs.typo3.org/typo3cms/CodingGuidelinesReference/FileSystemConventions/ExtensionDirectoryStructure/Index.html | |
# This directory structure is strongly recommended. Extensions may create their own directories (for example, move all | |
# language files into other directories). | |
# execute from: typo3conf/ext | |
if [ $# -eq 0 ] |
This file contains hidden or 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
// | |
// http://php.net/manual/en/tokens.php | |
// | |
// WARNING: This means that the concrete value of a token may change between two PHP versions. For example the T_FILE constant is 365 in | |
// PHP 5.3, while the same value refers now to T_TRAIT in PHP 5.4 and the value of T_FILE is 369. | |
// | |
-> php -r 'for ($i=200; $i<500; $i++){ if (token_name($i) !== "UNKNOWN") { echo $i . " " . token_name($i) . "\n"; } };' |
This file contains hidden or 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/sh | |
# Examples: | |
# ./fetch_ip.sh "" docker | |
# ./fetch_ip.sh "" lo | |
# ./fetch_ip.sh 192.168 | |
# ./fetch_ip.sh 192.168 eth1 | |
ifconfig | awk '{ | |
if ($0 ~ /Link encap:/ && $0 ~ /'$2'/) { |
This file contains hidden or 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
------------------------------------ | |
.git/config | |
------------------------------------ | |
[diff] | |
tool = ksdiff | |
[difftool "ksdiff"] | |
cmd = ksdiff \"$LOCAL\" \"$REMOTE\" | |
------------------------------------ |
NewerOlder