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 | |
SLACK_WEBHOOK_URL=$(git config --get hooks.slack.webhook-url) | |
SLACK_USERNAME="Deploy Bot" | |
REPO_PATH="$(dirname ${BASH_SOURCE[0]})/.." | |
GIT_MESSAGE=$(git --git-dir ${REPO_PATH} show -l 1 -s) | |
curl -X POST --data "payload={ \"username\": \"${SLACK_USERNAME}\", \"text\": \"${GIT_MESSAGE}\"}" ${SLACK_WEBHOOK_URL} |
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 | |
# gist created by ckdarby | |
INRES="1920x1080" | |
OUTRES="1920x1080" | |
FPS="60" | |
QUAL="ultrafast" | |
SOUNDSOURCE="alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" #pactl list sources | grep Name | |
# Write your key in a file named .twitch_key in your home directory | |
STREAM_KEY=$(cat ./twitch_key) # This is your streamkey generated by jtv/twitch found at: http://www.justin.tv/broadcast/adv_other |
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
Show hidden characters
{ | |
"default_line_ending": "unix", | |
"detect_indentation": false, | |
"draw_white_space": "all", | |
"highlight_line": true | |
} |
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 | |
namespace Vendor\Package; | |
use FooInterface; | |
use BarClass as Bar; | |
use OtherVendor\OtherPackage\BazClass; | |
class Foo extends Bar implements FooInterface | |
{ | |
public function sampleFunction($a, $b = 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
stat | |
avg: 0.216100677729 | |
min: 0.167356967926 | |
max: 0.367993116379 | |
sha1_file | |
avg: 0.456373734236 | |
min: 0.385113954544 | |
max: 0.842865943909 |
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
zzz |
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
19:39:51: Open Broadcaster Software v0.552b - 64bit ( ^ω^) | |
19:39:51: ------------------------------- | |
19:39:51: CPU Name: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz | |
19:39:51: CPU Speed: 3099MHz | |
19:39:51: Physical Memory: 16349MB Total, 12115MB Free | |
19:39:51: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4 | |
19:39:51: monitor 1: pos={0, 0}, size={1920, 1080} | |
19:39:51: monitor 2: pos={-1920, 0}, size={1920, 1080} | |
19:39:51: Windows Version: 6.1 Build 7601 S | |
19:39:51: Aero is Disabled |
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
[container] Public services | |
Service Id Scope Class Name | |
annotation_reader container Doctrine\Common\Annotations\FileCacheReader | |
assetic.asset_manager container Assetic\Factory\LazyAssetManager | |
assetic.controller prototype Symfony\Bundle\AsseticBundle\Controller\AsseticController | |
assetic.filter.cssrewrite container Assetic\Filter\CssRewriteFilter | |
assetic.filter_manager container Symfony\Bundle\AsseticBundle\FilterManager | |
assetic.request_listener container Symfony\Bundle\AsseticBundle\EventListener\RequestListener | |
cache_clearer container Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer | |
cache_warmer container Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate |
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 | |
include_once('vendor/autoload.php'); | |
use Monolog\Logger; | |
use Monolog\Handler\StreamHandler; | |
use Monolog\Formatter\LineFormatter; | |
//Create a log channel | |
$log = new Logger('Test'); |
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
`DEBUG - 2012-10-10 11:21:29 --> Config Class Initialized | |
DEBUG - 2012-10-10 11:21:29 --> Hooks Class Initialized | |
DEBUG - 2012-10-10 11:21:29 --> Utf8 Class Initialized | |
DEBUG - 2012-10-10 11:21:29 --> UTF-8 Support Enabled | |
DEBUG - 2012-10-10 11:21:29 --> URI Class Initialized | |
DEBUG - 2012-10-10 11:21:29 --> Router Class Initialized | |
DEBUG - 2012-10-10 11:21:29 --> Output Class Initialized | |
DEBUG - 2012-10-10 11:21:29 --> Security Class Initialized | |
DEBUG - 2012-10-10 11:21:29 --> Input Class Initialized |
NewerOlder