Skip to content

Instantly share code, notes, and snippets.

View jechav's full-sized avatar
🏠
Working from home

Jose Echavez M jechav

🏠
Working from home
View GitHub Profile
@kosiara
kosiara / setup_howto.txt
Last active April 21, 2017 03:42
Setup Facebook React-native sample (empty) project on Ubuntu
# author:
# @Bartosz Kosarzycki
#
sudo apt-get install npm
sudo npm install -g react-native-cli
sudo ln -s /usr/bin/nodejs /usr/bin/node
cd /home/user/your/project/path
react-native init AwesomeProject
cd AwesomeProject
@JorenSix
JorenSix / now_playing.osascript
Last active March 20, 2018 16:57
This osascript gets and returns the meta data of the track that is currently playing in Spotify on Mac OS X.
#!/usr/bin/osascript
#
# now_playing.osascript
#
# Osascript to fetch the meta data of the currently playing
# track in Spotify. This works only on Mac OS X.
tell application "System Events"
set myList to (name of every process)
end tell