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
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
language: c | |
os: | |
- linux | |
- osx | |
compiler: | |
- clang | |
- gcc |
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 | |
compiler: | |
- clang | |
- gcc | |
before_script: | |
- sudo apt-get install zsh | |
install: |
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
curl https://api.github.com/search/repositories\?q\=antigen bundle+in:readme | json -a items| json -a id name full_name html_url |
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
#!/usr/bin/env bash | |
set -e | |
[ -z "$DEBUG" ] || set -x; | |
usage() { | |
echo "$0 <repo> <tag> [<release name>] [-- <asset>...]" >&2; | |
} | |
if [ "$1" = "-h" -o "$1" = "--help" ]; then |
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
Notes on making a signed software release | |
========================================= | |
Create a signed tag called NAME-VERSION with | |
git tag --message=NAME-VERSION --sign NAME-VERSION | |
Generate a release tar.gz and signature with | |
git archive --output=NAME-VERSION.tar.gz --prefix=NAME-VERSION/ NAME-VERSION |
NewerOlder