Use monkeyrunner (provided by the [Android SDK])(https://developer.android.com/sdk/installing/index.html?pkg=tools)
and run the script:
$ monkeyrunner clan-away.py
www() { | |
bold=`tput bold` | |
normal=`tput sgr0` | |
if [ ! $1 ] ; then | |
print "Usage: \n$ www url" | |
return 1 | |
elif [ $1 ] ; then | |
username=$(id -un)@$(hostname) | |
echo "${bold}Creating www directories in /var/www/$1/${normal}" |
<?php | |
// Create a plain request - Working | |
$request = Request::create('{API_ENDPOINT}', 'GET'); | |
$response = Route::dispatch($request)->getContent(); | |
// Create a request with secret in header | |
$request = Request::create('{API_ENDPOINT}', 'GET'); | |
$headers = new Symfony\Component\HttpFoundation\HeaderBag(array('secret' => 'A_LONG_SECRET_KEY')); |
// =============================================================== [ Logging ] ==== | |
var colors = require('colors'); | |
var moment = require('moment'); | |
log = { | |
level: 3, | |
console : function(level, prefix, title, message) { | |
var timestamp = moment().format('HH:MM:ss'); | |
if(level <= log.level && process.env.NODE_ENV !== "test" && title !== '') return console.log(prefix + ' ' + timestamp.grey + ' : ' + title.bold + ' ' + message); | |
if(level <= log.level && process.env.NODE_ENV !== "test") return console.log(prefix + ' ' + timestamp.grey + ' : ' + message); | |
}, |
var rewriteRulesSnippet = require("grunt-connect-rewrite/lib/utils").rewriteRequest; | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
uglify: { | |
options: { | |
banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n' | |
}, |
<div id="jg-widget-ksbcycles100miles-327"></div> | |
<script> | |
(function() { | |
var id = "jg-widget-ksbcycles100miles-327", | |
doc = document, | |
pfx = (window.location.toString().indexOf("https") == 0) ? "https" : "http"; | |
var el = doc.getElementById(id); | |
if (el) { | |
var js = doc.createElement('script'); | |
js.src = pfx + "://widgets.justgiving.com/fundraisingpage/ksbcycles100miles?enc=ZT1qZy13aWRnZXQta3NiY3ljbGVzMTAwbWlsZXMtMzI3Jnc9NDAwJmI9aW1hZ2UsZG9uYXRlLGZ1bmRyYWlzZSZpYj10aXRsZSxzdW1tYXJ5LHByb2dyZXNzLHJhaXNlZCx0YXJnZXQ%3D"; |
# m h dom mon dow command | |
*/1 * * * * /home/alex/connectivity.sh |
Use monkeyrunner (provided by the [Android SDK])(https://developer.android.com/sdk/installing/index.html?pkg=tools)
and run the script:
$ monkeyrunner clan-away.py
I hereby claim:
To claim this, I am signing this object:
var GlyphiconConstants = { | |
Glass: <span className='glyphicon glyphicon-glass' />, | |
Music: <span className='glyphicon glyphicon-music' />, | |
Search: <span className='glyphicon glyphicon-search' />, | |
Envelope: <span className='glyphicon glyphicon-envelope' />, | |
Heart: <span className='glyphicon glyphicon-heart' />, | |
Star: <span className='glyphicon glyphicon-star' />, | |
StarEmpty: <span className='glyphicon glyphicon-star-empty' />, | |
User: <span className='glyphicon glyphicon-user' />, | |
Film: <span className='glyphicon glyphicon-film' />, |
Having installed VSCode's Local History plugin I found that I was getting ENOENT errors. This command will generate the required directory structure within your projects .history
folder.
Please Note: This will remove any existing .history
folder from your project.
.bash_profile
or .zshrc
filescript.sh
to the bottom of the filesource .bash_profile
or source .zshrc