Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
#To Get List of Hardware | |
sudo networksetup -listallhardwareports | |
#To Disable IPv6 on Wifi Adapter | |
sudo networksetup -setv6off wi-fi | |
#To Disable IPv6 on Built-in Ethernet Adapter | |
sudo networksetup -setv6off Ethernet |
<link href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.min.css" rel="stylesheet"> | |
<link href="//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.print.css" rel="stylesheet" media="print"> | |
<script src="https://momentjs.com/downloads/moment.min.js"></script> | |
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | |
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/fullcalendar.min.js'></script> | |
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/gcal.min.js'></script> | |
<script type='text/javascript'> | |
// posting this because the following is a poor example https://fullcalendar.io/docs/google_calendar/ | |
// This was used to wrap google calendar in squarespace and make it look tremendously better | |
$(document).ready(function() { |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
# launch: docker-compose up -d | |
version: "3.7" | |
services: | |
validator: | |
image: quay.io/team-helium/validator:latest-validator-amd64 | |
container_name: validator | |
init: true | |
restart: always | |
ports: | |
- "2154:2154" |
let token = "your token"; | |
function login(token) { | |
setInterval(() => { | |
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` | |
}, 50); | |
setTimeout(() => { | |
location.reload(); | |
}, 2500); | |
} |
//////////////////////////////////////////////////// | |
// zapper.fi | |
////////////////////////////////////////////////////// | |
// grab persist:account from localStorage and parse it | |
let persistAccount = JSON.parse(localStorage.getItem("persist:account")) | |
Object.keys(persistAccount).forEach(key => { | |
let value = JSON.parse(persistAccount[key]); | |
persistAccount[key] = value; |
// probably a smart idea to make sure that Frame isn't running when this is executed | |
const fs = require('fs'); | |
// this location assumes Mac installation | |
let frameConfigLocation = `${process.env.HOME}/Library/Application Support/frame/config.json`; | |
// testMode will create a copy of the frame Config in the local folder and modify that instead of the original | |
const testMode = true; | |
let frameConfig; | |
let frameConfigAccounts; | |
const exampleAddressObj = { | |
id: '0x223c067F8CF28ae173EE5CafEa60cA44C335fecB', |
// you'll need to run ```npm i lodash cross-fetch``` first to install the packages | |
// next, to run it: ```node validator-penalties.js "your-node-name"``` | |
// this script assumes no collisions in node names, which does occur in the wild | |
const _ = require('lodash'); | |
const fetch = require('cross-fetch'); | |
const findMe = process.argv[2]; | |
(async () => { | |
try { |
There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.
Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes for you to use on your favorite authenticator.
His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My guess is that Brian used the
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony. | |
The following are my contribution signatures: | |
Circuit: semaphore16 | |
Contributor # 290 | |
Hash: 597f1d0a 55282700 910c727c 18763960 | |
a2eed191 9f3a289e f7d2a1c7 daa3bb01 | |
603a5558 8351c82a cb578f5a 13cbeb84 | |
1db4c834 ef4c3119 46f53aa4 5bd2770c | |