git --prune
cleans up remote and local branches
git branch -a
list all local and remote branches
| function toRoman(n) { | |
| var r = '', | |
| decimals = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1], | |
| roman = ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I']; | |
| for (var i = 0; i < decimals.length; i++) { | |
| while (n >= decimals[i]) { | |
| r += roman[i]; | |
| n -= decimals[i]; | |
| } | |
| } |
| angular.module('musicPlayer', []) | |
| .controller('PlaylistCtrl', function($scope, $filter, $http) { | |
| $scope.currentSong = ""; | |
| $scope.playlistName = ""; | |
| $scope.playlist = []; | |
| $scope.savedPlaylists = []; | |
| $scope.currentPlaylist = {}; | |
| $scope.playlistSearch = ""; |
git --prune
cleans up remote and local branches
git branch -a
list all local and remote branches
| /** @jsx React.DOM */ | |
| var Playlist = React.createClass({ | |
| getInitialState: function() { | |
| return { | |
| playlist: [], | |
| savedPlaylists: [], | |
| currentSong: 'black hole sun', | |
| playlistName: '', | |
| currentPlaylist: null, |
| [{ "label": "Turn in ballot" }, { "label": "Pick up package at Post Office" }] |