Skip to content

Instantly share code, notes, and snippets.

@h0bbel
h0bbel / sources.list
Last active June 29, 2024 11:13
/etc/apt/sources.list for Ubuntu 18.04.1 LTS Bionic Beaver
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
@nzakas
nzakas / techleadbook.md
Created March 20, 2018 20:44
Tech Lead Book

Tech Lead Book

  1. Introduction
  2. What is a Tech Lead?
  3. The Tech Lead Mindset
  4. Becoming a Tech Lead
  5. Working Cross-Functionally
  6. The Art of Delegation
  7. Technical Best Practices
  8. Effective Decision Making
@BaReinhard
BaReinhard / LyndaSub.md
Last active February 25, 2023 16:21
Free Lynda.com Membership

Free Lynda.com Membership

  1. Signup for Los Angeles Library Card Online
  1. Signup for Lynda.com Account using Card number and Pin here
  • You will be emailed your Card Number, and by default the Pin will be the last 4 digist of your phone number used during signup
  1. Follow the form prompts you you'll be good to go.
@dews
dews / Limit mac bandwidth.md
Last active August 12, 2024 15:55
Limit mac bandwidth

Mac limit bandwidth

Enable firewall

Apple menu -> System Preferences -> Security & Privacy -> Firewall

sudo pfctl -e

Example

sudo dnctl pipe 1 config bw 10Kbit/s

@EnigmaCurry
EnigmaCurry / archive_podcast.py
Last active March 9, 2020 15:51
Basic podcast archiving script
"""Convert podcast feeds into an aria2 download script
- Setup feed output directories and URLS
- Run: python archive_podcast.py > aria2.txt
- Run: aria2c -i aria2.txt
Aria2 will download all the episodes and supports resuming of partial downloads
"""
import feedparser
@mondain
mondain / public-stun-list.txt
Last active September 20, 2024 14:55
Public STUN server list
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478
@jfred
jfred / delete-watched-videos-from-playlist.js
Last active January 26, 2022 03:06 — forked from timothyarmstrong/delete-videos-from-playlist.js
Delete all watched videos in YouTube Playlist
(function() {
var i = window.setInterval(function() {
var watched = document.querySelector('.watched');
var closeButton = watched ? watched.parentNode.parentNode.parentNode.querySelector('.pl-video-edit-remove') : false;
if (closeButton) {
closeButton.click();
} else {
window.clearInterval(i);
}
}, 500);
@Bekbolatov
Bekbolatov / tmux.md
Last active July 26, 2024 01:58
Clean tmux cheat-sheet

Clean tmux cheat-sheet

By resources

sessions

list-sessions        ls         -- List sessions managed by server
new-session          new        -- Create a new session
@stvhwrd
stvhwrd / website-dl.md
Last active September 20, 2024 10:05
Download an entire website for offline use with wget. Internal inks will be corrected so that the entire downloaded site will work as it did online.

The best way to download a website for offline use, using wget

There are two ways - the first way is just one command run plainly in front of you; the second one runs in the background and in a different instance so you can get out of your ssh session and it will continue.

First make a folder to download the websites to and begin your downloading: (note if downloading www.SOME_WEBSITE.com, you will get a folder like this: /websitedl/www.SOME_WEBSITE.com/)


STEP 1:

@bzerangue
bzerangue / _verify-repair-permissions-disk.md
Last active September 2, 2024 16:33
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /