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
<script> | |
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; | |
ga('create', 'UA-xxxxxxx-x', { 'storage': 'none' }); | |
ga('require', 'autotrack'); | |
ga('send', 'pageview'); | |
ga('set', 'anonymizeIp', true); | |
</script> | |
<script async src='//www.google-analytics.com/analytics.js'></script> | |
<script async src='…/js/autotrack.js'></script> // autotrack.js https://github.com/googleanalytics/autotrack |
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
var root = app.activeDocument; | |
var result = getStyleByString(root, "Formatgruppe 2:Form\\:atgruppe 1:Zeichen\\:\\:format 1", "characterStyles"); | |
$.bp(); | |
function getStyleByString(root, string, property) { | |
stringResult = string.match (/^(.*?[^\\]):(.*)$/); | |
var cStyleName = (stringResult) ? stringResult[1] : string; | |
cStyleName = cStyleName.replace (/\\:/g, ":"); | |
remainingString = (stringResult) ? stringResult[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
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
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 | |
SWIFT=$(/usr/bin/env xcrun -f swift) | |
SCRIPTPATH=$1 | |
COMPILEDPATH="$SCRIPTPATH.o" | |
SDKPATH=$(/usr/bin/env xcrun --show-sdk-path --sdk macosx) | |
#compile if necessary |
NewerOlder