If you stored locally your pgp private key and didn't upload it on keybase.io (well done), you can get your private key, for example to register it in the local gpg, this way:
keybase pgp export -secret
If you stored locally your pgp private key and didn't upload it on keybase.io (well done), you can get your private key, for example to register it in the local gpg, this way:
keybase pgp export -secret
If you need to clone a big repository on a slow and unreliable connection, you can do a minimal shallow clone:
git clone --depth=1 <git url>
Then deepen this clone from inside the repo with:
git fetch --depth=N
Or just:
Once you dd the image they provide, you'll notice that you can only boot from eMMC when the SD is not inserted and if you inser it after boot, the system doesn't even discover the devices.
There is an easy fix for this.
At boot, uBoot looks for /boot/bananapi/bpi-m3/linux/uEnv.txt and loads /boot/bananapi/bpi-m3/linux/script.bin
that contains additional configuration, like how to manage the SD, in binary format.
You just need to follow a few simple steps to enable SD discovery after boot (there is a way to boot from the boot partition on the SD and then load the OS from eMMC but I didn't have time to experiment with that).
I hereby claim:
To claim this, I am signing this object:
Use a cp2102 usb-to-uart adapter or something similar
Cross-connect to the first three pins of the first column of the right header: GND,TX,RX.
Connect with minicom to the usb device, 115200,no parity,8 bits, 2 stop bits
Install xz with homebrew:
brew install xz
Insert the SD and get the device name for the SD with df:
Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on
/dev/disk1 487867392 157859992 329495400 33% 2352643 4292614636 0% /
devfs 373 373 0 100% 647 0 100% /dev
map -hosts 0 0 0 100% 0 0 100% /net
| pi@raspberrypi:~ $ apt list --installed | |
| Listing... Done | |
| acl/stable,now 2.2.52-2 armhf [installed] | |
| adduser/stable,now 3.113+nmu3 all [installed] | |
| alsa-utils/stable,now 1.0.28-1 armhf [installed,automatic] | |
| apt/stable,now 1.0.9.8.4 armhf [installed] | |
| apt-listchanges/stable,now 2.85.13+nmu1 all [installed] | |
| apt-utils/stable,now 1.0.9.8.4 armhf [installed] | |
| aptitude/stable,now 0.6.11-1 armhf [installed] | |
| aptitude-common/stable,now 0.6.11-1 all [installed] |
| sudo vim /etc/apt/sources.list | |
| # replace every occurence of jessie with stretch (it's the upcoming Debian 9) | |
| sudo apt-get update (don't upgrade!) | |
| sudo apt-get install libicu-dev | |
| #undo the changes to sources.list, update again |
| #!/bin/sh | |
| YOU="%%%%%YOUR GIT USERNAME HERE%%%%%" | |
| ## Use with a droplet and Ubuntu 15+ | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get install git vim cmake ninja-build clang python uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config libblocksruntime-dev | |
| sudo apt-get clean; sudo apt-get autoremove; sudo apt-get purge |
| import Glibc | |
| var sz = winsize() | |
| let res = ioctl(0, UInt(TIOCGWINSZ),&sz) | |
| print("Screen width: ", sz.ws_col, "Screen height: " ,sz.ws_row) |