Set BIOS to UEFI
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/env bash | |
################################################################################ | |
# Script to initiate (or connect to) a tmux session | |
############################################################################### | |
# Starts session and returns, or attaches to existing session name and exits. | |
function tm_session { # session name | |
#echo tmux start-server | |
tmux start-server | |
#echo tmux has-session -t $1 |
Use the curl
command line tool from your terminal window to access web pages, resources, and API's. This swiss-army knife of the internet also supports many more protocols and tools.
curl [options] URL
The complete, offical reference page is here.
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
========================================== | |
BASH SCRIPTING ========================================== | |
========================================== TEST COMMAND | |
========================================== | |
Invoke: bash [options] file | |
Shebang: #!/usr/bin/env bash Test: test expression | |
In script: [ expression ] | |
========================================== Alternate: [[ espression ]] | |
LOOP Does not split string words | |
========================================== Does not expand pathglobs* |
Links from my recent dive into exploring a modern terminal setup. I've shared videos I've seen as well as kids these days to that instead of blog posts.
- iTerm2 - (I now like the "Tango Dark" Theme that ships with iTerm)
- https://alacritty.org/ - Cross-platform terminal (Mac, Linux, BSD) with required features
- Remember to use 256-color mode terminal and Unicode/locale modes! (see fonts)
These fonts have been patched to include icons useful for terminals (files, utilities, ecosystems)
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
========================================== ========================================== | |
TMUX COMMAND WINDOW (TAB) | |
========================================== ========================================== | |
List tmux ls List ^b w | |
New new -s <session> Create ^b c | |
Attach att -t <session> Rename ^b , <name> | |
Rename rename-session -t <old> <new> Last ^b l (lower-L) | |
Kill kill-session -t <session> Close ^b & |
Hey! I saw this has been indexed by the search engines. It is a first draft of a post I ended up publishing on my blog at: Scaling PostgreSQL With Pgpool and PgBouncer
Thanks for stopping by!
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
?? Title Artist | |
07992 Ah Doo Doo Doo Willie Revillame | |
07993 Bilog Ang Mundo Manny Pacquiao | |
07994 Boom Tarat Tarat Willie Revillame | |
07995 Champion Sa Kantahan Manny Pacquiao | |
07996 Hephep Hooray (Happy Birthday) Willie Revillame | |
07997 Ikaw At Ako Manny Pacquiao | |
07998 Laban Nating Lahat Ito Manny Pacquiao | |
07999 Panalo Ka Sa Puso Ko (Extreme Jingle) Sarah Geronimo | |
08000 Para Sa 'yo Ang Laban Na 'to Manny Pacquiao |
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 | |
/** | |
* Makes a remote HTTP request and returns the response. | |
* | |
* @author Allen Fair <allen.fair@gmail.com> | |
* @copyright 2018 Allen Fair | |
* @license https://opensource.org/licenses/MIT MIT | |
* | |
* @param string $url The full URL endpoint: "https://example.com/endpoint" | |
* @param array $opt An Associative Array of extended request options |
NewerOlder