This is a rant about how a decentralized network for storing structured data
might look like.
The goal is to allow third party developers to build applications and services
that use it as a data-store and allow users to switch between any application or
service without loosing their data.
This file contains hidden or 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
var module = angular.module( 'my.resource', [ 'ngResource' ] ); | |
module.factory( 'Resource', [ '$resource', function( $resource ) { | |
return function( url, params, methods ) { | |
var defaults = { | |
update: { method: 'put', isArray: false }, | |
create: { method: 'post' } | |
}; | |
methods = angular.extend( defaults, methods ); |
This file contains hidden or 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
<?php | |
header("content-type: application/json; charset=UTF-8"); | |
$aFilteredPlaces = array(); | |
foreach($aSearchResults as $iResNum => $aPointDetails) | |
{ | |
$aPlace = array(); | |
$aPlace['lat'] = (float) $aPointDetails['lat']; | |
$aPlace['lng'] = (float) $aPointDetails['lon']; |
This file contains hidden or 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 the, devs of 'devrant' | |
if 'markdown' isnt 'so damn hard' | |
do alert 'please add markdown' |
This file contains hidden or 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
1BfmDGuHdoZFxhmtCAvRK9w9NrM45kgPVQ | |
https://docs.google.com/document/d/1oKX68jnII8dxVUMpiDspVKW5NdF5kMziNQrWBy3-TgI/edit |
This file contains hidden or 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
package main | |
import ( | |
"crypto/ed25519" | |
"crypto/rand" | |
"crypto/tls" | |
"crypto/x509" | |
"crypto/x509/pkix" | |
"fmt" | |
"math/big" |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<SapelliCollectorProject id="12873" defaultLanguage="en-GB" name="Alcohol" version="0.8" startForm="Personal"> | |
<Configuration> | |
<Logging enabled="true" /> | |
</Configuration> | |
<Form id="Personal" singlePage="true" saveVibrate="false"> | |
<Text id="Name" caption="Name" minLength="1" optional="false" showBack="false" showCancel="false" showForward="false" /> | |
<Check id="Over18" caption="Over 18?" optional="false" showBack="false" showCancel="false" showForward="false" /> | |
<Button id="Next" caption="Save" optional="false" jump="_NEXTFORM" showBack="false" showCancel="false" showForward="false" /> | |
</Form> |
This file contains hidden or 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
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: kubernetes-dashboard | |
labels: | |
k8s-app: kubernetes-dashboard | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: cluster-admin |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""Cross-platform controller for NiceHash Excavator for Nvidia.""" | |
# Example usage: | |
# $ excavator -p 3456 & | |
# $ sleep 5 | |
# $ python3 excavator-driver.py |
This file contains hidden or 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
Verifying my Blockstack ID is secured with the address 1KBXsiiZ3zSa6XjBi8gfxGveYKK5VgjURk https://explorer.blockstack.org/address/1KBXsiiZ3zSa6XjBi8gfxGveYKK5VgjURk |