This guide assumes a fresh install of Mac OSX 10.7 Lion.
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
"""A basic database set-up for Travis CI. | |
The set-up uses the 'TRAVIS' (== True) environment variable on Travis | |
to detect the session, and changes the default database accordingly. | |
Be mindful of where you place this code, as you may accidentally | |
assign the default database to another configuration later in your code. | |
""" | |
import os |
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
<!doctype html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes"> | |
<title>google-signin Demo</title> | |
<script src="platform/platform.js"></script> | |
<link rel="import" href="google-signin/google-signin.html"> |
- http://ponyfoo.com/
- http://www.2ality.com/ (acá aprendí ECMAScript 6)
- http://addyosmani.com/blog
- http://rmurphey.com/
- https://alexsexton.com/
- http://carlosazaustre.es/blog/
- http://christianheilmann.com/
- http://dailyjs.com/ (este junta articulos muy buenos de otros blogs, muy bueno para conocer más blogs de a poco)
- http://davidwalsh.name/
- http://ariya.ofilabs.com/
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
repeat | |
if application "Spotify" is running then | |
tell application "Spotify" | |
set seenTrack to "" | |
repeat while player state is playing | |
if player state is playing then | |
set theAlbum to album of the current track | |
set theTrack to name of the current track | |
set theArtist to artist of the current track | |
set trackLength to duration of current track |
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
# Automated AMI and Snapshot Deletion | |
# | |
# @author Bobby Kozora | |
# | |
# This script will search for all instances having a tag named "Backup" with a value of "Backup". | |
# As soon as we have the instances list, we loop through each instance | |
# and reference the AMIs of that instance. We check that the latest daily backup | |
# succeeded then we store every image that's reached its DeleteOn tag's date for | |
# deletion. We then loop through the AMIs, deregister them and remove all the | |
# snapshots associated with that AMI. |
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
package com.github.aurae.notifications; | |
import android.app.Notification; | |
import android.os.Bundle; | |
import android.support.v4.app.NotificationManagerCompat; | |
import android.support.v7.app.AppCompatActivity; | |
public class MyActivity extends AppCompatActivity { | |
@Override protected void onCreate(Bundle savedInstanceState) { |
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
// BrowserRouter is the router implementation for HTML5 browsers (vs Native). | |
// Link is your replacement for anchor tags. | |
// Route is the conditionally shown component based on matching a path to a URL. | |
// Switch returns only the first matching route rather than all matching routes. | |
import { | |
BrowserRouter as Router, | |
Link, | |
Route, | |
Switch, | |
} from 'react-router-dom'; |
OlderNewer