Skip to content

Instantly share code, notes, and snippets.

View johnpyp's full-sized avatar

johnpyp

  • Amazon
  • Seattle, WA
  • 17:49 (UTC -07:00)
View GitHub Profile
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix

Keybase proof

I hereby claim:

  • I am johnpyp on github.
  • I am johnpyp (https://keybase.io/johnpyp) on keybase.
  • I have a public key ASCGOvTFNjkqceV44jd0lTEolVZGOyYX2pGqE8FIIuM1hQo

To claim this, I am signing this object:

@johnpyp
johnpyp / delete-all-messages.js
Created October 25, 2019 21:08 — forked from rcx/delete-all-messages.js
Delete all your messages in a Discord channel
/*
* Discord: Don't copy stuff into this box
* Me: dOn'T COpy sTuFf iNtO tHIs bOx
*/
clearMessages = function (guild_id, author_id, authToken, deleted = new Set()) {
const searchURL = `https://discordapp.com/api/v6/guilds/${guild_id}/messages/search?author_id=${author_id}&include_nsfw=true`
const headers = { Authorization: authToken }
let clock = 0
interval = 500
function delay(duration) {

Keybase proof

I hereby claim:

  • I am johnpyp on github.
  • I am johnpyp (https://keybase.io/johnpyp) on keybase.
  • I have a public key ASBOXLrr4IHNF_eBqS21p5A1N8EBTePpblAfEQUoTPLJpgo

To claim this, I am signing this object:

contact me at my email: johnpaulpenaloza@gmail.com

Fiverr restricts communication quite a bit, so I prefer to communicate outside of there, but it won't even let me type in my email!

My personal display page: https://johnpyp.net

My biggest public project, an unfinished POC link manager: https://linkpiks.com/#/

  • Kind of like a bookmarking tool, it is old and represents my learning of Vue and MongoDB in Node Js.
@johnpyp
johnpyp / .bashrc
Last active April 8, 2018 17:06
Ubuntu Config
# git ALL COMMIT PUSH aka gacp
function gacp {
git add .;
git commit -m "$*";
git push
}
# CPR aka cp + rm = cpr. Replace function instead of copy.
function cpr {