Skip to content

Instantly share code, notes, and snippets.

Kleo Bercero kbeflo

Block or report user

Report or block kbeflo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bash-cycle-possibilities
# Copy and paste this into
nano ~/.inputrc
# Completion case-insensitive
set completion-ignore-case On
# Tab to cycle through all possible completions
TAB: menu-complete
# Shift + tab to cycle backwards
kbeflo / raspberrypi-usb-tether
Created Nov 13, 2016
Raspberry Pi USB Tether
View raspberrypi-usb-tether
#modify interfaces file
sudo nano /etc/network/interfaces
auto usb0
allow-hotplug usb0
iface usb0 inet static
kbeflo /
Created Nov 26, 2016
Keybase proof

Keybase proof

I hereby claim:

  • I am kbeflo on github.
  • I am kbeflo ( on keybase.
  • I have a public key whose fingerprint is 52FA 301B EA28 88E5 E87F 42FF C451 5286 21C7 7B4E

To claim this, I am signing this object:

View timer.bat
@echo off
setlocal EnableDelayedExpansion
set "startTime=%time: =0%"
set /P "=Any process here..."
set "endTime=%time: =0%"
View macchanger
# /etc/cron.d/macchanger
@reboot root sleep 15
@reboot root macchanger -r eth0
kbeflo / wget.bat
Last active Aug 10, 2017 — forked from parzonka/call-wget-example.bat
wget for windows cmd (credits:
View wget.bat
cscript /nologo wget.js
kbeflo / youtube-dl-m4a
Last active Mar 10, 2018
youtube-dl-m4a alias
View youtube-dl-m4a
# Usage
# youtube-dl-m4a <video URL>
alias youtube-dl-m4a='youtube-dl -f bestaudio -f m4a'
kbeflo / wav-mp3
Created Apr 19, 2018 — forked from championofblocks/wav-mp3
Command line bash to convert all wav to mp3
View wav-mp3
for i in *.wav; do lame -b 320 -h "${i}" "${i%.wav}.mp3"; done
kbeflo /
Created Apr 22, 2018 — forked from umardx/
Using a Raspberry Pi 3 as a Wifi access point and bridge

The specificity of my setup, is that the Raspberry won’t be a router but a bridge. DHCP is thus delegated to the main ADSL router and all devices connected to the AP will appear on the same network than other devices. The instructions below are based on a fresh Raspbian lite install so that it can be reproduced easily.

Install the required packages :

$ sudo apt-get install -y bridge-utils hostapd

To create a bridge, we need to enable ip_forward in the kernel, for that, edit /etc/sysctl.conf and remove comment (#) from the following line :

kbeflo / gist:aeec984687cae882f4739f1563c06c58
Created Jul 24, 2018 — forked from Manu343726/gist:ca0ceb224ea789415387
Running ARM docker image with QEMU on x86_64 Arch Linux host
View gist:aeec984687cae882f4739f1563c06c58
# Install quemu, docker, etc
yaourt -S qemu qemu-user-static binfmt-support
# The quemu-user-static AUR package is outdated and broken. The .deb package they pull is no longer in the ubuntu repository.
# Edit the PKGBUILD and use qemu-user-static_2.4+dfsg-3_amd64.deb (With SHA1 sum "84d83a16c60c82b6c579f2f750b04a3ac26c249b")
# Enable ARM emulation
update-binfmts --enable qemu-arm
You can’t perform that action at this time.