No problem,
run
git filter-branch --msg-filter "cat - && echo && echo 'Signed-off-by: Your Name <Your.Name@example.com>'" HEAD~2..HEAD
To sign-off the last two commits.
Then force to push them to the remote repo with the -f
option:
{ | |
/* ~/Library/KeyBindings/DefaultKeyBinding.dict | |
See https://gist.github.com/zsimic/1367779, prefix cheatsheet: | |
Char Short Key | |
$ S- Shift ⇧ | |
^ C- CTRL ⌃ | |
~ O- Option ⌥ (⊞ Win key position on PC) | |
@ M- Command ⌘ (Alt position on PC) | |
# Numeric Keypad |
! urxvt | |
URxvt*buffered: true | |
URxvt*cursorBlink: true | |
URxvt*underlineColor: yellow | |
URxvt*font: xft:inconsolata:size=10:antialias=true | |
URxvt*depth: 32 | |
URxvt*borderless: 1 | |
URxvt*scrollBar: false | |
URxvt*loginShell: true | |
Urxvt*secondaryScroll: true # Enable Shift-PageUp/Down in screen |
FILE SPACING: | |
# double space a file | |
sed G | |
# double space a file which already has blank lines in it. Output file | |
# should contain no more than one blank line between lines of text. | |
sed '/^$/d;G' |
No problem,
run
git filter-branch --msg-filter "cat - && echo && echo 'Signed-off-by: Your Name <Your.Name@example.com>'" HEAD~2..HEAD
To sign-off the last two commits.
Then force to push them to the remote repo with the -f
option:
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### |
$acl = Get-Acl "C:\Windows\Temp" | |
$rule = New-Object System.Security.Accesscontrol.FileSystemAccessRule("IIS_IUSRS","Write","Allow") | |
$acl.SetAccessRule($rule) | |
Set-Acl "C:\Windows\Temp" $acl |
# 1. First of all of course get Manjaro: | |
https://manjaro.org/get-manjaro/ | |
# I recommend using Etcher to copy the image to your USB: | |
https://etcher.io/ | |
# 2. Before installing make sure: | |
# - Secure boot is disabled in BIOS | |
# - Your SSD, HDD or NVME drive is set to AHCI instead of RAID | |
# - Fastboot should be on Auto or minimal, but this shouldn't matter to much |
#!/bin/bash | |
# download zone from AWS Route53 | |
zonename=$1 | |
hostedzoneid=$(aws route53 list-hosted-zones | jq -r ".HostedZones[] | select(.Name == \"$zonename.\") | .Id" | cut -d'/' -f3) | |
aws route53 list-resource-record-sets --hosted-zone-id $hostedzoneid --output json | jq -jr '.ResourceRecordSets[] | "\(.Name) \t\(.TTL) \t\(.Type) \t\(.ResourceRecords[].Value)\n"' |
Think of your Android phone or iPhone... Once in a while the firmware on your phone needs to be updated to support new features or to fix security vulnerabilities.
The phone downloads the new firmware over WiFi or 4G. Then it restarts to install the new firmware.
Remember that firmware is just a program... A program can't possibly overwrite itself while it's running!
We solve this problem by introducing a second program... the Bootloader. When you power on your phone, the first thing it runs is the Bootloader. When the Bootloader finds a new version of the firmware that's stored on the phone, it overwrites the old firmware with the new one. Then it starts the new firmware.