Skip to content

Instantly share code, notes, and snippets.

View countries.js
const countries = [
{
flag: "https://portal.idanalyzer.com/assets/flags/AF.png",
name: "Afghanistan",
code: "AF",
},
{
flag: "https://portal.idanalyzer.com/assets/flags/AF.png",
name: "Åland Islands",
code: "AX",
View stack-trace
Amazon.S3.AmazonS3Client.GetPreSignedURLInternal(GetPreSignedUrlRequest request, bool useSigV2Fallback)
Amazon.S3.AmazonS3Client.GetPreSignedURL(GetPreSignedUrlRequest request)
OrbaOne.VendorWebApp.Services.UserService.GetSelfieData(ApplicationUser user) in UserService.cs
+ var urlString = client.GetPreSignedURL(request1);
OrbaOne.VendorWebApp.Services.UserService.GetAllUserGrantedData(ApplicationUser user, Guid vendorId) in UserService.cs
+grantedData.SelfieData = GetSelfieData(user);
View walkandFlatten.js
/**Walks the directory tree received from */
const walkTree = tree => {
if (!tree.children) {
let unit = 0
let subject = ''
let { path } = tree
if (path.includes('unit1')) {
unit = 1
} else {
unit = 2
View mircobundle_fix.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@heyjordn
heyjordn / manage-daemon
Created Jul 27, 2016 — forked from comfuture/manage-daemon
init script sample for gunicorn daemonized flask app
View manage-daemon
#!/bin/bash
gunicorn="/usr/local/bin/gunicorn"
prog="dev.maroo.info"
PROJECT_HOME="/home/maroo/sites/$prog"
pid="/var/lock/$prog"
RETVAL=0
start() {
View constiuency.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View index.html
<html>
<meta charset="utf-8">
<style>
/* CSS goes here. */
line {
stroke: #999;
stroke-width: .5px;
}
@heyjordn
heyjordn / README.md
Created Feb 7, 2016 — forked from mbostock/.block
Force-Directed States of America
View README.md

Click and drag to move states around.

So, what happens when you use the Delaunay triangulation to compute links between the centroids of the lower 48 United States of America? And then you simulate the whole thing as a force-directed graph? This, it turns out! Built with D3.