Skip to content

Instantly share code, notes, and snippets.

@tatsumoto-ren
tatsumoto-ren / subs.md
Last active May 20, 2024 16:39
Japanese Subtitles

📓 Table of Contents 📚 Resources ✉️ Chat


kitsunekko.net jp subtitles

A large repository of japanese subtitles that is updated reasonably often and has a clean design.| The most popular one, you can upload your own subs.| Often have to be retimed.

@mraaroncruz
mraaroncruz / steps.md
Last active May 20, 2024 16:35
Get the Telegram channel ID

To get the channel id

  1. Create your bot with botfather
  2. Make you bot an admin of your channel

Simplest way (via @anhtuank7c)

Go to Telegram web and open a channel, get the ID from -[channel id] from hash in the path

https://web.telegram.org/k/#-9999999999999

@ilessing
ilessing / Pandoc Markdown to PDF.md
Last active May 20, 2024 16:35
getting pandoc to generate PDF from Markdown on MacOS

Using Pandoc to generate PDFs from Markdown

on a Mac running macOS 10.13.4

To install the needed components you can use Homebrew

Two Components are needed:

@karlhillx
karlhillx / Dockerfile
Last active May 20, 2024 16:34
Dockerfile to run Tomcat 9 in the latest Ubuntu container
# Docker file for Ubuntu with OpenJDK 18 and Tomcat 9.
FROM ubuntu:latest
LABEL maintainer="Karl Hill <karl.hill@nasa.gov>"
# Set environment variables
ENV TOMCAT_VERSION 9.0.71
ENV CATALINA_HOME /usr/local/tomcat
ENV JAVA_HOME /usr/lib/jvm/java-18-openjdk-amd64
ENV PATH $CATALINA_HOME/bin:$PATH
@ax3l
ax3l / CUDA_Compilers.md
Last active May 20, 2024 16:33
CUDA Compilers
@ikhsanalatsary
ikhsanalatsary / setup_cmder_wsl.md
Last active May 20, 2024 16:30
Setup cmder with WSL 2

Using WSL 2

  1. Open cmder
  2. On the menu, open Settings option and then select Startup > Tasks from the menu tree (or just hit Win + Alt + T)
  3. Click the “+” button to add a new task and fill in the fields as follow:
  4. Name: {zsh::home}
  5. Task Parameters:
    /icon "%CMDER_ROOT%\icons\cmder.ico"
    
@henrik242
henrik242 / airtag-to-gpx-sync.sh
Last active May 20, 2024 16:29
Read AirTag data from the FindMy.app cache and convert to GPX
#!/usr/bin/env bash
#
# Reads AirTag data from the FindMy.app cache and converts it to a daily GPX file
#
# Rsyncs the data to a web accessible folder that can be displayed with e.g.
# https://gist.github.com/henrik242/84ad80dd2170385fe819df1d40224cc4
#
# This should typically be run as a cron job
#
@ummahusla
ummahusla / git-overwrite-branch.sh
Last active May 20, 2024 16:27 — forked from brev/git-overwrite-branch.sh
Git overwrite branch with another branch
# overwrite master with contents of feature branch (feature > master)
git checkout feature # source name
git merge -s ours master # target name
git checkout master # target name
git merge feature # source name
@IngwiePhoenix
IngwiePhoenix / rc.elv
Created May 20, 2024 16:14
Elvish config
use platform
use runtime
use os
use re
use str
fn -get-path-sep {
if $platform:is-windows {
put '\'
} else {
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 20, 2024 16:27
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory