Skip to content

Instantly share code, notes, and snippets.

🏗
Doing a thing

Gio d'Amelio giodamelio

🏗
Doing a thing
Block or report user

Report or block giodamelio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View healthcheck_ping.js
healthCheckResponse.engine,
healthCheckResponse.status,
healthCheckResponse.version,
healthCheckResponse.deployOffset
@giodamelio
giodamelio / key.md
Created Feb 27, 2019 — forked from shobotch/key.md
Twitter (un)official Consumer Key
View key.md

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN
Consumer key:    IQKbtAYlXLripLGPWd0HUA
@giodamelio
giodamelio / outline-bookmarklet.js
Last active Jul 1, 2019
A bookmarklet to process the current page to Outline.com and redirect afterwards.
View outline-bookmarklet.js
fetch(
"https://outlineapi.com/v3/parse_article?source_url=" +
encodeURIComponent(window.location)
)
.then(res => res.json())
.then(body => {
if (body.error) {
return alert(`Outline Bookmarklet Error: ${body.error}`);
}
window.location.href = `https://outline.com/${body.data.short_code}`
@giodamelio
giodamelio / no-visual-1.8.patch
Last active Aug 2, 2018
A patch to remove $VISUAL support from NNN
View no-visual-1.8.patch
diff --git a/nnn.c b/nnn.c
index a3a422a..6b26138 100644
--- a/nnn.c
+++ b/nnn.c
@@ -2028,8 +2028,6 @@ show_help(char *path)
dprintf(fd, "SHELL: %s\n", getenv("SHELL"));
if (getenv("SHLVL"))
dprintf(fd, "SHLVL: %s\n", getenv("SHLVL"));
- if (getenv("VISUAL"))
- dprintf(fd, "VISUAL: %s\n", getenv("VISUAL"));
@giodamelio
giodamelio / gpg-offline-master.md
Created May 8, 2017 — forked from abeluck/gpg-offline-master.md
GPG Offline Master Key w/ smartcard
View gpg-offline-master.md
View keybase.md

Keybase proof

I hereby claim:

  • I am giodamelio on github.
  • I am giodamelio (https://keybase.io/giodamelio) on keybase.
  • I have a public key ASBRPgq5uNXpUg_PRUumToevHgEg406bAFhCMmk7f-vmkQo

To claim this, I am signing this object:

@giodamelio
giodamelio / ipfs_urlhandler.py
Created Oct 20, 2015
A simple Terminator plugin to allow quick opening of IPFS/IPNS hashes
View ipfs_urlhandler.py
from urlparse import urljoin
import terminatorlib.plugin as plugin
NAME = "IPFSURLHandler"
# Make terminator recognize plugin
AVAILABLE = [NAME]
available = AVAILABLE # For old versions of terminator
@giodamelio
giodamelio / index.html
Last active Apr 5, 2018
IPFS Simple Static Site
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello IPFS!</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<h1>Hello IPFS!</h1>
</body>
@giodamelio
giodamelio / recipes.py
Created Mar 6, 2012
Minecraft Recipes
View recipes.py
recipes = {
"solar_panel": {
"type": "craft",
"ingredients": {
"input": [
"coal_dust",
"glass",
"coal_dust",
"glass",
"coal_dust",
View gist:1986239
recipes = {
"recipe": {
"name": "solar_panel",
"type": "craft",
"ingredients": {
"input": [
"coal_dust",
"glass",
"coal_dust",
"glass",
You can’t perform that action at this time.