- AWS Lambda now supports AWS Fault Injection Service (FIS) actions
- Announcing AWS AppSync Events: serverless WebSocket APIs to power real-time web and mobile experiences at any scale
- Improving security and performance with additional DNS resource record types in Amazon Route 53
- AWS CodeBuild now supports retrying builds automatically
- Amazon Virtual Private Cloud launches new security group sharing features
- [Peek inside your AWS CloudFormation Deplo
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
IMAGE CREATED CREATED BY SIZE COMMENT | |
3dad097ec28e 13 hours ago Reserved for new packages 45B | |
<missing> 13 hours ago initramfs (kernel 6.11.8-300.fc41.x86_64) an… 133MB | |
<missing> 13 hours ago 11 components 23.1MB | |
<missing> 13 hours ago 22 components 54.7MB | |
<missing> 13 hours ago 17 components 6.49MB | |
<missing> 13 hours ago 22 components 11.2MB | |
<missing> 13 hours ago 22 components 11.6MB | |
<missing> 13 hours ago 22 components 10.9MB | |
<missing> 13 hours ago 22 components 11.8MB |
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
async function goToFirstCommit(owner, repo) { | |
const headers = { | |
"Accept": "application/vnd.github.v3+json", | |
// Optional: Add authorization if you hit the rate limit (use a personal access token) | |
// "Authorization": "Bearer YOUR_GITHUB_TOKEN" | |
}; | |
const repoInfo = await fetch(`https://api.github.com/repos/${owner}/${repo}`, { headers }); | |
const repoData = await repoInfo.json(); |
This is a tiny script to toggle Cloudflare Warp on/off.
warp-cli status
output is changing, unreliable to grep/awk. So I just usehttps://cloudflare.com/cdn-cgi/trace
endpoint.-z "$BLOCK_BUTTON"
check is performed in order to see if it's a block click or not.
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
format = """\ | |
[ ](bg:#7DF9AA fg:#7DF9AA)\ | |
[ ](bg:#7DF9AA fg:#090c0c)\ | |
[](fg:#7DF9AA bg:#1C3A5E)\ | |
$time\ | |
[](fg:#1C3A5E bg:#3B76F0)\ | |
$directory\ | |
[](fg:#3B76F0 bg:#FCF392)\ | |
$git_branch\ | |
$git_status\ |
Edit /etc/default/grub
file
sudo nano /etc/default/grub
Edit the GRUB_CMDLINE_LINUX_DEFAULT
flag to add nomodeset
and vga=795
. Change vga modeset accordingly. You can reference the table below.
Color Depth | 800x600 | 1024x768 | 1152x864 | 1280x1024 | 1600x1200 |
---|
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
format = """\ | |
[ ](bg:#7DF9AA fg:#7DF9AA)\ | |
[ ](bg:#7DF9AA fg:#090c0c)\ | |
[](fg:#7DF9AA bg:#1C3A5E)\ | |
$time\ | |
[](fg:#1C3A5E bg:#3B76F0)\ | |
$directory\ | |
[](fg:#3B76F0 bg:#FCF392)\ | |
$git_branch\ | |
$git_status\ |
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
declare -A -r my_hashmap=( | |
["foo"]="bar" | |
["baz"]="qux" | |
) | |
echo "${my_hashmap["foo"]}" | |
for key in "${!my_hashmap[@]}"; do | |
echo "key: $key, val: ${my_hashmap[$key]}" | |
done |
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 | |
set -eu | |
declare -a all_deps=( ) | |
for pkg_name in "$@" | |
do | |
declare -a deps=$(apt-cache depends -i --recurse $pkg_name | awk -F 'Depends: ' 'NF>1{ sub(/ .*/,"",$NF); print $NF }' | sort | uniq) | |
all_deps+=$deps | |
done |
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 | |
set -eu | |
# code-server's automatic install script. | |
# See https://coder.com/docs/code-server/latest/install | |
usage() { | |
arg0="$0" | |
if [ "$0" = sh ]; then | |
arg0="curl -fsSL https://code-server.dev/install.sh | sh -s --" |
NewerOlder