Skip to content

Instantly share code, notes, and snippets.

View gaybro8777's full-sized avatar
💭
Im not gay. I'm just getting back at my dad for not getting me an xbox

Michael Corrado gaybro8777

💭
Im not gay. I'm just getting back at my dad for not getting me an xbox
View GitHub Profile
@Muennighoff
Muennighoff / gsoc2021_NM.md
Last active April 3, 2023 21:37
Google Summer of Code 2021 - Niklas Muennighoff

@Bhu1-V
Bhu1-V / GSoC2021.md
Last active April 3, 2023 21:36
Google Summer of Code 2021 Final Work Submission

Google Summer of Code 2021 Final Work Submission

Command Palette.

Description

# Reverse Shell for Azure VMs
# Author: Josh Spicer <hello@joshspicer.com>
#### GOAL ####
# For any Azure Compute Linux VM where you have permission to execute one-off commands via the Azure CLI,
# issues a reverse shell command to the VM and sends the shell back to you over TCP (via an ngrok tunnel)
#### Prereqs ####
# socat
# ngrok
@terrillmoore
terrillmoore / wordpress-import-update.php
Created January 23, 2021 16:21 — forked from ssuess/wordpress-import-update.php
Force the WordPress importer to update existing posts instead of skipping them
<?php
/**
* When using the WordPress Importer, update existing
* posts instead of skipping them. Updates content according
* to the import file even if the existing post was updated
* more recently.
*
* To use, drop this file into your /mu-plugins/ folder or
* copy this code into your functions.php file.
@gaybro8777
gaybro8777 / Makefile
Created August 9, 2020 23:10 — forked from lindenb/Makefile
Forum: Programming language use distribution from recent programs / articles https://www.biostars.org/p/251002/#251056 pubmed language code
.PHONY:all
JVARKIT_HOME?=${HOME}/src/jvarkit-git/dist
all: graph.png
graph.png : biostar251002.tsv script.gnuplot
grep -v YEAR $< | awk -F ' ' '{printf("%s\t%s\n",$$4,$$2);}'| tr " " "_" | grep -v null |\
sed 's/$$/ 1/'| ${HOME}/src/cmd-utils/src/yxv2table -a sum -n 0 | sed 's/^#/YEAR/' > graph.tsv && \
gnuplot script.gnuplot
rm -f graph.tsv
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var domStyle = document.createElement("style");
domStyle.append(
'* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\
* * { background-color: rgba(0,255,0,.2) !important; }\
* * * { background-color: rgba(0,0,255,.2) !important; }\
* * * * { background-color: rgba(255,0,255,.2) !important; }\
* * * * * { background-color: rgba(0,255,255,.2) !important; }\
@scottwater
scottwater / base_webhook.json
Last active October 3, 2020 04:11
KickoffLabs WebHooks
{
"__event": "the_webhook_event",
"avatar": "https://d1ts43dypk8bqh.cloudfront.net/v1/avatars/310c4ac2-7026-4700-afde-496b1d217b03",
"counter": 252,
"contest_score": 300,
"contest_score_rank": 19588,
"custom_fields": {
},
"email": "scott@kickofflabs.com",
@meggart
meggart / Pangeo.ipynb
Last active October 16, 2022 21:43
Example of using ESDL with Pangeo data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var domStyle = document.createElement("style");
domStyle.append(
'* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\
* * { background-color: rgba(0,255,0,.2) !important; }\
* * * { background-color: rgba(0,0,255,.2) !important; }\
* * * * { background-color: rgba(255,0,255,.2) !important; }\
* * * * * { background-color: rgba(0,255,255,.2) !important; }\
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.