This file has been truncated, but you can view the full file.
This file contains hidden or 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
;FLAVOR:Marlin | |
;TIME:13634 | |
;Filament used: 5.59053m | |
;Layer height: 0.141421 | |
;Setting summary: | |
; CATEGORY: Crealitybelt | |
; Belt Wall Speed: 10 | |
; Enable Secondary Print Fans: True | |
; Secondary Print Fan Speed: 50 | |
; CATEGORY: Machine |
This file contains hidden or 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 | |
/** | |
* Extending for typing | |
* | |
*/ | |
class ErrorException extends Exception {} | |
/** | |
* Default exception handler, IRL you probably have some |
This file contains hidden or 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
$data = 'cat'; | |
function foobar() { | |
$data = 'dog'; | |
} | |
echo $data; | |
foobar(); | |
echo $data; |
This file contains hidden or 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 | |
FILENAME=$1 # %FILE% - Filename of original file | |
TEMPFILENAME="$(mktemp).mkv" # Temporary File for transcoding | |
/usr/bin/ffmpeg -y -i "$FILENAME" -map 0:0 -map 0:1 -vcodec copy -acodec copy -f matroska "$TEMPFILENAME" | |
mv -f "$TEMPFILENAME" "${FILENAME%.ts}.mkv" |
This file contains hidden or 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
version: '2' | |
services: | |
web: | |
image: nginx:latest | |
ports: | |
- "8080:80" | |
volumes: | |
- ./bin:/var/www/bin | |
- ./data:/var/www/data |
This file contains hidden or 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 | |
/** | |
* Simple game dice rolling | |
* Emulates probability as closely as possible | |
* Feel free to comment/contribute/bughunt | |
* | |
* @author Matt Wiseman <trollboy@gmail.com> | |
*/ |
This file contains hidden or 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
2014/02/26 23:18:01 [error] 99391#0: *766 kevent() reported about an closed connection (54: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /index.php HTTP/1.0", upstream: "http://127.0.0.1:80/index.php", host: "127.0.0.1" |
This file contains hidden or 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 | |
$mybigarray = array( | |
array( | |
':keynameone'=>'Red', | |
':keyname2'=>'Orange', | |
':keyname3'=>'Yellow', | |
), | |
array( | |
':keynameone'=>NULL, | |
':keyname2'=>'Green', |