This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "This script will attempt to add packages that return ECONN on the first try automatically." | |
logLevel="info" | |
echo "Setting config to loglevel: $logLevel" | |
npm config set loglevel=$logLevel | |
parse () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function()%7Btitle%3D""%3Bdescription%3Dwindow.prompt(%27Copy the url to the code line%27,location.href)%3Btarget%3D%27{---REPLACETHISWITHPROJECTURL---}/-/issues/new%27%3Blocation.href%3Dtarget%2B%27%3Fissue%5Btitle%5D%3D%27%2BencodeURIComponent(title)%2B%27%26issue%5Bdescription%5D%3D%27%2BencodeURIComponent(description)%3B%7D)()%3B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"description": "A concept for a system for keeping track of inventory and items needed; can be used for managing items used in donations", | |
"version": "0.1.0", | |
"title": "Item Donations", | |
"termsOfService": "http://swagger.io/terms/", | |
"contact": { | |
"email": "hello@johanbove.info" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: http://steve-jansen.github.io/guides/windows-batch-scripting/part-2-variables.html | |
:: Saves the JSON files to IPFS | |
@ECHO OFF | |
SETLOCAL ENABLEEXTENSIONS | |
:: script global variables | |
SET me=%~n0 | |
SET parent=%~dp0 | |
SET folder=export | |
SET event=https://ukraine.bellingcat.com/ukraine-server/api/ukraine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Analyses the "Todo.txt" file and returns a report | |
# More about the Todo.txt format: http://todotxt.org/ | |
# | |
# Needs: python3 | |
# | |
# Todo: | |
# - Check out the library: https://github.com/vonshednob/pytodotxt | |
# | |
# COPYLEFT - NO WARRANTIES! - I'M A NOOB LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ for /f %n in ('whoami') do set name=%n | |
$ for /f %f in ('echo "I <3 IPFS -%name%" ^| ipfs add -q') do set hash=%f | |
$ ipfs cat %hash% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta name="robots" content="none" /> | |
<title>Twttxt</title> | |
<style> | |
body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-12"> | |
<!-- Testing Web Monetization --> | |
<div id="web-monetization" style="text-align:center;margin:2em;">This site is web monetization enabled. <a href="https://webmonetization.org/" rel="noopener noreferrer" style="text-decoration:underline">Learn more about Web Monetization</a>.</p></div> | |
<script> | |
const adCode = '<p>My site is <a href="https://webmonetization.org/" rel="noopener noreferrer">web monetization</a> enabled. Please consider supporting me through <a href="https://coil.com" rel="noopener noreferrer" style="text-decoration:underline">Coil.com</a>.</p>' | |
function showAds () { | |
document.getElementById('web-monetization').innerHTML = adCode | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See https://github.com/conorpp/solo-dicekeys/releases/tag/5.0.0 | |
$ solo version | |
0.0.27 | |
$ python3 --version | |
Python 3.9.0 | |
$ solo ls | |
:: Solos | |
208B31985653: Solo 4.1.1 | |
~ $ pip3 install --upgrade solo-python | |
Requirement already satisfied: solo-python in /usr/local/lib/python3.9/site-packages (0.0.27) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name coilMetaTagRemover | |
// @namespace http://johanbove.info/ | |
// @version 2.0 | |
// @description Removes my own Coil meta tag | |
// @author Johan Bové | |
// @include /johanbove.info | |
// @run-at document-body | |
// ==/UserScript== |
NewerOlder