Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Chris Ried cdr6934

🎯
Focusing
View GitHub Profile
View gist:798d615e07f2c5842bbee4785cf00d1f
I am attesting that this GitHub handle cdr6934 is linked to the Tezos account tz1faciLfucCMGZqsHPda7hqAvmMRumqxm7B for tzprofiles
sig:edsigtsF33Uhs6rBSHC5UNEHuT2r7MxdE7mwBrdD4T86EzsMdwJcQL13wjCdHPmFb5DHmpcDaPAHLZjNAcSP1wWoH4rJohBard2
View gist:b33209a038b6f2aed9954f1a169ba1c7
I am attesting that this GitHub handle cdr6934 is linked to the Tezos account tz1faciLfucCMGZqsHPda7hqAvmMRumqxm7B for tzprofiles
sig:edsigtsF33Uhs6rBSHC5UNEHuT2r7MxdE7mwBrdD4T86EzsMdwJcQL13wjCdHPmFb5DHmpcDaPAHLZjNAcSP1wWoH4rJohBard2
View Spiraling Arc
/*
Programing: Explorations in the Arc Realm
Name: Chris Ried
*/
ArcLine[][] al;
float start_arc, stop_arc, r, diff, margin, x, y, nf;
float noise_factor;
int n;
void setup()
@cdr6934
cdr6934 / noiseField.pde
Last active Dec 19, 2020
Following noise field that looks over the entire spectrum
View noiseField.pde
/*
Programing: Noise Field
Name: @Generate.Collective
Color functions are tewmplates used by @manolode
*/
///////////////////////////////////////////////////////////
int move, n;
View circular_wealth.pde
float n,r, div,margin;
int iter;
color a, b;
void setup()
{
size(1000,1000);
background(255);
n = 6;
r = 5;
a = getColor();
@cdr6934
cdr6934 / Processing
Created Nov 14, 2020
chinese_dreams
View Processing
int cnt = 100;
int[][] color_collection = new color[5][5];
FingerMonster[] fm = new FingerMonster[cnt];
int t,i,j;
color c, c1, c2;
int[] colors = new int[5];
void setup(){
size(3000,2000);
noStroke();
View import_csv.R
import(readr)
online_orders <- read_csv("online_orders.csv",
col_types = cols(ORDER_DATE = col_datetime(format = "%Y-%m-%d %H:%M:%S"),
STATUS_DATE = col_datetime(format = "%Y-%m-%d %H:%M:%S")))
View gist:d6965a0551cbd802e980ed153969f141
res <- sqlQuery(dbhandle, query1)
odbcClose(dbhandle)
result <- data.frame(res)
result
View DivvyRides.R
library(dplyr)
library(ggplot2)
library(viridis)
library(ggthemes)
#import all the files
temp <- list.files(pattern="*.csv")
alldata<- do.call(rbind, lapply(temp, function(x) read.csv(x, stringsAsFactors = FALSE)))
@cdr6934
cdr6934 / 0_reuse_code.js
Created Jul 22, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console