Skip to content

Instantly share code, notes, and snippets.

View starstuffharvestingstarlight's full-sized avatar

João Almeida starstuffharvestingstarlight

  • Sydney, Australia
View GitHub Profile
@starstuffharvestingstarlight
starstuffharvestingstarlight / earring.scad
Last active August 29, 2015 14:02
an earring in OpenSCAD
// main radius of the earring (mm)
radius = 16;
// how much it grows with each degree
grow_factor = 0.001 * radius;
// how big is the sphere in relation to the last iterated object
sphere_factor = 1.5;
// degrees from 1 to max_t
max_t = 310;
tt = [1:max_t];
// cheat the circle into a triangle
@namespace url(http://www.w3.org/1999/xhtml);
/** base settings */
@-moz-document regexp('^http(s)?://(?!\
.*\\.?imgur\\.com\
|.*grooveshark\\.com\
|.*spotify\\.com\
|.*facebook\\.com\
|.*youtube\\.com\
).*')
export class BaseEnvironment {
env: BaseEnvironment.Env
FirebaseConfig: {
apiKey: string,
authDomain: string,
databaseURL: string,
projectId: string,
storageBucket: string,
messagingSenderId: string
}