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
ZOOM | |
<Ctrl>+ / <Ctrl>- / <Ctrl>0 | |
TABS | |
<Ctrl><Shift>T / <Ctrl><Shift>Tab | |
SWITCH SCREENS | |
<Alt> Up/Down/Left/Right | |
SPLIT |
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/bash | |
# | |
# Hey, this is minimal | |
# curl -L gist-raw-url | bash | |
# | |
#sudo apt-get update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y php5-cli git php5-mcrypt php5-intl screen cowsay mysql-server php5-mysql && \ | |
sudo ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini && \ | |
echo "downloading composer" && \ | |
curl -sS https://getcomposer.org/installer | php && \ |
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
-- MySQL dump 10.13 Distrib 5.5.38, for debian-linux-gnu (x86_64) | |
-- | |
-- Host: localhost Database: cfws | |
-- ------------------------------------------------------ | |
-- Server version 5.5.38-0ubuntu0.14.04.1 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
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 | |
$table = Cake\ORM\TableRegistry::get($entity->source()); |
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
# TP-Link MA180 | |
DefaultVendor= 0x2357 | |
DefaultProduct=0x0200 | |
TargetVendor= 0x2357 | |
TargetProduct= 0x0201 | |
MessageContent="5553424312345678000000000000061b000000020000000000000000000000" |
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/bash | |
# | |
# Hey, this is minimal | |
# curl -L gist-raw-url | bash | |
# | |
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y php5-cli git php5-intl screen cowsay mysql-server php5-mysql && \ | |
echo "downloading composer" && \ | |
curl -sS https://getcomposer.org/installer | php && \ | |
echo "creating CakePHP project" && \ | |
php composer.phar create-project cakephp/app cakefest && \ |
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 | |
# GITLAB | |
# By: steinkel at gmail.com | |
# App Version: 6.1 stable https://github.com/gitlabhq/gitlabhq/tree/6-1-stable | |
# ABOUT | |
# This script performs a complete installation of Gitlab for ubuntu server 12.04.1 x64: | |
# * packages update | |
# * git, postfix etc |
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/php | |
<?php | |
/** | |
* This hook is a rewrite of http://git.661346.n2.nabble.com/Odd-results-writing-a-Git-pre-receive-hook-to-syntax-check-PHP-files-td5471120.html | |
* Thanks to Chris Patti for this thread | |
* @todo: detect when a new subdirectory is comitted and process all files recursive | |
*/ | |
function finish($exitCode = 0, $message = '') { | |
if (!empty($message)) { |
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
'EmailTransport' => [ | |
'default' => [ | |
'className' => 'Smtp', | |
'host' => 'debugmail.io', | |
'port' => 25, | |
'timeout' => 30, | |
'username' => 'YOUR_DEBUGMAIL_EMAIL', | |
'password' => 'YOUR_DEBUGMAIL_PROJECT_PASSWORD', | |
'client' => null, | |
'tls' => null, |
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
public function beforeRender(Event $e) | |
{ | |
if ($this->request->param('action') === 'login' && | |
$this->request->param('controller') === 'Users' && | |
$this->request->param('plugin') === 'CakeDC/Users' | |
) { | |
$this->viewBuilder()->layout('login'); | |
} | |
} |
OlderNewer