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 oldId to "" | |
repeat | |
set currentId to getTrackId() | |
if oldId is not currentId then | |
displayNotification() | |
end if | |
set oldId to currentId | |
write_to_file(getTrackName() & ":" & getTrackPosition(), (path to desktop as text) & getTrackArtistAlbumFilename(), false) | |
delay 1 | |
end repeat |
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
1) First you need to generate download token. Login to your account on magento.com and generate it in Account Settings->Downloads Access Token | |
2) You will need your MAGEID as well. It is shown at the top-left in your account page. | |
3) curl -k https://MAGEID:[email protected]/products/downloads/info/help | |
4) Profit! |
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
TARGETFOLDER="/usr/local/bin" | |
sudo curl -sSo $TARGETFOLDER/modman https://raw.github.com/colinmollenhour/modman/master/modman && sudo chmod +x $TARGETFOLDER/modman | |
sudo curl -sSo $TARGETFOLDER/n98-magerun.phar https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar && sudo chmod +x $TARGETFOLDER/n98-magerun.phar | |
sudo curl -sSo $TARGETFOLDER/phpunit.phar https://phar.phpunit.de/phpunit.phar && sudo chmod +x $TARGETFOLDER/phpunit.phar | |
sudo curl -sSo $TARGETFOLDER/phploc.phar https://phar.phpunit.de/phploc.phar && sudo chmod +x $TARGETFOLDER/phploc.phar | |
sudo curl -sS https://getcomposer.org/installer | php -- --install-dir=$TARGETFOLDER |