One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Django documentation says to use:
WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py
WSGIPythonPath /path/to/mysite.com
<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Require all granted
Django documentation says to use:
WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py
WSGIPythonPath /path/to/mysite.com
<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Require all granted
| def get_profile_credentials(profile_name): | |
| from ConfigParser import ConfigParser | |
| from ConfigParser import ParsingError | |
| from ConfigParser import NoOptionError | |
| from ConfigParser import NoSectionError | |
| from os import path | |
| config = ConfigParser() | |
| config.read([path.join(path.expanduser("~"),'.aws/credentials')]) | |
| try: | |
| aws_access_key_id = config.get(profile_name, 'aws_access_key_id') |
| // this is the background code... | |
| // listen for our browerAction to be clicked | |
| chrome.browserAction.onClicked.addListener(function (tab) { | |
| // for the current tab, inject the "inject.js" file & execute it | |
| chrome.tabs.executeScript(tab.ib, { | |
| file: 'inject.js' | |
| }); | |
| }); |
| package com.ssaurel.fusedlocation; | |
| import android.Manifest; | |
| import android.content.DialogInterface; | |
| import android.content.pm.PackageManager; | |
| import android.location.Location; | |
| import android.os.Build; | |
| import android.os.Bundle; | |
| import android.support.annotation.NonNull; | |
| import android.support.annotation.Nullable; |
List of files to edit to change/rename your react-native android project. The following constants are used in the files to denote what kind of value should be placed.
APPLICATION_NAME - this will be used by react-native to identify your application. (settings.gradle, MainActivity.java, etc.)APPLICATION_DISPLAY_NAME - display name in Android Home Screen.ANDROID_PACKAGE_NAME - A valid android package name.| .file-code-line .blob-line-code { | |
| background: #333; | |
| } | |
| .file-code-line .blob-line-nums { | |
| background: #292929; | |
| border-right: 3px solid #707070; | |
| color: #c0c0c0; | |
| } |
| /* Based on Sublime Text's Monokai theme */ | |
| .cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;} | |
| .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;} | |
| .cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;} | |
| .cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;} | |
| .cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;} | |
| .cm-s-monokai span.cm-comment {color: #75715e;} | |
| .cm-s-monokai span.cm-atom {color: #ae81ff;} |
| const DOUBLE_PRESS_DELAY = 300; | |
| // ... | |
| /** | |
| * Double Press recognition | |
| * @param {Event} e | |
| */ | |
| handleImagePress(e) { | |
| const now = new Date().getTime(); |