Skip to content

Instantly share code, notes, and snippets.

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

✘ ⓞⓗⓢⓔⓥ.ⓘⓝ ✘ ohsevin

🤞
h🔑🔑ding
View GitHub Profile
@ohsevin
ohsevin / volume_scroll.ahk
Created December 11, 2022 10:08 — forked from thefloodshark/volume_scroll.ahk
Hover over any taskbar and mouse wheel scroll to change volume
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#If MouseIsOver("ahk_class Shell_TrayWnd") or MouseIsOver("ahk_class Shell_SecondaryTrayWnd")
WheelUp::Send {Volume_Up}
WheelDown::Send {Volume_Down}
MouseIsOver(WinTitle)
@ohsevin
ohsevin / JetBrainsMono Nerd Font.css
Created November 23, 2022 09:57 — forked from chuseman/JetBrainsMono Nerd Font.css
JetBrains Mono Nerd Fonts for Blink Shell
@font-face {
font-family: "JetBrainsMono Nerd Font";
font-style: normal;
font-weight: 100;
src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/JetBrainsMono/Ligatures/Thin/complete/JetBrains%20Mono%20Thin%20Nerd%20Font%20Complete.ttf') format('truetype');
}
@font-face {
font-family: "JetBrainsMono Nerd Font";
font-style: normal;
@ohsevin
ohsevin / IPTV-big-list.m3u
Created November 23, 2022 09:48 — forked from onigetoc/IPTV-big-list.m3u
IPTV big list.m3u
#EXTM3U
#EXTINF:0 tvg-name="Newsmax TV" tvg-language="English" tvg-country="CA" tvg-id="Newsmax-TV" tvg-logo="https://i.imgur.com/Twkovic.gif" group-title="Entertainment",Newsmax TV
https://nmxlive.akamaized.net/hls/live/529965/Live_1/index.m3u8
#EXTINF:0 tvg-logo="https://i.imgur.com/ODIWC6n.jpg" tvg-name="Infowars1" tvg-id="Infowars1" group-title="News",Infowars Live1
https://infostream.secure.footprint.net/hls-live/infostream-infostream/_definst_/master.m3u8
#EXTINF:0 tvg-logo="https://i.imgur.com/ODIWC6n.jpg" tvg-name="Infowars" tvg-id="Infowars" group-title="News",Infowars Live 2
https://infowarslive-lh.akamaihd.net/i/infowarsevent_1@366809/master.m3u8
#EXTINF:0 tvg-name="Russia today News" tvg-country="RU" tvg-language="English" tvg-logo="https://i.imgur.com/QY4B8Hg.png" group-title="News",RT News
https://rt-news-gd.secure2.footprint.net/1103.m3u8
#EXTINF:0 tvg-name="Russia today USA" tvg-country="RU" tvg-language="English" tvg-logo="https://i.imgur.com/QY4B8Hg.png" group-title="News",RT USA

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:

@ohsevin
ohsevin / kali-archive-keyring.sh
Created October 17, 2022 13:52 — forked from FrangaL/kali-archive-keyring.sh
Download the Kali archive keyring
#!/bin/bash
set -e
## Alternative 1
# Key server
alternative1() {
KEY_SRV=${KEY_SRV:-"keyserver.ubuntu.com"}
#GPG_KEY="7D8D0BF6"
GPG_KEY="ED444FF07D8D0BF6"

Install raspbian, set up your users however you would like, so long as you have sudo access on the user you are running this with. You probably want to resize the image so it fills the SD card as well.

  1. Copy this entire gist to your raspberry pi
  2. Do chmod +x step1.sh step2.sh iptables.sh in the gist folder (so that
  3. Run step1.sh a) This script does a few things - it first updates your raspberry pi, then it installs a few needed utilities, then it upgrades the firmware on your raspberry pi
@ohsevin
ohsevin / reclaimWindows10.ps1
Created June 8, 2022 13:12 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
@ohsevin
ohsevin / vscode-extensions.sh
Created June 3, 2022 14:39 — forked from matthiasott/vscode-extensions.sh
A bash script to install Visual Studio Code extensions via the CLI
# https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
code --install-extension aaron-bond.better-comments
# https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager
code --install-extension alefragnani.project-manager
# https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client
code --install-extension bmewburn.vscode-intelephense-client
# https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense
@ohsevin
ohsevin / atb.sh
Created March 2, 2022 15:50 — forked from xhdix/atb.sh
android Tor+obfs4-bridge installer in Termux
#!/data/data/com.termux/files/usr/bin/sh
#android Tor+bridge installer
## get new bridges from: https://bridges.torproject.org/bridges?transport=obfs4
## and edit with:
####$ vi $PREFIX/etc/tor/torrc
## or
## look sample:
####$ pkg install curl -y
####$ curl -L https://git.io/fjK3Y -o atba.sh
####$ bash ./atba.sh
@ohsevin
ohsevin / IPTV-big-list.m3u
Created February 27, 2022 06:20 — forked from jonathanhammond/IPTV-big-list.m3u
IPTV big list.m3u
#EXTM3U
#EXTINF:0 tvg-name="Newsmax TV" tvg-language="English" tvg-country="CA" tvg-id="Newsmax-TV" tvg-logo="https://i.imgur.com/Twkovic.gif" group-title="Entertainment",Newsmax TV
https://nmxlive.akamaized.net/hls/live/529965/Live_1/index.m3u8
#EXTINF:0 tvg-logo="https://i.imgur.com/ODIWC6n.jpg" tvg-name="Infowars1" tvg-id="Infowars1" group-title="News",Infowars Live1
https://infostream.secure.footprint.net/hls-live/infostream-infostream/_definst_/master.m3u8
#EXTINF:0 tvg-logo="https://i.imgur.com/ODIWC6n.jpg" tvg-name="Infowars" tvg-id="Infowars" group-title="News",Infowars Live 2
https://infowarslive-lh.akamaihd.net/i/infowarsevent_1@366809/master.m3u8
#EXTINF:0 tvg-name="Russia today News" tvg-country="RU" tvg-language="English" tvg-logo="https://i.imgur.com/QY4B8Hg.png" group-title="News",RT News
https://rt-news-gd.secure2.footprint.net/1103.m3u8
#EXTINF:0 tvg-name="Russia today USA" tvg-country="RU" tvg-language="English" tvg-logo="https://i.imgur.com/QY4B8Hg.png" group-title="News",RT USA