Skip to content

Instantly share code, notes, and snippets.

View ohsevin's full-sized avatar
🤞
h🔑🔑ding

✘ ⓞⓗⓢⓔⓥ.ⓘⓝ ✘ ohsevin

🤞
h🔑🔑ding
View GitHub Profile
@keeferrourke
keeferrourke / install-google-fonts.sh
Last active May 22, 2023 12:38
A bash script to install all Google Fonts, system wide, on debian based systems (ex. Ubuntu)
#!/bin/sh
# Written by: Keefer Rourke <https://krourke.org>
# Based on AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git>
# dependancies: fonts-cantarell, ttf-ubuntu-font-family, git
sudo apt-get install fonts-cantarell ttf-ubuntu-font-family git
srcdir="/tmp/google-fonts"
pkgdir="/usr/share/fonts/truetype/google-fonts"
giturl="git://github.com/google/fonts.git"
@monsieurh
monsieurh / lutim.py
Created July 22, 2016 10:44
Uploads an image to LUTIM (http://lut.im/)
#!/usr/bin/env python3
import argparse
import os
import sys
import requests
from bs4 import BeautifulSoup
@random-robbie
random-robbie / BBC.m3u
Last active November 10, 2025 21:11
BBC HLS Streams - let me know if i missed any
#EXTM3U
#EXTINF:-1 tvg-id="BBC One HD" tvg-name="BBC One HD" tvg-logo="https://s4.postimg.org/k5xl5dmf1/bbc_one.png" group-title="BBC",BBC One HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_hd.m3u8
#EXTINF:-1 tvg-id="BBC One London" tvg-name="BBC One London" tvg-logo="https://s4.postimg.org/z61nj8qd9/Bbc_london_logo.jpg" group-title="BBC",BBC One London
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8
#EXTINF:-1 tvg-id="BBC One Northern Ireland HD" tvg-name="BBC One Northern Ireland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Northern Ireland HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_northern_ireland_hd.m3u8
#EXTINF:-1 tvg-id="BBC One Scotland HD" tvg-name="BBC One Scotland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Scotland HD
http://a.fi
@stupidpupil
stupidpupil / GalliumOS on Edgar.markdown
Last active September 23, 2025 13:07
Guide to installing GalliumOS on an Acer Chromebook 14" (CB3-431) 'Edgar'

GalliumOS on Edgar

This document sets out how I installed GalliumOS 2.1 on a new Acer Chromebook 14" (CB3-431) 'Edgar' in April 2017. I installed GalliumOS on the internal eMMC storage, but left Chrome OS in place (allowing dual-booting).

It is meant to be an easy-to-follow and particularly thorough (if repetitive) guide, but I make no warranty that it will work correctly for you. It will wipe all data on your Edgar.

I have tried to provide references for each section; see the GalliumOS wiki guide to chrx installation for an overview of the general process.

⚠ Caution: There have been reports of Edgars' speakers overheating, due to a malfunction of the audio hardware, when booted into anything other than Chrome OS. I have not experienced this, and it seems to be believed that this will not now occur under GalliumOS. More information can be found in the comments for the [GalliumOS Braswell Platform Validation

adb and fastboot must know

Install android SDK (bottom of the page) or full android studio if you need to develop on android.

fastboot looks like adb but it is used when device is in bootloader (or fastboot).

Check connected devices

adb:

@vanyasem
vanyasem / install.sh
Last active May 28, 2018 07:44
*buntu 16.04 - Auto-install must have packages
# You can run this script as many times as you want, it won't harm your machine
# Android Studio and/or JetBrains Toolbox may be outdated, but they have a built-in updater, so that's not a big deal
#
# List of Software included:
# BEGIN LITE
# - Main Python packages (+bpython)
# - PulseAudio Equalizer
# - openssh-server & sshfs & denyhosts
# - "joke" packages: sl & cowsay & fortune & lolcat
# - htop, iotop
#!/bin/bash
#
# chrx-install
#
# chromebook unix installer
#
## Provided for sharing & modifying purposes by gist of github.com/ninetyfivenorth
CHRX_VERSION="2.4.3"
## Netflix Secret Codes List:
Action & Adventure: 1365
Action Comedies: 43040
Action Sci-Fi & Fantasy: 1568
Action Thrillers: 43048
Adult Animation: 11881
Adventures: 7442
African Movies: 3761
Alien Sci-Fi: 3327
# bitstamp-widget
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import decimal
D = decimal.Decimal
import bitstamp.client
statusfile = '/home/artik/.bitstamp-widget-status.txt'
# Add /etc/sysctl.conf improvements found below to the bottom of configuration file
## sudo nano /etc/hosts
127.0.0.1 localhost.localdomain localhost
127.0.1.1 minntyFreesh
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix