Skip to content

Instantly share code, notes, and snippets.

View urcades's full-sized avatar
🎡
the world

é. urcades urcades

🎡
the world
View GitHub Profile
@harperreed
harperreed / electric_objects.py
Last active August 11, 2022 10:02
Electric objects simple API wrapper
import requests
import urllib
import requests
import json
import random
"""
here is a wrapper for the *unreleased* electric objects API
Built by Harper Reed ([email protected]) - @harper
@una
una / usage.md
Last active August 29, 2015 14:23
var x = require('x'); sublime snippet

varreq tab --> cursor in two spots: after var and after require('

varreq tab github --> var github = require('github');

@max-mapper
max-mapper / readme.md
Last active May 14, 2022 09:12
list of interdisciplinary open source conferences

Interdisciplinary Open Source Community Conferences

Criteria

  • Must be an event that someone involved in open source would be interested in attending
  • Must be a community oriented event (no corporate owned for-profit events here please)
  • Can't be about a specific language/framework.

Leave suggestions in the comments below

/* objects/_card.scss */
.card {
padding: round($u-baseline / 2);
background-color: #fff;
border: 1px solid rgba(color(black), .1);
box-shadow: 0 1px 2px rgba(color(black), .1);
border-radius: 3px;
}
@jensy
jensy / gist:74829e593ff677afa59f
Created July 25, 2014 21:00
how to use custom fonts with framer.js
minutes.html = "?"
minutes.style =
fontFamily: "Futura-CondensedExtraBold"
fontSize: "120px"
lineHeight: "200px"
textAlign: "center"
color: "black"
// In your mixin file
=retina
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi)
@content
// Call this mixin
.something
+retina
something: something
@sumul
sumul / _fonts.scss
Created July 17, 2014 21:55
A list of SASS variables to help manage numerical CSS font-weight values.
// Weights
$hairline-weight: 100;
$thin-weight: 200;
$light-weight: 300;
$normal-weight: 400;
$medium-weight: 500;
$semibold-weight: 600;
$bold-weight: 700;
$xbold-weight: 800;
$black-weight: 900;
@ohAitch
ohAitch / colors.js
Last active October 13, 2016 03:52
Rudimentary urbit chat tagging, notifications.
// ==UserScript==
// @include http://chat.urbit.org/
// ==/UserScript==
$.getScript("https://cdn.rawgit.com/boronine/husl/v2.0.0/husl.min.js");
colorMap = {}; memo={}; $('.hl').contents().unwrap();
getColor = function (s) {  
var hash = s.split("").reduce(function (a, b) {    
a = ((a << 5) - a) + b.charCodeAt(0);    
return a & a  
}, 0);