Skip to content

Instantly share code, notes, and snippets.

View jso8910's full-sized avatar

Jason R jso8910

  • 03:37 (UTC +08:00)
View GitHub Profile
// ==UserScript==
// @name @chaoticvibing Twitter Blue Nerd - twitter.com
// @namespace Violentmonkey Scripts
// @match *://*.twitter.com/*
// @grant none
// @version 1.2.0
// @author @chaoticvibing - GH @busybox11 - forked by GH @jso8910
// @description 11/9/2022, 11:45:28 PM
// @updateURL https://gist.githubusercontent.com/jso8910/738753b00f4fbf850d2661deb0670a98/raw/2c228b25ddb1b36c22f3ad475ecb3f0dd8930660/twitterblue-nerd.js
// @downloadURL https://gist.githubusercontent.com/jso8910/738753b00f4fbf850d2661deb0670a98/raw/2c228b25ddb1b36c22f3ad475ecb3f0dd8930660/twitterblue-nerd.js
#!/usr/bin/env python3
"""
A userscript to display all things running on localhost.
Either that or to open up a localhost given a port as input.
"""
import os
from shlex import join
import psutil
from jinja2 import Template
@jso8910
jso8910 / nyarchascii
Created March 13, 2021 01:31
Just run `neofetch --ascii nyarchascii --gap '-250'`
\033[38;2;113;199;242m x*
&@&
&@@@&
&@@@@@@
@@@@@@@@x
@@@@@@@@@&0xx
0@@@@@@@@@@@@@
&@@@@@@@@@@@@
&@@@@@@@@@@@@@&
&@@@@@@@@@@@@@@@&
@jso8910
jso8910 / nyarch.sh
Last active September 29, 2022 21:16
#!/bin/sh
#CYAN='\033[1;36m'
CYAN='\033[38;2;113;199;242m'
CYAN2='\033[38;2;180;230;255m'
BLUE='\033[38;2;34;152;211m'
PINK='\033[38;2;251;174;203m'
echo -e "$(
cat << EOF
${CYAN}
companion object {
private fun bindPreferenceSummaryToValue(preference: Preference) {
preference.onPreferenceChangeListener = sBindPreferenceSummaryToValueListener
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(preference.context)
if (preference is CheckBoxPreference) {
sBindPreferenceSummaryToValueListener.onPreferenceChange(
preference,
import requests
token = 'YOUR.TOKEN.HERE'
query = 'THING TO SEARCH'
when = 'EARLIEST IT CAN BE POSTED (RELATIVE)'
excluding = 'STRING TO EXCLUDE'
requiring = 'STRING TO REQUIRE'
response = requests.get('http://0.0.0.0:5000/api?query=' + query +
'&time=' + when +