This file contains hidden or 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
| from django.conf.urls import patterns, include, url | |
| from django.contrib import admin | |
| admin.autodiscover() | |
| urlpatterns = patterns('', | |
| url(r'^admin/', include(admin.site.urls)), | |
| url(r'^api/', include('helium.api.urls')), | |
| url(r'^apps/', include('helium.apps.urls')), | |
| url(r'^accounts/', include('helium.accounts.urls')), |
This file contains hidden or 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
| * { | |
| margin: 0px; | |
| padding: 0px; | |
| } | |
| html { | |
| overflow: hidden; | |
| } | |
| img#embed { |
This file contains hidden or 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
| @defaultModalZindex: 9999; | |
| .border-radius(@radius) { | |
| -webkit-border-radius: @radius; | |
| border-radius: @radius; | |
| } | |
| .box-shadow(@shadow) { | |
| -webkit-box-shadow: @shadow; | |
| box-shadow: @shadow; |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import sys | |
| import time | |
| import requests | |
| import gntp.notifier | |
| GENERAL_NOTIFICATION = 'General' | |
| API_ERROR_NOTIFICATION = 'API Error' | |
| FRIEND_ONLINE_NOTIFICATION = 'Friend Online' |
This file contains hidden or 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
| current_dir = File.dirname(__FILE__) | |
| chef_repo_dir = "#{current_dir}/../../chef-repo" | |
| home_dir = ENV['HOME'] | |
| user = ENV['KNIFE_USER'] || ENV['USER'] | |
| orgname = ENV['KNIFE_ORGNAME'] | |
| server_name = ENV['KNIFE_SERVER_NAME'] | |
| server_url = ENV['KNIFE_SERVER_URL'] | |
| cookbook_path ["#{chef_repo_dir}/cookbooks"] |
This file contains hidden or 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
| @defaultModalZindex: 9999; | |
| .border-radius(@radius) { | |
| -webkit-border-radius: @radius; | |
| border-radius: @radius; | |
| } | |
| .box-shadow(@shadow) { | |
| -webkit-box-shadow: @shadow; | |
| box-shadow: @shadow; |
This file contains hidden or 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
| upstream jira { | |
| server 127.0.0.1:8080; | |
| } | |
| upstream stash { | |
| server 127.0.0.1:7990; | |
| } | |
| server { | |
| listen 0.0.0.0:80; |
This file contains hidden or 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
| import os | |
| from git import Repo as GitRepo | |
| repo = GitRepo(os.path.dirname(__file__)) | |
| VERSION = (2, 0, 0, 'Codename', 'beta', repo.head.commit.hexsha[:8]) |
This file contains hidden or 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
| PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
| chflags nohidden $HOME/Library | |
| export EDITOR="subl -w" | |
| export ARCHFLAGS="-arch x86_64" | |
| export PYTHONDONTWRITEBYTECODE=1 | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* |
This file contains hidden or 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
| from django.contrib.gis.db import models | |
| from django.contrib.auth.models import UserManager, AbstractUser | |
| class UserManager(UserManager, models.GeoManager): | |
| pass | |
| class User(AbstractUser): | |
| objects = UserManager() |