Skip to content

Instantly share code, notes, and snippets.

@m4har
m4har / coverage
Created Jun 19, 2021
coverage starter minimal nextjs
@snooze6214
snooze6214 / Tree.h
Created Jun 19, 2021
we do a little pretty printed trees here
View Tree.h
#pragma once
#include <vector>
#include <string>
#include <sstream>
#include <algorithm>
#include <ostream>
class TextBox {
public:
View crash.txt
---- Minecraft Crash Report ----
// My bad.
Time: 21-6-19 ??1:44
Description: Batching chunks
java.lang.IllegalStateException: Not building!
at net.minecraft.client.renderer.BufferBuilder.func_178977_d(BufferBuilder.java:399) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default,pl:mixin:APP:notenoughcrashes.mixins.json:client.MixinBufferBuilder,pl:mixin:A}
at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher$ChunkRender$RebuildTask$$Lambda$14788/1490223953.accept(Unknown Source) ~[?:?] {}
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_51] {}
@jumboly
jumboly / WebMercator.cs
Created Jun 19, 2021 — forked from nagasudhirpulla/WebMercator.cs
C# Web Mercator utility class
View WebMercator.cs
/// <summary>
/// Conversion routines for Google, TMS, and Microsoft Quadtree tile representations, derived from
/// http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/
/// </summary>
public class WebMercator
{
private const int TileSize = 256;
private const int EarthRadius = 6378137;
private const double InitialResolution = 2 * Math.PI * EarthRadius / TileSize;
private const double OriginShift = 2 * Math.PI * EarthRadius / 2;
@bibek7890
bibek7890 / enum.sh
Last active Jun 19, 2021
Basic recon
View enum.sh
#!/bin/bash
#making directory for a host
mkdir $1
#starting assetfinder
echo "[+] Starting assetfinder "
@JonnyWong16
JonnyWong16 / rename_seasons_masterclass.py
Created Jun 19, 2021
Rename Masterclass seasons in Plex.
View rename_seasons_masterclass.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Description: Rename season title for TV shows on Plex.
# Author: /u/SwiftPanda16
# Requires: plexapi
from plexapi.server import PlexServer
View gist:0f245f5279d13aaccc8539f83171db0b
android {
aaptOptions {
noCompress "tflite"
}
}
dependencies {
implementation 'org.tensorflow:tensorflow-lite-task-vision:0.1.0'
}
@bennisyiu
bennisyiu / SETUP_DAY.md
Created Jun 19, 2021
Starting my coding journey...
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Jun 19, 2021
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Saturday, June 19, 2021, 12:12:48 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.0.4.0]: 0Harmony(2.0.2), HarmonyMod(1.0.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Interaction Bubbles(Jaxe.Bubbles): Bubbles(1.7.0)
EdB Prepare Carefully(EdB.PrepareCarefully)[mv:1.2.1]: 0Harmony(2.0.2), EdBPrepareCarefully(av:1.1.1,fv:1.2.1)
Better Spots(TheGoofyOne.BetterSpots): (no assemblies)
Replace Stuff(Uuugggg.ReplaceStuff): Replace_Stuff(1.0.0)
Blueprints(fluffy.blueprints)[mv:2.17.133]: BetterKeybinding(1.0.0), Blueprints(av:2.0.0,fv:2.17.137), FluffyExperiment(av:3.0.0,fv:3.8.1063)
View untrusted-lvl5-solution.js
/******************
* minesweeper.js *
******************
*
* So much for Asimov's Laws. They're actually trying to kill
* you now. Not to be alarmist, but the floor is littered
* with mines. Rushing for the exit blindly may be unwise.
* I need you alive, after all.
*
* If only there was some way you could track the positions