Skip to content

Instantly share code, notes, and snippets.

Seiko thegreatestminer

View GitHub Profile
thegreatestminer / .bash_aliases
Created May 14, 2020
google drive download bash alias, by @beliys & @vladalive | gdl <fileid> <filename>
View .bash_aliases
function gdl () {
CONFIRM=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "$1" -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')
wget --load-cookies /tmp/cookies.txt "$CONFIRM&id=$1" -O $2
rm -rf /tmp/cookies.txt
thegreatestminer / ssh
Last active Apr 4, 2020 — forked from yashkumaratri/Google Colab SSH
Allows you to connect to your Google Colab by using ssh and ngrok.
View ssh
#@markdown <h2><- Click here to enable SSH.</h2>
#@markdown <h4>Get authtoken from <a href="">ngrok.</a></h4>
import string, time
authtoken = "CHANGE THIS" #@param {type:"string"}
sshpassword = "CHANGE THIS" #@param {type:"string"}
#Download ngrok
! wget -q -c -nc
! unzip -qq -n
#Setup sshd
thegreatestminer /
Last active Jan 10, 2020
another small set up script
mv youtube-dl /usr/bin/
chmod +x /usr/bin/youtube-dl
apt install python3.7
rclone copy drive:PixivUtil2-BLANK.7z ./ -P && 7z x PixivUtil2-BLANK.7z && rm PixivUtil2-BLANK.7z
thegreatestminer /
Last active Jan 5, 2020
vnc for colab, assumes you already tunneled SSH, because having a command run for 3 minutes is unethical
apt update
apt install xfce4 xfce4-goodies tightvncserver firefox
echo "#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
thegreatestminer / tenkinoko.txt
Last active Oct 2, 2019
Tenki no Ko (Weathering With You) - Intro subtitles
View tenkinoko.txt
Original video: Tenki no Ko.mp4
Transcribed by zTG
Some dialogue is missing due to there being no English subtitles in the original video.
Please support the creators and watch the movie in theaters and buy the DVD/Blu-Rays once they come out.
*This is a story only she and I know about.*
thegreatestminer /
Last active Sep 16, 2019
A direct copy of the official lyrics of world.execute(me); by Mili from the CD scans.
package goddrinksjava;
* The program GodDrinksJavaimplements an application that
* created an empty simulated world with no meaning or purpose.
* @author momocashew
public class GodDrinksJava {
public static void main(String[] args) {
Thing me = new Lovable("Me", 0, true, -1, false);
thegreatestminer /
Last active Jun 5, 2017
osu! comfort changes

Modified Comfort skin changes

  • Background (osu!supporter only) is from SKINWITHOUTNAME. Slightly modified to remove the text.
  • Spinner replaced with small spinner included in the extras folder located in the original Comfort skin.
  • Multiplayer "skipped" image removed. Will revert to default skin's skipped image.
  • Health bar and kidanger replaced with Black 2014's images.
  • Skip button replaced with Black 2014's image.
  • Ready? image taken from osu!skinner's database of images. Ready? image*
  • Hitcircle numbers replaced with dots. Dots taken from Angelsim's skin.
  • Ranking images (A,B,C,D,S) taken from osu!skinner (Ranking Icons, Ranking Icons Big, by kukimonster)
View MAPINFO.txt
episode map01
name = "Simple Maps"
key = "s"
// maps
You can’t perform that action at this time.