Skip to content

Instantly share code, notes, and snippets.

View MestreKarin's full-sized avatar

Mestre Karin MestreKarin

View GitHub Profile
@MestreKarin
MestreKarin / warstone_cheat.js
Last active August 6, 2020 16:33
Little cheat to warstone td game.
const fs = require('fs');
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
function readFile(path) {
return new Promise((resolve, reject) => {
fs.readFile(path, 'utf8', (err, data) => {
@MestreKarin
MestreKarin / MaxLines.js
Last active December 28, 2018 02:19
Directive for NativeScript-Vue.
/*
Saw Eddy directive for NativeScript-Angular, so I created for NativeScript-Vue.
Eddy's directive: https://gist.github.com/EddyVerbruggen/8232252e3a4667e7e20916279f98d3fc
*/
import { Label } from 'tns-core-modules/ui/label';
export default {
bind: function (el, binding) {
try {