ACME tool example config for acme configured
with WEBROOT in /var/run/acme/acme-challenge
.
If you once have created single cert for dev.example.com
and example.com
with:
sudo acmetool want dev.example.com example.com
# -*- coding: utf-8 -*- | |
""" | |
Easy change settings with uncomment right string ang comment wrong. | |
Iterate over files in ``env.settings_files``, comment lines with | |
wrong marker and uncomment with right marker. | |
Usage | |
===== |
import logging | |
from django.test.simple import DjangoTestSuiteRunner | |
from django.conf import settings | |
TESTING_APPS = getattr(settings, 'PROJECT_APPS', getattr(settings, 'INSTALLED_APPS', [])) | |
class ProjectAppsTestSuiteRunner(DjangoTestSuiteRunner): | |
''' |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: btsync | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Multi-user daemonized version of btsync. |
#!/bin/bash | |
# example: sudo ./gitlab_up.sh package_filenaname.deb | |
# get it here https://about.gitlab.com/downloads/ (copy link to package without filename, it must be set through command line) | |
URL="https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/" | |
if [ ! $1 ]; | |
then | |
echo "Set downloadable .deb name!" |
if (process.env.IS_MIRROR) { | |
Meteor.methods({ | |
'loadFixtures': function(){ | |
console.log('Loading default fixtures'); | |
// TODO: add your fixtures here | |
Accounts.createUser({ | |
email: '[email protected]', | |
password: '123456' | |
}); | |
console.log('Finished loading default fixtures'); |
{ | |
"parser": "babel-eslint", | |
"ecmaFeatures": { | |
"blockBindings": true, | |
"forOf": true, | |
"jsx": true, | |
"modules": true | |
}, | |
"env": { | |
"browser": true, |
location /.well-known/acme-challenge/ { | |
root /var/run/acme/acme-challenge/; | |
} |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# Excluded VCS part — use varsion from Powerline | |
# | |
# In order for this theme to render correctly, you will need a |
ACME tool example config for acme configured
with WEBROOT in /var/run/acme/acme-challenge
.
If you once have created single cert for dev.example.com
and example.com
with:
sudo acmetool want dev.example.com example.com
angular.module('MyApp').config(function($httpProvider) {
$httpProvider.defaults.xsrfCookieName = 'csrftoken';
$httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken';
$httpProvider.defaults.headers
.common['X-Requested-With'] = 'XMLHttpRequest';
$httpProvider.defaults.headers
.post['Content-Type'] = 'application/x-www-form-urlencoded';
});