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
zenobius@NOVACRASH:~/Dev/someproject (master) | |
ⵃ heroku create | |
! Heroku client internal error. | |
! Search for help at: https://help.heroku.com | |
! Or report a bug at: https://github.com/heroku/heroku/issues/new | |
Error: No such file or directory - git --version (Errno::ENOENT) | |
Backtrace: C:/Users/zenobius/.heroku/client/lib/heroku/helpers.rb:93:in ``' | |
C:/Users/zenobius/.heroku/client/lib/heroku/helpers.rb:93:in `has_git?' | |
C:/Users/zenobius/.heroku/client/lib/heroku/helpers.rb:98:in `git' |
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
&.lightbox-image-animate { | |
@include transition-property (transform); | |
@include transition-duration(250ms); | |
@include transition-timing-function(ease-in-out); | |
z-index: 1010; | |
position: relative; | |
@include box-shadow(none); | |
} |
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
# | |
# ~/.bash_profile | |
# | |
source ~/.bash/prompt-colours/main.sh | |
source ~/.bash/prompt-prefixes/main.sh | |
source ~/.bash/prompt-nodejs/main.sh | |
source ~/.bash/prompt-git/main.sh |
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
{% load i18n %} | |
{% load staticfiles %} | |
<!DOCTYPE html> | |
<!--[if IE 8]> <html class="ie8"> <![endif]--> | |
<!--[if IE 9]> <html class="ie9 gt-ie8"> <![endif]--> | |
<!--[if gt IE 9]><!--> <html class="gt-ie8 gt-ie9 not-ie"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="csrf_token" content="{% csrf_token %}"> |
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
require [ | |
'lodash' | |
'angular' | |
'angular-route' | |
'angular-route-segment' | |
], (_, angular) -> | |
angular.module 'app.common.services.routeResolver', [ | |
'ngRoute', | |
'route-segment', |
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
angular.module("moduleName", []) | |
.factory("FactoryName", [ | |
'$http', | |
function($http) { | |
// do stuff here | |
}]) |
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
angular.module('subscribeApp', [ | |
'mainCtrl', | |
]); | |
angular.bootstrap(document, ["subscribeApp"]); |
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
# /static/js/config.coffee | |
define [ | |
'lodash' | |
'angular' | |
'./locals' | |
'restangular' | |
], (_, angular, locals) -> | |
angular.module 'app.config', [ | |
'restangular' |
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
# | |
# SECRET KEY | |
# Dynamically create a secret key | |
# | |
try: | |
from settings.secret_key import SECRET_KEY | |
# on import failure, generate one and create the file | |
except ImportError as error: | |
from django.utils.crypto import get_random_string | |
SECRET_KEY = get_random_string( |
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
UserService: | |
email: "e@ma.il" | |
public: false | |
AppController: ($scope, UserService) -> | |
$scope.$on "email-updated", (data) -> | |
UserService.email = data | |
$scope.$broadcast "email-changed", data |