Skip to content

Instantly share code, notes, and snippets.

View hbend1li's full-sized avatar
😎
be happy

HBEN hbend1li

😎
be happy
View GitHub Profile
@hsiboy
hsiboy / extroot.md
Last active August 3, 2021 19:51
OpenWrt - increase storage on TP-Link WR703n

Having partitioned and formated (ext4) a usb flash/pen/thumb drive on another linux machine....

install required packages

opkg update
opkg install kmod-usb-storage kmod-fs-ext4 block-mount

check you can see the drive, if not reboot

@nk23x
nk23x / HOWTO.get-m3u-from-soundcloud
Created October 28, 2015 20:06
get m3u playlist from soundcloud sets
## get playlist items from soundcloud
youtube-dl --no-progress -g -e --get-duration https://soundcloud.com/nok/sets/tracks-tracks-tracks >> /tmp/nk23x-soundcloud-trackstrackstracks.txt
## make m3u playlist
echo "#EXTM3U" > nk23x-soundcloud-trackstrackstracks.m3u; cat /tmp/nk23x-soundcloud-trackstrackstracks.txt| perl -p0e 's/(.*)\nhttp(.*)\n([0-9:]{4,15})/#EXTINF:-1,$1 ($3)\nhttp$2/gm;' >> nk23x-soundcloud-trackstrackstracks.m3u
## enjoy :)
@rotassator
rotassator / Default (Windows).sublime-keymap
Created February 10, 2016 22:54
Sublime Text 3: Key Binding - restore Quick Switch Project keystroke
[
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }
]
@iamphilrae
iamphilrae / phpMyAdmin Export Filename Template, Including Date and Time
Last active April 3, 2024 20:30
phpMyAdmin Export Filename Template, Including Date and Time
@DATABASE@__%Y-%m-%d_%H-%M-%S
@GermanAizek
GermanAizek / README.md
Last active July 21, 2024 09:02
Openwrt - Extend disk space for apps

Instructions for expanding space for openwrt programs. In most cases, 2Gb will be enough. We will install the necessary packages for working with USB devices

root@OpenWrt:~# opkg update
root@OpenWrt:~# opkg install nano kmod-usb-core block-mount kmod-fs-ext4 kmod-usb-storage-extras e2fsprogs blkid

After install fdisk package