Skip to content

Instantly share code, notes, and snippets.

@annalee
annalee / sample-slack-coc.md
Last active April 11, 2024 21:14
A sample code of conduct for social slack teams.

[SLACKNAME] Code of Conduct

Welcome!

[BRIEF DESCRIPTION OF THE SLACK AND ITS PURPOSE]

The current admins are:

  • [NAMES]
@tinotriste
tinotriste / gist:5328087
Last active December 20, 2018 19:16
Shopify: Theme liquid tags for Facebook Open Graph
<!-- Find Current URL for og:url tag
https://github.com/joshuacc/Shopify-Snippets/blob/master/find-current-url.liquid -->
{% assign current_url = '' %}
{% case template %}
{% when 'page' %}
{% assign current_url = page.url %}
{% when 'blog' %}
{% assign current_url = blog.url %}
{% when 'article' %}
{% assign current_url = blog.url %}
@sidgabriel
sidgabriel / gist:1744978
Created February 5, 2012 11:54
Generative Art From The Math of The Rodin Vortex, The Fibonacci Spiral, and The Gielis Superformula
// open code by Sid Gabriel Hubbard, no lic information provided.
// heavily mutated and expanded from Aris Bezas intro to superformula
// http://www.openprocessing.org/portal/?userID=7600
int num = 333;
int colorL=220, k = 0, j=100, i=200;
float x, y, z;
float lmx,mx,xofset;
float lmy,my,yofset;
float r, th=0, step,lstep=.1, epi,lepi=400;