Skip to content

Instantly share code, notes, and snippets.

View EntranceJew's full-sized avatar

EntranceJew EntranceJew

  • ejew.in, llc
  • Saint Petersburg, Florida
View GitHub Profile
@EntranceJew
EntranceJew / PixelDot.shader
Created October 20, 2020 14:58 — forked from Fewes/PixelDot.shader
Renders a screen-aligned, distance-independent, resolution-independent, pixel-perfect quad in Unity. Use it with the built-in quad mesh. You don't have to rotate or scale the mesh renderer, the shader will take care of it.
Shader "FX/PixelDot"
{
Properties
{
[NoScaleOffset] _MainTex ("Texture", 2D) = "white" {}
_Color ("Color", Color) = (1, 1, 1, 1)
_Size ("Pixel Size", Range(1, 64)) = 1
}
SubShader
{
@EntranceJew
EntranceJew / webcrack.js
Last active June 14, 2023 18:22 — forked from twilight-sparkle-irl/webcrack.js
webcrack: mess with webpacked (webpackJsonp) applications
// webcrack, a script that allows you to break webpack.js's sandbox and randomization easily
// made by @NO_BOOT_DEVICE
// licensed under the trust that you will credit me for my work visibly and other than that you can go have fun with this
// window.wc is the webcrack object
// wc.get gives you the module attached to the id you give it.
// literally just what webpack functions use. not much to it
// this is the basic part of all this, everything else is just to allow you to updateproof your code
// both find functions return modules in this format:
@EntranceJew
EntranceJew / index.md
Created August 26, 2017 22:35 — forked from mathisonian/index.md
requiring npm modules in the browser console

demo gif

The final result: require() any module on npm in your browser console with browserify

This article is written to explain how the above gif works in the chrome (and other) browser consoles. A quick disclaimer: this whole thing is a huge hack, it shouldn't be used for anything seriously, and there are probably much better ways of accomplishing the same.

Update: There are much better ways of accomplishing the same, and the script has been updated to use a much simpler method pulling directly from browserify-cdn. See this thread for details: mathisonian/requirify#5

inspiration

@EntranceJew
EntranceJew / _readme.md
Created October 19, 2015 15:30 — forked from josefnpat/.gitignore
MLGUI - Minimal Love Graphical User Interface

MLGUI

Minimal Love Graphical User Interface

selling points:

  • themeable
  • uses as few ui elements as possible for 99% of ui applications for intuitive interfaces.
  • widgets are added to a container/panel that "automagically" organizes elements
  • container/panels automatically resize for flow