Skip to content

Instantly share code, notes, and snippets.

View simoniz0r's full-sized avatar
💭
Why does github have statuses?

Syretia simoniz0r

💭
Why does github have statuses?
View GitHub Profile
@simoniz0r
simoniz0r / lftp_AppImage_build.sh
Created September 28, 2017 05:47
Bash script for building AppImage release of lftp
#!/bin/bash -e
# Script for building AppImage release of lftp
BUILD_DIR="$HOME/AppImages/lftp"
VERSION="4.8.1-1"
mkdir -p "$BUILD_DIR"/deps/extracted
mkdir "$BUILD_DIR"/lftp.AppDir
wget --no-verbose --read-timeout=30 "http://ftp.us.debian.org/debian/pool/main/l/lftp/lftp_4.8.1-1_amd64.deb" -O "$BUILD_DIR"/deps/lftp.deb
wget --no-verbose --read-timeout=30 "http://ftp.us.debian.org/debian/pool/main/g/gnutls28/libgnutls30_3.5.8-5+deb9u2_amd64.deb" -O "$BUILD_DIR"/deps/libgnutls30.deb
@simoniz0r
simoniz0r / warpworld_smm2_api_endpoints.md
Last active January 5, 2020 08:23
API Endpoints for warp.world Super Mario Maker 2 multiqueue

Temporary documentation-ish thing for the warp.world Super Mario Maker 2 Multiqueue. Mostly just a list of endpoints with a tad bit of info on how to use them as I figure them out.

Endpoints (all urls start with https://api.warp.world):

  • View user details
/<user>
  • View current queue
<title>tinystatus</title><style>

body { font-family: segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,helvetica neue,Verdana,sans-serif; } h1 { margin-top: 30px; } ul { padding: 0px; } li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px solid #ddd; } .container { max-width: 600px; width: 100%; margin: 15px auto; } .panel { text-align: center; padding: 10px; border: 0px; border-radius: 5px; } .failed-bg { color: white; background-color: #E25D6A; } .success-bg { color: white; background-color: #52B86A; } .failed { color: #E25D6A; }

@simoniz0r
simoniz0r / teststatus
Created January 11, 2022 15:37
teststatus
whyyouno
@simoniz0r
simoniz0r / status
Created January 11, 2022 15:39
status
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Syretia.cf Status</title><style>
body { font-family: segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,helvetica neue,Verdana,sans-serif; }
h1 { margin-top: 30px; }
ul { padding: 0px; }
li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px solid #ddd; }
.container { max-width: 600px; width: 100%; margin: 15px auto; }
.panel { text-align: center; padding: 10px; border: 0px; border-radius: 5px; }
.failed-bg { color: white; background-color: #E25D6A; }
.success-bg
.failed { color: #E25D6A; }
@simoniz0r
simoniz0r / status
Created January 11, 2022 15:41
status
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Syretia.cf Status</title><style>
body { font-family: segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,helvetica neue,Verdana,sans-serif; }
h1 { margin-top: 30px; }
ul { padding: 0px; }
li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px solid #ddd; }
.container { max-width: 600px; width: 100%; margin: 15px auto; }
.panel { text-align: center; padding: 10px; border: 0px; border-radius: 5px; }
.failed-bg { color: white; background-color: #E25D6A; }
.success-bg
.failed { color: #E25D6A; }
@simoniz0r
simoniz0r / status
Last active January 11, 2022 15:44
status
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Syretia.cf Status</title><style>
body { font-family: segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,helvetica neue,Verdana,sans-serif; }
h1 { margin-top: 30px; }
ul { padding: 0px; }
li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px solid #ddd; }
.container { max-width: 600px; width: 100%; margin: 15px auto; }
.panel { text-align: center; padding: 10px; border: 0px; border-radius: 5px; }
.failed-bg { color: white; background-color: #E25D6A; }
.success-bg
.failed { color: #E25D6A; }
@simoniz0r
simoniz0r / status
Last active January 11, 2022 15:46
status
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Syretia.cf Status</title><style>
body { font-family: segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,helvetica neue,Verdana,sans-serif; }
h1 { margin-top: 30px; }
ul { padding: 0px; }
li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px solid #ddd; }
.container { max-width: 600px; width: 100%; margin: 15px auto; }
.panel { text-align: center; padding: 10px; border: 0px; border-radius: 5px; }
.failed-bg { color: white; background-color: #E25D6A; }
.success-bg { color: white; background-color: #52B86A; }
.failed { color: #E25D6A; }
@simoniz0r
simoniz0r / status
Last active January 13, 2022 12:00
status
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Syretia.cf Status</title><style>
body { font-family: segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,helvetica neue,Verdana,sans-serif; }
h1 { margin-top: 30px; }
ul { padding: 0px; }
li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px solid #ddd; }
.container { max-width: 600px; width: 100%; margin: 15px auto; }
.panel { text-align: center; padding: 10px; border: 0px; border-radius: 5px; }
.failed-bg { color: white; background-color: #E25D6A; }
.success-bg { color: white; background-color: #52B86A; }
.failed { color: #E25D6A; }
@simoniz0r
simoniz0r / gsb.md
Last active September 24, 2024 02:25
Documentation for Google Safe Browsing undocumented API

https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=domainhere:

When we get the results from the endpoint above, the actual results we want will be on the 3rd line. The first line will contain )]}', and the second line will be blank. Ignore both of those lines and get the results from the 3rd line.

Ex:

$ curl -sL 'https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=testsafebrowsing.appspot.com' | tail -n -1
[["sb.ssr",3,1,0,1,1,0,1628410274243,"https://testsafebrowsing.appspot.com"]]