Skip to content

Instantly share code, notes, and snippets.

View tonybenoy's full-sized avatar
🦀

Tony Benoy tonybenoy

🦀
View GitHub Profile
@tonybenoy
tonybenoy / test_layout_cefbrowser.py
Created June 3, 2018 15:16 — forked from mmolero/test_layout_cefbrowser.py
CefBrowser inside of a Qt Layout
import sys
import os
import ctypes
from PySide.QtGui import *
from PySide.QtCore import *
from cefpython3 import cefpython
class CefWidget(QWidget):
browser = None
@tonybenoy
tonybenoy / docker-help.md
Created December 29, 2018 20:55 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@tonybenoy
tonybenoy / README-Template.md
Created January 21, 2019 10:26 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@tonybenoy
tonybenoy / hardware_token.md
Last active June 8, 2019 19:58 — forked from sandys/hardware_token.md
Registering a hardware token
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 {
}
@tonybenoy
tonybenoy / .vimrc
Created May 7, 2020 21:27 — forked from miguelgrinberg/.vimrc
My .vimrc configuration for working in Python with vim
" 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()
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

Keybase proof

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:

@tonybenoy
tonybenoy / chromebook-apk-updater.sh
Last active February 6, 2023 09:18
Install apps from Android device to chromebook
# 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
@tonybenoy
tonybenoy / Arch Linux ARM on Crostini.md
Last active February 8, 2023 12:49 — forked from baldrailers/Arch Linux ARM on Crostini.md
Arch Linux ARM on Crostini

Arch Linux ARM on Crostini

Screenshot

I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.

0. Before we begin