Skip to content

Instantly share code, notes, and snippets.

View ArtikusHG's full-sized avatar

ArtikusHG

View GitHub Profile
@ArtikusHG
ArtikusHG / gist:1e18101edbcd10038b1239e0855bb810
Created December 5, 2019 16:32 — forked from patrickgalbraith/gist:9538b85546b4e3841864
Javascript dynamic getter, setter using defineProperty
var User = (function () {
function User (id, nam) {
var self = this;
this.id = id;
this.nam = nam;
this.__data = {};
for(var p in self) {
@ArtikusHG
ArtikusHG / StoPetya.bat
Last active June 29, 2017 06:23 — forked from ujeenator/stop-petya.bat
A simple batch script to stop the petya ransomware from encrypting files.
@echo off
cls
color 02
echo Welcome to StoPetya!
echo Please make sure you're running this script with admin rights.
echo Press any key to fix the petya ransomware...
pause >NUL
color 04
cls
echo Deleting fies...