Skip to content

Instantly share code, notes, and snippets.

View keefertaylor's full-sized avatar
🌉
CA

Keefer Taylor | Tessellated keefertaylor

🌉
CA
View GitHub Profile
const value = 25
const numBoxes = 40
for (var i = 0; i < numBoxes; i++) {
console.log("Getting box " + i)
const checkbox = document.getElementsByName('secCheckbox' + i)[0]
checkbox.checked = true
const investmentsInput = document.getElementsByName('noofreinvest' + i)[0]

CELO_GENESIS_VALIDATOR_SIGNER_ADDRESS=0x0A6641d4736767D1f2bCf2450200eF384391B441 CELO_GENESIS_VALIDATOR_SIGNER_BLS_PUBLIC_KEY=ce9efb226a3c085071c7aea84f66040dc16a1600893eb1e6ef507fa72c6684f24d2c3b4ffee9881142fc41cfbd6b3b01933838ed7bd05c16450cab703b12ee623f8745f7f618981601a9c4de1337fe881975bc8572536281b9dcc51400177680 CELO_GENESIS_VALIDATOR_SIGNER_BLS_SIGNATURE=d9e2c53fc104b58d04fe62288f432f14c7dc6658c27acb803cdc98743cd18a8b7dfa53b0e7d77105b9ed0d2c0a22fc80 CELO_RELEASE_GOLD_BENEFICIARY_ADDRESS_1=0x22f22c38C5148f58086b937238c101a0CAEF9DA3 CELO_RELEASE_GOLD_BENEFICIARY_ADDRESS_2=0x3Da0f75d7Cc237EDFfBc57fBe2B319e10258A19e

@hfossli
hfossli / ASN1.swift
Created November 9, 2018 13:37
ASN1 DER encoder and decoder in swift
//
// ASN1.swift
// ASN1
//
// Created by Håvard Fossli on 29.08.2018.
// Copyright © 2018 Håvard Fossli. All rights reserved.
//
import Foundation
@dakk
dakk / tezos-baking-howto.md
Last active March 6, 2022 21:22
tezos-baking-howto.md

Tezos baking howto

This howto is valid for Betanet on Ubuntu or Debian

Setup

Prereq

You have to install some dependencies. In debian / ubuntu run:

@lokhman
lokhman / ubuntu-hardening.md
Last active June 25, 2024 18:50
List of things for hardening Ubuntu

WARNING

May contain out of date information. Check the comments below!

The list of actions listed below was taken mostly from Book Of Zeus with minor modifications and did the job well for Ubuntu version, which was available at that moment (May 2016). This gist was created for internal use and was never meant to be discovered by the web, although Google managed to find and index this page, which was a great surprise for me. Please check the original source for the updated information (links are provided in most of the sections), and read the comments below: they provide more details about the usage experience.

System Updates

http://bookofzeus.com/harden-ubuntu/initial-setup/system-updates/

Keeping the system updated is vital before starting anything on your system. This will prevent people to use known vulnerabilities to enter in your system.

Stealing WiFi

/etc/hosts

This will let you access any google owned site. This includes: youtube, google cache, google translate, google search, gmail, google news, etc.

  • Install the HTTPS Everywhere extension
  • Add these rules to your /etc/hosts file