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
r_DisplayInfo = 3 | |
; ————————————————————————————————————————————— | |
; Custom USER.cfg – This is a command in needed to Unlock the Console to accept Commands | |
Con_Restricted = 0 | |
; This Setting reduces some of the aggressive Bloom Effects that 2.5 has, recommended set to 0 for less blinding lights. | |
r_OpticsBloom = 0 | |
; This Setting basically sets the basis for your config (1-4) 1 is Low but best performance & 4 is Very High Graphics but most intensive. It sets loads of settings & it’s important it’s at the top of the .cfg so that anything below it overwrites parts of it, 3 gives great quality and performance. | |
sys_spec = 1 | |
; Remove Maxfps to have a less stable max framerate (but it will be at it’s highest), I suggest setting at an achievable level, slower PCs go for 30, Fast PCs set at your monitors Refresh rate. If unsure delete the line it. | |
sys_maxfps = 60 |
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
ssh-keygen -y -f private_key1.pem > public_key1.pub |
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
phpcs --standard=tests/build/phpcs.xml --report=summary . | |
PHP CODE SNIFFER REPORT SUMMARY | |
-------------------------------------------------------------------------------- | |
FILE ERRORS WARNINGS | |
-------------------------------------------------------------------------------- | |
/usr/local/zend/apache2/htdocs/project/application/Bootstrap.php 1 4 | |
...2/htdocs/Project/application/controllers/ActivityController.php 3 1 | |
... |
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
from boto.ec2.cloudwatch import CloudWatchConnection | |
from datetime import datetime | |
from main.settings import AWS_CREDENTIALS, CLOUDWATCH_NAMESPACE | |
def monitor(app): | |
cloudwatch = CloudWatchConnection(**AWS_CREDENTIALS) | |
state = app.events.State() | |
def get_task(event): |
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
#!/usr/bin/env bash | |
# | |
# Copyright 2013 Robert Allen | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
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
/**= | |
* User: zircote | |
* Date: 16/10/2013 | |
* Time: 08:59 | |
*/ | |
var SERVICE_HOST = 'http://aws.amazon.com' | |
var data_sources = { | |
"linux-od": { |
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
#!/bin/sh | |
function init_ansible_role { | |
if [[ ! -n $1 ]]; then | |
echo no init | |
return | |
fi | |
mkdir -p roles/${1}/{defaults,tasks,files,templates,vars,handlers,meta} | |
for i in defaults tasks vars handlers meta; do | |
if [[ ! -f roles/${1}/${i}/main.yaml ]]; then | |
echo creating file: roles/${1}/${i}/main.yaml |
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
<?php | |
/** | |
* Bootstrap the App in an annonymous function preserving global namespace. | |
*/ | |
call_user_func(function(){ | |
// Define path to application directory | |
defined('APPLICATION_PATH') | |
|| define('APPLICATION_PATH', | |
realpath(dirname(__FILE__) . '/../application')); |
NewerOlder