Skip to content

Instantly share code, notes, and snippets.

View Invertisment's full-sized avatar
🥲
openai didn't deserve my code and doesn't deserve yours. Also they didn't ask.

Martynas M Invertisment

🥲
openai didn't deserve my code and doesn't deserve yours. Also they didn't ask.
View GitHub Profile
@Invertisment
Invertisment / gist:88fffb4afac9a416c28a
Last active August 2, 2017 16:18 — forked from farico/gist:3938084
Linksniavimas LT vardu
<?php
/**
* Lietuviškų vardų linksniai.
*
* @author Maug Lee <mauglee@gmail.com>
* @copyright Copyleft (ↄ) 2011, Maug Lee
* @version 0.3
* @package Vardai
*/
@Invertisment
Invertisment / spider.js
Created March 22, 2016 14:32 — forked from WA9ACE/spider.js
Node.js Web Crawler using Request and Cheerio
var request = require('request');
var cheerio = require('cheerio');
var fs = require('fs');
var data = fs.createWriteStream('data.txt', {'flags': 'a'});
var urlsToCrawl = [];
var spider = function(url) {
var index = urlsToCrawl.indexOf(url);
@Invertisment
Invertisment / gitAll.sh
Created June 21, 2017 08:00
Git script for managing nested repos
#!/bin/bash
#
# recursively finds all git repos (2 levels deep) and executes given git command on them
# omits .ws .git and .idea directories
#
# example: bash gitAll.sh pull
# result: pull from all repos
#
find . -not -regex '.*\(.git\|.idea\|.ws\).*' \
0x4E905c44Fbfd315C48d12b1885FB56033A4b958c
minecraft:bedrock,3*minecraft:stone,52*minecraft:smooth_quartz,8*minecraft:chiseled_quartz_block;minecraft:desert;village,biome_1,decoration,stronghold,mineshaft,dungeon