Build Emacs 28 from source code and install Doom Emacs
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
BFISD-EE28V-YQJ15-EZZKI-3QDDV | |
P6I53-QXFCT-1QHE8-MLN1D-FG8XD | |
IVHD3-3IMTD-C2CK9-WRSIF-45M8Q | |
GBQR1-WCS7T-5YLHT-BH9WG-1RJFP | |
26MWC-7ESEF-1G6NR-7MRR7-QLMUK | |
Q2R7J-NGE2D-M2P36-LK46T-TQVYC | |
Q8MJB-TAG6X-YYJYT-EQWG7-9BF2R |
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
// execute & set object | |
$vals = $t->getFlattenedParams(); | |
foreach(explode('?', $t->getSqlQuery()) as $i => $part) { | |
$sql = (isset($sql) ? $sql : null) . $part; | |
if (isset($vals[$i])) $sql .= $vals[$i]; | |
} | |
echo $sql; |
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
strace -e pattern command #match pattern, don't pipe to grep because strace prints to stderr | |
strace -e open man cat 2> strace.txt #filter open calls and save to strace.txt (via stderr) | |
strace -p pid #attach to running process | |
strace -f #also strace child processes | |
strace -c #show histogram table of num calls | |
strace -f -e trace=network curl google.com #networrk calls (parent and child processes) | |
strace -f -e trace=network -s 100 curl google.com #limit string args to 100 chars |
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
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
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 | |
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Response; | |
use Illuminate\Cache\RateLimiter; | |
class ThrottleRequests | |
{ |
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
GEOMETRY_PROMPT_SUFFIX=$'\n └─▪ ' | |
GEOMETRY_PROMPT='┌─ [$(whoami)]' |
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
diff --git a/.travis.yml b/.travis.yml | |
index 2947009..3f00fa0 100644 | |
--- a/.travis.yml | |
+++ b/.travis.yml | |
@@ -1,8 +1,17 @@ | |
language: c | |
-os: | |
- - linux | |
- - osx |
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
language: c | |
os: | |
- linux | |
- osx | |
compiler: | |
- clang | |
- gcc |
NewerOlder