Posts

Showing posts from January, 2019

firefox tmpfs

on /etc/fstab add
---------------------------------
tmpfs /home/kai/.mozilla/firefox/2etzk6x3.default  tmpfs size=128M,user,exec,ui$


------------------------
mount  -a
-----------------
shh.sh
#!/bin/bash

# Change this to match your correct profile
PROFILE="2etzk6x3.default"

cd "${HOME}/.mozilla/firefox"

if test -z "$(mount | grep -F "${HOME}/.mozilla/firefox/${PROFILE}" )"
then
    mount "${HOME}/.mozilla/firefox/${PROFILE}"
fi

if test -f "${PROFILE}/.unpacked"
then
    rsync -av --delete --exclude .unpacked ./"$PROFILE"/ ./profile/
else
    rsync -av ./profile/ ./"$PROFILE"/
    touch "${PROFILE}/.unpacked"
fi

exit


--------------------------------------
fc.sh
rm -rfd /home/kai/.mozilla/firefox/2etzk6x3.default/*

---------------------------------------------

vimium

brainfuck language

http://fatiherikli.github.io/brainfuck-visualizer/
https://en.wikipedia.org/wiki/Brainfuck


>increment the data pointer (to point to the next cell to the right).<decrement the data pointer (to point to the next cell to the left).+increment (increase by one) the byte at the data pointer.-decrement (decrease by one) the byte at the data pointer..output the byte at the data pointer.,accept one byte of input, storing its value in the byte at the data pointer.[if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching] command.]if the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it back to the command after the matching[ command.!if the exclaim box is checked, allows the interpreter to use all characters to the right of the ! as program input.
brainfuck commandC equivalent(Program Start)chararray[INFINITELY_L…