-
In your local_settings.py file:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'django_%s' % (PROJECT_NAME,),
'USER': xxxx,
// Author Keisuke Miura | |
// Not object class. AndroidManifest.xml error happen. | |
class MainApplication : Application() { | |
init { | |
instance = this | |
} | |
companion object { | |
private var instance: MainApplication? = null |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript"> | |
// Your Client ID can be retrieved from your project in the Google | |
// Developer Console, https://console.developers.google.com | |
// Also the URL has to be allowed or 401 errors will be thrown on the console | |
var CLIENT_ID = '<YOUR_CLIENT_ID>'; |
/* To use this in a Google Sheet: | |
1. Go to Tools > Script Editor. | |
2. Save the script. | |
3. Paste this script and click on the bug symbol. | |
4. Authorize the script. | |
5. Refresh the sheet. | |
For setting hot-key: | |
Tools - Macros - Manage macros |
/** | |
Static http server implemented with NodeJS. | |
Features: | |
1. No external dependencies | |
2. Support http/https, with custom port. | |
3. Support CORSProxy function | |
4. Zero configuration, convension over configuration | |
5. Support gzip compression |
/* Builds a list of images found in the linked style sheets | |
* | |
* Adapted from stackoverflow.com/questions/2430503/list-of-all-background-images-in-dom/2453880#2453880 | |
* | |
* This method has the advantage of finding URLs for background images that no | |
* element in the DOM uses yet. | |
* Author: Donovan Mueller @donut (https://github.com/donut) | |
* Contributors: Vyacheslav Vasiliev @vyach-vasiliev (https://gist.github.com/vyach-vasiliev) | |
* | |
* @return {array} |