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
const { | |
aceVimMap, | |
mapkey, | |
imap, | |
imapkey, | |
getClickableElements, | |
vmapkey, | |
map, | |
unmap, |
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
-- Pipedrive smart data collection only works on emails labeled as "Work" so I changed all labels to Work. | |
tell application "Contacts" | |
activate | |
set (label of emails of people whose label is not "Work") to "Work" | |
save | |
end tell |
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
on alfred_script(q) | |
set startIt to false tell application "System Events" if not (exists process "kitty") then set startIt to true else if not (frontmost of process "kitty") then set frontmost of process "kitty" to true set visible of process "kitty" to true tell application "System Events" to key code 126 using {option down, command down} end if end tell if startIt then tell application "kitty" to activate end if | |
end alfred_script |
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
tell application "Contacts" | |
set theGroupNames to name of groups | |
repeat with i from 1 to number of items in theGroupNames | |
try | |
set groupName to item i of theGroupNames | |
set theGroup to group groupName | |
delete theGroup | |
on error | |
exit repeat | |
end try |
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
tell application "Microsoft Lync" | |
activate | |
end tell | |
tell application "System Events" | |
tell process "Microsoft Lync" | |
tell menu bar 1 | |
tell menu bar item "Status" | |
tell menu "Status" | |
click menu item "Be Right Back" |
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
set clickDelay to 0.3 | |
set abbreviationList to {} | |
set snippetsList to {} | |
set disallowedGroups to {"AutoCorrect", "AutoCorrect Deutsch Snippets", "AlteNeue Rechtschreibung", "Deutsche Akronyme"} | |
set disallowedSnippetContents to {"%e", "%d", "%a", "%A", "%m", "%1m", "%b", "%B", "%y", "%Y", "%H", "%I", "%1H", "%1I", "%M", "%1M", "%S", "%1S", "%p", "%@+", "%@-", "%key:", "%clipboard", "%|", "%<", "%^", "%>", "%v", "%-", "%+", "%fill:", "%fillpart:", "%filltext:", "%fillpopup:", "%fillarea:"} | |
-- open the Text tab of Keyboard preferences | |
tell application "System Preferences" | |
activate | |
delay 5 |
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
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
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 f in `ls ~/.rvm/bin/ | grep -G "rvm" -v`; do ln -sF $f; 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
#!/bin/bash -ex | |
cd $WORKSPACE | |
virtualenv -q ve | |
source ./ve/bin/activate | |
pip install -E ./ve -r requirements.txt | |
pip install -E ./ve -r requirements-testing.txt | |
cd $WORKSPACE/projectname | |
ln -fs `pwd`/conf/testsettings.py `pwd`/localsettings.py | |
python manage.py migrate | |
python manage.py jenkins |