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 "Finder" | |
tell the front Finder window | |
-- pobierz rozmiar aktywnego okna | |
set b to the bounds | |
-- poszerz okno do dużych rozmiarów | |
set the bounds to {item 1 of b, item 2 of b, 4000, item 4 of b} | |
-- przywróć pierwotny rozmiar okna | |
set the bounds to b | |
end tell | |
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
Tweetbot for Mac Super Secret Settings | |
You will need to use the Terminal app to change these settings: | |
# these all affect the text in a DM or new tweet - the default is yes for all of them | |
defaults write com.tapbots.TweetbotMac TextAutomaticQuoteSubstitution -bool NO | |
defaults write com.tapbots.TweetbotMac TextAutoCorrect -bool NO | |
defaults write com.tapbots.TweetbotMac TextContinuousSpellChecking -bool NO | |
defaults write com.tapbots.TweetbotMac TextAutomaticTextReplacement -bool NO |
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
import contacts | |
import webbrowser, urllib | |
DRAFTS_ACTION = "Kontakty" | |
VCARD = "" | |
people = contacts.get_all_people() | |
for person in people: | |
VCARD = VCARD + person.vcard |
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
import clipboard | |
import Image | |
import console | |
im1 = clipboard.get_image(idx=0) | |
im2 = clipboard.get_image(idx=1) | |
background = Image.new('RGBA', (1300,1136), (255, 255, 255, 255)) | |
def main(): |
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 run argv | |
-- translate the Alfred query to text | |
set sArgv to argv as text | |
-- prepare some items | |
set l_Files to {} | |
set sResult to "" | |
-- tab indicates multiple files | |
if sArgv contains tab then | |
set {TID, text item delimiters} to {text item delimiters, tab} | |
set l_Files to text items of sArgv |
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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
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
/* | |
Ratings Stars | |
(with as little code as possible) | |
*/ | |
.rating { | |
unicode-bidi: bidi-override; | |
direction: rtl; | |
text-align: center; | |
} | |
.rating > span { |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, blue, yellow); | |
min-height:100%; |