Skip to content

Instantly share code, notes, and snippets.

const PIE = 3.14;
function f() {
console.log('function f inside module a');
}
function f123() {
//not accessible
}
@git-ashish
git-ashish / index.html
Created April 23, 2019 15:19
.Astronomy Star Chart
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<style>
body {
background: black;
}
@hamishcampbell
hamishcampbell / description.txt
Created March 13, 2019 00:41
Mostly Geocoded NZ Pokie Machine Locations December 2018
Pokie machies by location (Dec 2018), CC-BY DIA NZ from:
https://www.dia.govt.nz/diawebsite.nsf/wpg_URL/Resource-material-Information-We-Provide-All-Venues-and-Numbers-by-Territorial-AuthorityDistrict
Geocoded with addy.co.nz 13th March 2019 by Hamish Campbell
There are a few unfound addresses and no manual checking of other results has been done.
@vegard
vegard / primes.py
Created September 21, 2018 07:51
Prime factorisation diagram
# -*- coding: utf-8 -*-
#
# Author: Vegard Nossum <vegard.nossum@gmail.com>
import math
import os
import sys
import cairo
@vincentpham1991
vincentpham1991 / README.md
Created August 17, 2018 00:25 — forked from lunarmoon26/README.md
D3 V5 - Faux-3d Shaded Globe With Zoom, Places and Arcs

A D3 V5 implementation of a shaded globe mimic the 3d effect. Drag to rotate and middle wheel to zoom. The flyer arcs are interpolated from 2 control points.

You can modify the dataset (Topojson format) to change landmarks.

@kcranston
kcranston / postgres-jsonb.md
Last active April 24, 2024 16:59
intro to document stores in postgreSQL

Document stores in PostgreSQL

Notes for software engineering meeting presentation

What

  • mid to late 2000s: appearance of Document stores / NoSQL databases such as Mongo, Couch
  • Relational DBs now have support for document data: JSON in MySQL, JSON and JSONB in PostgreSQL
  • Focus on JSONB in Postgres (most full featured)
@guypursey
guypursey / .block
Last active September 21, 2023 09:51 — forked from mbostock/.block
Wrapping long labels with D3 v4 (sample data)
license: gpl-3.0
@DomPizzie
DomPizzie / README-Template.md
Last active April 27, 2024 01:50
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started

@deanhu2
deanhu2 / perlin-noise.gd
Last active October 16, 2018 19:19
Godot heightmap generator using perlin-noise
#If you would like to contribute or modify the content's
#of this script, please consider contribution to the original
#repository - https://github.com/deanhu2/Perlin-Noise-Godot
tool
extends ImageTexture
export(int,1,100) var octave= 5 setget set_octave, get_octave
export(int,1,512) var width= 256 setget set_width, get_width
export(int,1,512) var height= 256 setget set_height, get_height
@1wheel
1wheel / README.MD
Created January 15, 2017 15:34
you-draw-it