Skip to content

Instantly share code, notes, and snippets.

View judasnow's full-sized avatar
🏠
Working from home

judasnow

🏠
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
Metal Gear Solid PSX Full text dump
Ver 1.1.0
Introduction
-------------------------
This is the complete dump of Metal Gear Solid. there is a lot of info to be read here. The format is quite simple. First each line has the address the text was taken from, and then the text.
Contents:
@judasnow
judasnow / debounce-lodash.js
Created May 7, 2024 09:44 — forked from Yawenina/debounce-lodash.js
lodash debounce and throttle source code
const nativeMax = Math.max;
const nativeMin = Math.min;
function debounce(func, wait, options) {
let lastArgs,
lastThis,
maxWait,
result,
timerId,
lastCallTime,
lastInvokeTime = 0,
@judasnow
judasnow / Office_kms
Created January 12, 2023 01:06 — forked from ettingshausen/Office_kms
KMS server Windows
cd\Program Files\Microsoft Office\Office16
cd\Program Files (x86)\Microsoft Office\Office16
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus
slmgr.vbs /ckms
@judasnow
judasnow / cuter.py
Last active August 27, 2015 13:40 — forked from sigilioso/cuter.py
Python PIL Example: get a thumbnail by resizing and cropping an image.
# -*- coding: utf-8 -*-
import Image
def resize_and_crop(img_path, modified_path, size, crop_type='top'):
"""
Resize and crop an image to fit the specified size.
args:
img_path: path for the image to resize.
@judasnow
judasnow / avoid.html
Last active August 29, 2015 14:05 — forked from anonymous/index.html
<html>
<head>
<script type="text/javascript">
document.write("Avoid leaks by avoiding closures!");
window.onload=function() {
var obj = document.getElementById("element");
obj.onclick = doesNotLeak;
}
function doesNotLeak() {
//Your Logic here