$ sudo grubby --info=ALL
$ sudo grubby --default-index
$ sudo grubby --set-default 1
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 | |
# curl https://gist.githubusercontent.com/louiscklaw/3914ffc1c51bf6741b1b56ce37685537/raw/87efd520bd06a7b5a5fac5650ef5bffd8b1b9fe8/rpi_bootstrap.sh | bash | |
set -ex | |
sudo apt install -y git wget curl openssh-server |
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 | |
set -ex | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
git clone https://github.com/zearp/Nucintosh.git | |
git clone https://github.com/corpnewt/gibMacOS.git | |
git clone https://github.com/corpnewt/ProperTree.git | |
git clone https://github.com/corpnewt/GenSMBIOS.git |
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 | |
set -ex | |
echo 'helloworld' | |
sw_vers | |
mkdir -p workdir |
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 | |
# curl -L http://bit.ly/louislabs-bootstrap |sh | |
echo "helloworld" | |
cd ~ | |
mkdir -p _workspace | |
pushd $HOME/_workspace |
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
You can do that with a few git commands. Please back up your repo before doing this: | |
First create the new history: | |
`git checkout --orphan new-master` | |
Then create the first commit: | |
`git commit` |
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
[{"time":"2020-08-09T13:16:51.342Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"81"},{"time":"2020-08-09T13:16:55.090Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"83"},{"time":"2020-08-09T13:16:57.360Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"81"},{"time":"2020-08-09T13:21:51.701Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"85"},{"time":"2020-08-09T13:21:55.182Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"86"},{"time":"2020-08-09T13:26:15.305Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"92"},{"time":"2020-08-09T13:26:32.628Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"92"},{"time":"2020-08-09T13:26:50.022Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"93"},{"time":"2020-08-09T13:27:07.332Z","url":"https://www.youtube.com/watch?v=ZreBbmKtOoE","viewer_count":"94"},{"time":"2020-08-09T13:27:26.857Z","url":"https://w |
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 | |
# set -x | |
#blablabla11111 | |
source ~/.credentials.rc | |
MkCd () { | |
mkdir -p $1 |
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
{ | |
"hello": "world" | |
} |
NewerOlder