I hereby claim:
- I am mfdj on github.
- I am mfdj (https://keybase.io/mfdj) on keybase.
- I have a public key whose fingerprint is A056 0C76 83D0 CD21 912A 34AB 45ED 067E 0D3B 9AC3
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en" ng-app="myApp"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>scope inheritance</title> | |
</head> | |
<body> | |
<h3>Controller Scope Inheritance</h3> | |
<!-- PARENT --> |
<!DOCTYPE html> | |
<html lang="en" ng-app="fightApp"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>angular module fights</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<h3>Module Eh vs. Module Bee</h3> |
# print it | |
$ echo `php -i | grep 'Load.*Config.*File.*=>' | sed s/'.* => '/''/` | |
# open it | |
$ $EDITOR `php -i | grep 'Load.*Config.*File.*=>' | sed s/'.* => '/''/` | |
# open it in sublimetext | |
$ subl `php -i | grep 'Load.*Config.*File.*=>' | sed s/'.* => '/''/` |
I hereby claim:
To claim this, I am signing this object:
# file: app/config/config.yml | |
imports: | |
- { resource: parameters.yml } | |
- { resource: parameters_pagoda.php } # import after parameters.yml to override it's values | |
- { resource: security.yml } |
# add HTTP Strict Transport Security (HSTS) header to all *non-php* responses | |
# - mod_fastcgi apparently ignores mod_headers? | |
# - see: https://www.owasp.org/index.php/HTTP_Strict_Transport_Security | |
Header set Strict-Transport-Security "max-age=7776000" |
##### first attempt | |
# one-liner | |
echo $PATH | sed -e "s~:~\\`echo -e '\n\r'`~g" | |
# bash function | |
sep2ln() | |
{ | |
local INPUT=$1 | |
local SEPARATOR=$2 |
#!/usr/bin/env bash | |
function defaultinput() | |
{ | |
local LABEL=$1 | |
local DEFAULT=$2 | |
local __return=$3 | |
echo -n "$LABEL [$DEFAULT] " | |
read input_a | |
if [[ -z "$input_a" ]]; then |
#!/usr/bin/env bash | |
# Works partially with Symofny 2.5 | |
# Works fully with Symfony 2.3 — 2.4 | |
# Tested against Symfony: 2.5.0, 2.4.1, 2.3.9 | |
# Usage: | |
# symfony2_hello_world.sh <optional: project folder> <optional: symfony version> <optional: domain name> | |
# Examples: | |
# symfony2_hello_world.sh |
pwd | tr -d '\n' | pbcopy |