Skip to content

Instantly share code, notes, and snippets.

View BachoSeven's full-sized avatar
🎩
thinking

Francesco Minnocci BachoSeven

🎩
thinking
View GitHub Profile
@junegunn
junegunn / b.rb
Last active January 26, 2023 14:34
b - browse Chrome bookmarks with fzf
#!/usr/bin/env bash
# vim: set filetype=ruby:
# b - browse Chrome bookmarks with fzf
[ $(uname) = Darwin ] || exit 1
which fzf > /dev/null 2>&1 || brew reinstall --HEAD fzf || exit 1
/usr/bin/ruby -x "$0" |
fzf-tmux -u 30% --ansi --multi --no-hscroll --tiebreak=begin |
awk 'BEGIN { FS = "\t" } { print $2 }' |
@paulirish
paulirish / how-to-view-source-of-chrome-extension.md
Last active September 3, 2025 17:41
How to view-source of a Chrome extension

Option 1: Command-line download extension as zip and extract

extension_id=jifpbeccnghkjeaalbbjmodiffmgedin   # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc" 
unzip -d "$extension_id-source" "$extension_id.zip"

Thx to crxviewer for the magic download URL.

@jeffsharpe
jeffsharpe / arch-install-uefi-gpt-lvm_on_luks.sh
Last active July 28, 2022 20:15
Arch Linux Installation Notes - UEFI GPT LVM on LUKS (single drive)
### Arch Linux Installation Notes
### UEFI GPT LVM on LUKS (single drive)
###
### These are my personal notes to install Arch. Its not a script, but step by step instructions. If using
### please be aware that every step should be considered before applying, to personalize your
### installations appropriately.
###
# boot to arch linux boot prompt
@TravelingTechGuy
TravelingTechGuy / get_history.sh
Created May 9, 2016 14:10
Get your Chrome history as a CSV file
#!/bin/bash
# Locate the history file in your profile, and copy it to the same folder as this script.
# On Mac: ~/Library/Application\ Support/Google/Chrome/Default/History
# On Windows: C:\Users\YOUR USER NAME\AppData\Local\Google\Chrome\User Data\Default\History
sqlite3 History <<!
.headers on
.mode csv
.output out.csv
@y0no
y0no / mizip_calc.py
Created July 5, 2016 10:09
Mizip keys calculator
#!/usr/bin/env python
# This script is an implementation of lua code written by Iceman:
# https://github.com/iceman1001/proxmark3/blob/master/client/scripts/calc_mizip.lua
# Thanks to him!
import sys
xortable = (
('001', '09125a2589e5', 'F12C8453D821'),
('002', 'AB75C937922F', '73E799FE3241'),
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(int argc, char *argv[])
{
unsigned long value;
char *terminatedAt;
anonymous
anonymous / .bashrc
Created September 27, 2016 19:19
How to change cursor shape, color, and blinkrate of Linux Console
##############
# pretty prompt and font colors
##############
# alter the default colors to make them a bit prettier
echo -en "\e]P0000000" #black
echo -en "\e]P1D75F5F" #darkred
echo -en "\e]P287AF5F" #darkgreen
echo -en "\e]P3D7AF87" #brown
echo -en "\e]P48787AF" #darkblue
ffmpeg -i data/video.mp4 -vcodec h264 -b:v 1000k -acodec mp2 data/output.mp4
@plieningerweb
plieningerweb / zenbook-ux310-ua-ubuntu-16-10.md
Last active February 3, 2021 16:00
Ubuntu 16.10 Linux on Asus ZenBook UX310UA

Ubuntu 16.10 on Asus ZenBook UX310UA

What is working:

  • Keyboard
    • Backlight control
    • Screenlight contro
    • Volumne, Display on/off, Touchbad
    • Seems like everything is working
  • Trackpad is ok
  • Wireless