Note where home is
(RaspberryPi2)root@localhost:~# df -h /home/
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p4 1.6G 1.3G 160M 89% /oem
(RaspberryPi2)root@localhost:~# df -h
tar xvfz Tomb-2.9.tar.gz | |
cd Tomb-2.9 | |
sudo make install | |
# 300MB disk | |
tomb dig -s 300 locked.tomb | |
tomb forge locked.tomb.key | |
Note where home is
(RaspberryPi2)root@localhost:~# df -h /home/
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p4 1.6G 1.3G 160M 89% /oem
(RaspberryPi2)root@localhost:~# df -h
// v1.1.2 | |
var https = require('https'); | |
var zlib = require('zlib'); | |
var crypto = require('crypto'); | |
var endpoint = '<aws es endpoint>'; | |
exports.handler = function(input, context) { | |
// decode input from base64 | |
var zippedInput = new Buffer(input.awslogs.data, 'base64'); |
brew install pv | |
echo "cp_with_progress() { pv < $1 > $2; }" >> .profile | |
# restart shell | |
cp_with_progress somefile somenewfile |
(ns pico) | |
;; basic-mod1 | |
;; | |
(def data [91 322 57 124 40 406 272 147 239 285 353 272 77 110 296 262 299 323 255 337 150 102]) | |
(def alph | |
"0-25 is the alphabet (uppercase), 26-35 are the decimal digits, and 36 is an underscore." |
# https://wiki.archlinux.org/title/Securely_wipe_disk | |
❯ sudo shred --verbose --random-source=/dev/urandom -n1 --zero /dev/sdX | |
shred: /dev/sdb: pass 1/2 (random)... | |
shred: /dev/sdb: pass 1/2 (random)...134MiB/932GiB 0% | |
shred: /dev/sdb: pass 1/2 (random)...319MiB/932GiB 0% | |
shred: /dev/sdb: pass 1/2 (random)...503MiB/932GiB 0% |
Pick one of these approaches
Pick this approach if you want to show the status in the menu bar, like this https://share.getcloudapp.com/9Zu8Ok97
cd | |
git clone git@github.com:Frogging-Family/wine-tkg-git.git Code/wine-tkg-git | |
pushd Code/wine-tkg-git/wine-tkg-git | |
git checkout master | |
# vim customizations.cfg: _staging_version="v7.15", _use_fsync="true" | |
# why tho? | |
rm -rf wine-tkg-patches/hotfixes/mfplat | |
# select 0, the customizations has settings for fsync |
import java.util.* | |
import java.lang.Integer.parseInt | |
typealias Coord = Pair<Int, Int> | |
fun Coord.x() = first | |
fun Coord.y() = second | |
typealias Move = Pair<Direction, Coord> |
/** | |
* __proto__ and prototype | |
* - the __proto__ property the instance's 'parent' up the prototype chain | |
* - the prototype property refers what new instances of the type will have their __proto__ set to, i.e. what will be the new instance's 'parent' up the prototype chain | |
*/ | |
/* Given */ | |
function Object () {} | |
Object.prototype = { | |
__proto__: null |