This file contains 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
call plug#begin() | |
Plug 'https://github.com/easymotion/vim-easymotion.git' | |
Plug 'tpope/vim-sensible' | |
Plug 'nathanaelkane/vim-indent-guides' | |
call plug#end() | |
map ,, <Plug>(easymotion-prefix) |
This file contains 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
const uuid = require('uuid'); | |
var kafka = require('kafka-node') | |
const kafkaHost = process.env.KAFKA_HOST || "localhost:9092"; | |
HighLevelProducer = kafka.HighLevelProducer, | |
client = new kafka.KafkaClient({ | |
kafkaHost: kafkaHost | |
}); | |
console.log(`Publishing to kafka host "${kafkaHost}"`); |
This file contains 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
#include <vector> | |
#include <iostream> | |
#define PASSED 0 | |
#define FAILED 1 | |
using namespace std; | |
int bisect(const vector<int> &v, int l, int r) { | |
This file contains 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
{ | |
"meta": { "theme": "elegant" }, | |
"basics": { | |
"name": "Cody Wilson Eilar", | |
"label": "Staff Software Engineer", | |
"picture": "", | |
"email": "[email protected]", | |
"phone": "(505) 514-5961", | |
"website": "https://codyeilar.com", | |
"summary": "I develop cloud native applications and have a passion for using Kubernetes to make cloud-agnostic software. I'm currently a Senior Member of the Technical Staff at VMware where I'm building the next generation of certificate management within VSphere", |
This file contains 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
BEGIN:VCARD | |
VERSION:4.0 | |
N:Gump;Forrest;;Mr.; | |
FN:Forrest Gump | |
ORG:Bubba Gump Shrimp Co. | |
TITLE:Shrimp Man | |
PHOTO;MEDIATYPE=image/gif:http://www.example.com/dir_photos/my_photo.gif | |
TEL;TYPE=work,voice;VALUE=uri:tel:+1-111-555-1212 | |
TEL;TYPE=home,voice;VALUE=uri:tel:+1-404-555-1212 | |
ADR;TYPE=WORK;PREF=1;LABEL="100 Waters Edge\nBaytown\, LA 30314\nUnited States of America":;;100 Waters Edge;Baytown;LA;30314;United States of America |
This file contains 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
/* eslint no-console: ["error", { allow: ["log"] }] */ | |
/* eslint max-nested-callbacks: ["error", 5] */ | |
'use strict' | |
const domReady = require('detect-dom-ready') | |
const createNode = require('./create-node') | |
const pull = require('pull-stream') | |
const PeerId = require('peer-id') | |
const PeerInfo = require('peer-info') |
This file contains 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
#include <stdlib.h> | |
#include <stdio.h> | |
int copy_bit(int src, int dst, int pos) | |
{ | |
int shifted = (src >> pos) & 0b1; | |
if (shifted != 0) | |
{ | |
dst |= 1UL << pos; |
This file contains 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 14ww3NG4sotUQdJGttBGuuZqkgaG9f7ran https://explorer.blockstack.org/address/14ww3NG4sotUQdJGttBGuuZqkgaG9f7ran |
This file contains 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
14ww3NG4sotUQdJGttBGuuZqkgaG9f7ran https://explorer.blockstack.org/address/14ww3NG4sotUQdJGttBGuuZqkgaG9f7ran |
This file contains 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
const PouchDB = require('pouchdb') | |
const tmp = require('tmp'); | |
const assert = require('assert'); | |
const R = require('ramda') | |
PouchDB.plugin(require('crypto-pouch')); | |
// Create a temporary directory | |
var tmpobj = tmp.dirSync(); | |
let dbLoc = `${tmpobj.name + '/mydb'}` | |
console.log(`dbLoc = ${dbLoc}`) |
NewerOlder