create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
{ | |
"tools": [ | |
{ | |
"type": "function", | |
"function": { | |
"name": "codebase_search", | |
"description": "Find snippets of code from the codebase most relevant to the search query.\nThis is a semantic search tool, so the query should ask for something semantically matching what is needed.\nIf it makes sense to only search in particular directories, please specify them in the target_directories field.\nUnless there is a clear reason to use your own search query, please just reuse the user's exact query with their wording.\nTheir exact wording/phrasing can often be helpful for the semantic search query. Keeping the same exact question format can also be helpful.", | |
"parameters": { | |
"type": "object", | |
"properties": { |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
export default [ | |
"Reticulating splines...", | |
"Generating witty dialog...", | |
"Swapping time and space...", | |
"Spinning violently around the y-axis...", | |
"Tokenizing real life...", | |
"Bending the spoon...", | |
"Filtering morale...", | |
"Don't think of purple hippos...", | |
"We need a new fuse...", |
# create a USB installer | |
# https://support.apple.com/en-au/HT201372 | |
Download the OS X High Sierra installer via the App Store, it will be installed into the /Applications directory | |
If it opens automatically, close it | |
Insert a USB stick (8GB+) | |
Run the following command where MyVolume is the name of the USB volume: | |
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume | |
# boot the USB installer |
#!/bin/sh | |
# invoke global X session script | |
#. /etc/X11/Xsession | |
# HOW-TO : | |
# 1. Disable any Display Manager (lightdm/gdm/gdm3) from executing on startup | |
# 2. Allow user to start X : | |
# a. Edit /etc/X11/Xwrapper.config | |
# b. Set value : "allowed_users=anybody" | |
# 3. insert "su kiosk -c xinit &" into /etc/rc.local |
# http://raspberrypi.stackexchange.com/questions/311/how-do-i-backup-my-raspberry-pi | |
diskutil list | |
# backup: | |
sudo dd if=/dev/disk2 of=raspberrypi20151118.img bs=1m | |
# restore: | |
dd if=sd.img of=/dev/sdb bs=4M |
input { | |
height: 34px; | |
width: 100%; | |
border-radius: 3px; | |
border: 1px solid transparent; | |
border-top: none; | |
border-bottom: 1px solid #DDD; | |
box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF; | |
} |