$ docker
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
import sys | |
import os | |
import ctypes | |
from PySide.QtGui import * | |
from PySide.QtCore import * | |
from cefpython3 import cefpython | |
class CefWidget(QWidget): | |
browser = None |
OSX - https://github.com/OpenSC/OpenSC/releases/download/0.16.0/OpenSC-0.16.0.dmg
Fedora - sudo dnf install pcsc-tools opensc ccid
ubuntu - sudo dnf install pcsc-tools opensc libccid
archlinux - sudo pacman -S opensc ccid
You will have to start enable the pcscd.socket in the case of arch linux https://wiki.archlinux.org/index.php/Common_Access_Card
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
anycast.slackware.in | |
bind 2a07:1c44:4800::1 | |
log logs/mysite.log | |
tls { | |
dns vultr | |
} | |
proxy / localhost:81 localhost:82 localhost:83 localhost:84 localhost:85 { | |
} |
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
" plugins | |
let need_to_install_plugins = 0 | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
"autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
let need_to_install_plugins = 1 | |
endif | |
call plug#begin() |
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
Clone a hdd using dd rescue. Faster? | |
sudo ddrescue -r 0 -v -v -n /dev/sdd1 /dev/sdc rescue.map --force --min-read-rate=1MB --skip-size=1MB -c 16 |
I hereby claim:
- I am tonybenoy on github.
- I am tonybenoy (https://keybase.io/tonybenoy) on keybase.
- I have a public key whose fingerprint is 84CC 4B4B 3CBE C3E1 9B56 AE3F 392A F228 0089 9E51
To claim this, I am signing this object:
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
# Figure out your own way of syncing apps from | |
# an android device. I use google files and syncthings. | |
# Share the folder with linux. I've named it msapps | |
# I started it as a way to sync Microsoft apps | |
for apk in /mnt/chromeos/MyFiles/Downloads/msapps/*.apk | |
do | |
adb install $apk | |
done |
I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.
OlderNewer