Skip to content

Instantly share code, notes, and snippets.

View davidkassa's full-sized avatar

David Kassa davidkassa

View GitHub Profile
@pietjepuk2
pietjepuk2 / get_validator_duties.py
Last active October 30, 2024 17:19
Get validator duties (find largest gap in which to update for that $0.04 it will save/benefit you)
import json
import math
from datetime import datetime, timedelta
import requests
SLOTS_PER_EPOCH = 32
SECONDS_PER_SLOT = 12
<template>
<form>
<p>
<label>
Your Name: <input type="text" name="name" v-model="form.name" />
</label>
</p>
<p>
<label>
Your Email: <input type="email" name="email" v-model="form.email" />
/* normal flexbox */
.flexbox .flex-container {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: flex;
}
.flexbox .flex-container.vertical {
display: -webkit-flex;
display: -moz-flex;
@andypiper
andypiper / nuget.sh
Created May 8, 2012 16:18
nuget for OS X
#!/bin/sh
# add a simple 'nuget' command to Mac OS X under Mono
# get NuGet.exe binary from http://nuget.codeplex.com/releases/view/58939
# get Microsoft.Build.dll from a Windows .NET 4.0 installation
# copy to /usr/local/bin and Robert is your father's brother....
#
PATH=/usr/local/bin:$PATH
mono --runtime=v4.0 /usr/local/bin/NuGet.exe $*