Skip to content

Instantly share code, notes, and snippets.

View nektro's full-sized avatar
🌻
if you know, you know

Meghan Denny nektro

🌻
if you know, you know
View GitHub Profile
@nektro
nektro / ytdla.ps1
Created April 24, 2019 10:06
youtube-dl audio powershell
youtube-dl -x --audio-format m4a -o "%(uploader)s - %(title)s - %(id)s.%(ext)s" $args
mkdir -p ~/bin
wget -qO ~/java.tar.gz http://javadl.oracle.com/webapps/download/AutoDL?BundleId=230532_2f38c3b165be4555a1fa6e98c45e0808
tar xf ~/java.tar.gz --strip-components=1 -C ~/
rm ~/java.tar.gz
@nektro
nektro / wallhaven.cc.js
Last active December 11, 2018 07:51
wallhaven.cc scraper
// @author Meghan#2032 <https://nektro.net/>
//
//
const path = require("path");
const fs = require("fs");
const https = require("https");
//
https.globalAgent.maxSockets = 25;
//
function main()
@nektro
nektro / userstyle.css
Created December 11, 2018 02:01
dev.to_dark_mode
.container, .container .body {
background-color: #333;
color: #eee;
}
.single-comment-node .details {
background-color: #2c2c2c;
}
.single-comment-node .details a,
.ltag_github-liquid-tag .issue-title,
.container .article-actions button .reaction-number,
⠀ ⠰⡿⠿⠛⠛⠻⠿⣷
⠀⠀⠀⠀⠀⠀⣀⣄⡀⠀⠀⠀⠀⢀⣀⣀⣤⣄⣀⡀
⠀⠀⠀⠀⠀⢸⣿⣿⣷⠀⠀⠀⠀⠛⠛⣿⣿⣿⡛⠿⠷
⠀⠀⠀⠀⠀⠘⠿⠿⠋⠀⠀⠀⠀⠀⠀⣿⣿⣿⠇
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠁
⠀⠀⠀⠀⣿⣷⣄⠀⢶⣶⣷⣶⣶⣤⣀
⠀⠀⠀⠀⣿⣿⣿⠀⠀⠀⠀⠀⠈⠙⠻⠗
⠀⠀⠀⣰⣿⣿⣿⠀⠀⠀⠀⢀⣀⣠⣤⣴⣶⡄
⠀⣠⣾⣿⣿⣿⣥⣶⣶⣿⣿⣿⣿⣿⠿⠿⠛⠃
⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄
@nektro
nektro / nyan.txt
Last active November 8, 2018 06:03
▒▒▒▒▒▒▒█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█▒▒▒▒▒▒▒▒▒
▒▒▒▒▒▒▒█░▒▒▒▒▒▒▒▓▒▒▓▒▒▒▒▒▒▒░█▒▒▒▒▒▒▒
▒▒▒▒▒▒▒█░▒▒▓▒▒▒▒▒▒▒▒▒▄▄▒▓▒▒░█░▄▄▒▒▒▒
▒▒▄▀▀▄▄█░▒▒▒▒▒▒▓▒▒▒▒█░░▀▄▄▄▄▄▀░░█▒▒▒
▒▒█░░░░█░▒▒▒▒▒▒▒▒▒▒▒█░░░░░░░░░░░█▒▒▒
▒▒▒▀▀▄▄█░▒▒▒▒▓▒▒▒▓▒█░░░█▒░░░░█▒░░█▒▒
▒▒▒▒▒▒▒█░▒▓▒▒▒▒▓▒▒▒█░░░░░░░▀░░░░░█▒▒
▒▒▒▒▒▄▄█░▒▒▒▓▒▒▒▒▒▒▒█░░█▄▄█▄▄█░░█▒▒▒
▒▒▒▒█░░░█▄▄▄▄▄▄▄▄▄▄█░█▄▄▄▄▄▄▄▄▄█▒▒▒▒
▒▒▒▒█▄▄█░░█▄▄█░░░░░░█▄▄█░░█▄▄█▒▒▒▒▒▒
@nektro
nektro / yarn-error.log
Created October 15, 2018 05:57
`yarn add integer` error log
Arguments:
C:\Program Files\nodejs\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js add integer
Yarn version:
1.5.1
Node version:
10.8.0
Platform:
@nektro
nektro / bikeData.js
Created September 17, 2018 21:15 — forked from dakoop/bikeData.js
citibike-jul-2018
// citi bike data for each day of July 2018
// divided into age ranges (10-19 through 130-139)
export const bikeData = [[448, 12345, 13173, 13347, 4086, 1588, 247, 15, 2, 1, 5, 4, 5],
[475, 14679, 18530, 14885, 7118, 2476, 407, 26, 4, 2, 27, 0, 6],
[461, 13913, 17434, 13768, 6581, 2352, 326, 29, 4, 2, 8, 1, 5],
[544, 12206, 13798, 15283, 4443, 1725, 301, 23, 1, 5, 34, 3, 6],
[509, 14551, 18526, 15951, 6918, 2547, 385, 29, 4, 6, 33, 4, 13],
[479, 12760, 15925, 12393, 5594, 1959, 321, 17, 7, 5, 40, 4, 3],
[610, 15550, 17702, 19254, 5381, 1967, 380, 21, 18, 2, 20, 2, 11],
@nektro
nektro / index.mjs
Last active September 12, 2018 21:45
cheers.cz downloader
// @author Meghan#2032 <https://me.nektro.net/>
//
//
import fetch from "node-fetch";
//
import path from "path";
import fs from "fs";
import https from "https";
//
const __dirname = path.resolve('');
get-childitem * | foreach { rename-item -LiteralPath $_ $_.Name.Replace("", "") }