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
var x = document.querySelectorAll("li.music-grid-item > a:nth-child(1)"); | |
var i, text=""; | |
for (i = 0; i < x.length; i++) { | |
text += x[i] + "\n"; | |
} |
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
# .config/i3/config | |
set $mod Mod4 | |
set $alt Mod1 | |
font pango:Segoe UI 8 | |
# Use Mouse+$mod to drag floating windows to their wanted position | |
floating_modifier $mod | |
# class border backgr. text |
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
#!/usr/bin/env expect | |
set username your_vpn_username | |
set pass your_vpn_passwort | |
set host your.vpn.server | |
spawn snx -s ${host} -u ${username} | |
expect "Please enter your password:" { send "${pass}\r" } | |
interact |
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
:%s/t3lib_div/\\TYPO3\\CMS\\Core\\Utility\\GeneralUtility/g | |
:%s/t3lib_extMgm/\\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility/g | |
:%s/Tx_Extbase_Utility_Extension/\\TYPO3\\CMS\\Extbase\\Utility\\ExtensionUtility/g |
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
### Keybase proof | |
I hereby claim: | |
* I am thegass on github. | |
* I am ssag (https://keybase.io/ssag) on keybase. | |
* I have a public key whose fingerprint is E2CF 14AA 8A81 E671 F787 4F19 4057 A6A0 11D3 3FA5 | |
To claim this, I am signing this object: |
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
for DIR in $(ls typo3temp/Cache); do | |
mv typo3temp/Cache/${DIR} typo3temp/Cache/${DIR}_old && rm -rf typo3temp/Cache/${DIR}_old && mkdir typo3temp/Cache/${DIR}; | |
done |
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
# enforce mandatory plugins | |
plugins = { | |
'vagrant-hostmanager' => nil, | |
'vagrant-vbguest' => nil | |
} | |
plugins.each do |plugin, version| | |
unless Vagrant.has_plugin? plugin | |
error = "The '#{plugin}' plugin is not installed! Try running:\nvagrant plugin install #{plugin}" | |
error += " --plugin-version #{version}" if version |
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
40 = IMG_RESOURCE | |
40 { | |
file { | |
import.cObject = USER | |
import.cObject { | |
userFunc=tx_dam_tsfe->fetchFileList | |
refField= pages_opengraph_image | |
refTable= pages | |
refUid = TSFE:id | |
listNum = 0 |
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
find . -name .svn -type d -exec svn upgrade {}/../ \; |