I hereby claim:
- I am glendc on github.
- I am glendc (https://keybase.io/glendc) on keybase.
- I have a public key whose fingerprint is 7AE8 A55A 268C D623 FA29 DA67 DC93 FACE B4A2 D50D
To claim this, I am signing this object:
curl -o quine.f90 https://gist.githubusercontent.com/GlenDC/11dadd47137b2c1a5587/raw/ && \ | |
alias _fortran='(gfortran -o quine quine.f90 && ./quine)' && \ | |
alias _fotopy='(_fortran > quine.py && rm -f quine)' && \ | |
alias _pytofo='(python quine.py > quine.f90)' && \ | |
_fotopy && _pytofo && _fotopy && _pytofo && _fortran |
#!/bin/bash | |
if [ "$#" -lt 1 ]; then | |
TARGET_DIR="." | |
else | |
TARGET_DIR="$1" | |
fi | |
if [ "$#" -lt 2 ]; then | |
ROOT_DIR="$HOME/exploor/images" |
I hereby claim:
To claim this, I am signing this object:
var _ = require("lodash"); | |
var assert = require('assert'); | |
// maxDifferenceOriginal computes the max difference z = x - y, | |
// where x.index > z.index, and `!EwA(w != z ^ w > z)` | |
// input: {a: 'input array containing all numbers'} | |
function maxDifferenceOriginal(a) { | |
// can only work with arrays | |
if(!_.isArray(a)) { | |
return -1; |
package main | |
import ( | |
"log" | |
"os" | |
"strings" | |
"golang.org/x/net/proxy" | |
) |
config.yml
:
storageClusters:
clusterA:
dataStorage:
- address: localhost:6379
metaDataStorage:
address: localhost:6379
clusterB:
package main | |
import ( | |
"fmt" | |
) | |
// TODO: | |
+ List all music, recursively, starting from a root dir, classify and dedupe it; | |
+ Integrate google drive (https://developers.google.com/drive/v3/web/quickstart/go) and upload music list; |
// available at https://play.golang.org/p/COP6ErBkD47 | |
package main | |
import ( | |
"fmt" | |
) | |
func extended_algorithm_of_euclides(a, b int64) (d, s, t int64) { | |
var ( | |
rx = a |
Make sure to read the GraphQL API Rivine Documentation as well (if not first).
The docs can be found in the playground as well as in the generated markdown document that you can find also at https://github.com/threefoldtech/rivine/blob/feat/graphql-phase1/modules/explorergraphql/schema.md.
More information about GraphQL can be found at https://graphql.org/learn/. This is especially recommended if you are new to GraphQL.
use std::io; | |
use std::str::FromStr; | |
const MAX_VERSE_COUNT: usize = 12; | |
const NUMBER_WORDS: [&str; MAX_VERSE_COUNT] = [ | |
"a", "two", "three", "four", "five", "six", | |
"seven", "eight", "nine", "ten", "eleven", "twelve", | |
]; | |
const NUMBER_COUNT_WORDS: [&str; MAX_VERSE_COUNT] = [ | |
"first", "second", "third", "fourth", "fifth", "sixth", |