etc/logging.properties
#
# Licensed to the Apache Software Foundation (ASF) under one or more
| # all php files :: disallow direct access of file | |
| # between <?php and ?> | |
| defined('_JEXEC') or die; | |
| # index.php :: define variable with application | |
| # between <?php and ?> | |
| $app = JFactory::getApplication(); | |
| # index.php :: define variable with document | |
| # between <?php and ?> |
| FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' |
| #!/bin/sh | |
| # Cleanup docker files: untagged containers and images. | |
| # | |
| # Use `docker-cleanup -n` for a dry run to see what would be deleted. | |
| untagged_containers() { | |
| # Print containers using untagged images: $1 is used with awk's print: 0=line, 1=column 1. | |
| # NOTE: "[0-9a-f]{12}" does not work with GNU Awk 3.1.7 (RHEL6). | |
| # Ref: https://github.com/blueyed/dotfiles/commit/a14f0b4b#commitcomment-6736470 | |
| docker ps -a | tail -n +2 | awk '$2 ~ "^[0-9a-f]+$" {print $'$1'}' |
| # Ask for the user password | |
| # Script only works if sudo caches the password for a few minutes | |
| sudo true | |
| # Install kernel extra's to enable docker aufs support | |
| # sudo apt-get -y install linux-image-extra-$(uname -r) | |
| # Add Docker PPA and install latest version | |
| # sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
| # sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
| // set-up a connection between the client and the server | |
| var socket = io.connect(); | |
| // let's assume that the client page, once rendered, knows what room it wants to join | |
| var room = "abc123"; | |
| socket.on('connect', function() { | |
| // Connected, let's sign-up for to receive messages for this room | |
| socket.emit('room', room); | |
| }); |
| var source = `var stealTools = require("steal-tools"); | |
| stealTools.export({ | |
| steal: { | |
| config: __dirname + "/package.json!npm" | |
| }, | |
| outputs: { | |
| "+cjs": {}, | |
| "+amd": {}, | |
| "+global-js": {} |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| body.loading #splash { | |
| opacity: 1; | |
| } | |
| #splash { | |
| position: absolute; | |
| top: 0; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="description" content="[add your binffff description]"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| jjjj | |
| <style id="jsbin-css"> |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Mocha Tests", | |
| "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
| "protocol": "inspector", | |
| "args": [ | |
| "-u", | |
| "tdd", | |
| "--timeout", |