Skip to content

Instantly share code, notes, and snippets.

@bbtdev
bbtdev / note9_debloat.sh
Created March 6, 2019 08:25
Note 9 debloat script
#!/usr/bin/env bash
# ======================================================
# INFO {{{
# search packages
# adb shell pm list packages | grep package
# DISABLE/ENABLE
Rails.application.config.middleware.use OmniAuth::Builder do
provider :testing, Settings.oauth.testing.key, Settings.oauth.testing.secret
end
you need to set the scale in elementary_config
this is an application that should come with terminology, if not install: sudo apt install libelementary-bin
~/.w3m/keymap
keymap C-o NEXT_PAGE
default keymaps https://github.com/tokuhirom/w3m/blob/master/doc-jp/keymap.default
functions https://github.com/tats/w3m/blob/master/doc/README.func
Usefull functions:
SUBMIT - to submit the form (bind to C-o)
Press Alt+F2 to bring up the Run dialog. T
ype gnome-session-properties. Click the "Add" button.
In the resulting dialog box give the name a and the command as conky. Click add and close.
conky.config = {
alignment = 'top_right',
background = true,
color2 = '2ECC71',
cpu_avg_samples = 2,
default_color = 'FFFFFF',
double_buffer = true,
font = 'Bitstream Vera Sans:size=8',
gap_x = 25,
gap_y = 13,
conky.config = {-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'desktop',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
conky.config = {
alignment = 'bottom_left',
background = true,
color2 = '2ECC71',
cpu_avg_samples = 2,
default_color = 'FFFFFF',
double_buffer = true,
font = 'Bitstream Vera Sans:size=8',
gap_x = 25,
gap_y = 45,
@bbtdev
bbtdev / gist:3bf21bc999edd60c408f22735d0bdf02
Created November 28, 2018 17:32
monitor-http-requests
sudo tcpdump -s 0 -A 'tcp dst port 80 and (tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354)'
BUT DOING IN A TEMP DIR IT CREATES FILES!!!