I hereby claim:
- I am machineloop on github.
- I am machineloop (https://keybase.io/machineloop) on keybase.
- I have a public key ASBYrWCFdoSDu1yrcBjksblTi1M-CF2O2Ha5IcEhjLo7Ggo
To claim this, I am signing this object:
controllers.controller('MainCtrl', function($scope, $location, Facebook, $rootScope, $http, $location, Upload, Auth, User, Question, Category, Serie, Record, Location, Popup, Process, Card, Question) { | |
$scope.$on('authLoaded', function() { | |
$scope.isExpert($scope.main.serieId); | |
$scope.isMember($scope.main.serieId); | |
}); | |
$scope.loadAuth = function() { | |
Auth.load().success(function(data) { | |
$scope.main.user = data.user; | |
$scope.$broadcast("authLoaded"); |
'use strict'; | |
angular.module('nite-out', [ | |
'nite-out.main', | |
'nite-out.mainServices', | |
'nite-out.checkout', | |
'nite-out.marketTest', | |
'nite-out.auth', | |
'nite-out.authServices', | |
'nite-out.movies', |
http://maryrosecook.com/blog/post/a-practical-introduction-to-functional-programming | |
http://www.grimmo.it/posts/converting-slidescom-for-offline-usage.html |
In order to get rid of the dock icon, you must modify the file named 'Info.plist' inside the Application's package (i.e. Sherlock.app/Contents/Info.plist). Open this file in your favorite text editor and add the following section (if it's already present simply change the 0 to a 1 in the string tag: | |
<KEY>NSUIElement</KEY> | |
<STRING>1</STRING> | |
NOTE: I substituted the standard square brackets for the purposes of posting here; you must substitute the angle brackets when editing. So far I've hidden my Sherlock and System Preferences icons. With the System Prefs you will have to write-enable the 'Info.plist' file by changing the permissions in a Terminal window: | |
sudo chmod 464 /Applications/System Preferences.app/Contents/Info.plist | |
Enjoy! |
I hereby claim:
To claim this, I am signing this object:
# Prompt directly from book: | |
# Exercise: ModulesAndFunctions-6 | |
# I’m thinking of a number between 1 and 1000.… | |
# The most efficient way to find the number is to guess halfway between the low and high numbers of the range. If our guess is too big, then the answer lies between the bottom of the range and one less than our guess. If our guess is too small, then the answer lies between one more than our guess and the end of the range. | |
# Your API will be guess(actual, range), where range is an Elixir range. Your output should look similar to this: | |
# iex> Chop.guess(273, 1..1000) |