Skip to content

Instantly share code, notes, and snippets.

View Zyron's full-sized avatar

Lars Foleide Zyron

View GitHub Profile
@torgeirl
torgeirl / gist:f132527d4831ccebd37e0ab95c80139b
Last active April 18, 2019 16:54
Rocket.Chat custom OAuth settings for Dataporten

Rocket.Chat custom OAuth settings for Dataporten

Simple guide on how to set up Rocket.Chat with Feide login using Uninett's Dataporten service.

Dataporten

If you have selected email, profile, userid and userid-feide as available scopes for your application in the Dataporten Dashboard Rocket.Chat should receive a JSON response similar to this:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
#!/usr/bin/php
<?php
declare(strict_types = 1);
// require_once ('hhb_.inc.php');
hhb_init ();
if ($argc !== 3) {
fprintf ( STDERR, "usage: %s timestamp url\n", $argv [0] );
fprintf ( STDERR, "example: %s 20091012061648 http://www.p4w.se\n", $argv [0] );
die ( 1 );
}

Interactive Machine Learning

Taught by Brad Knox at the MIT Media Lab in 2014. Course website. Lecture and visiting speaker notes.

Startup@Berkeley Posting Guidelines

Anything relating to startups, entrepreneurship, innovation, technology, hacking, design, business, or related fields is fair game for discussion in the group. The focus is on the Bay Area and Berkeley specifically, so please make sure events are accessible to students at UC Berkeley.

We require that all posts must be approved by moderators to maintain a high standard of content. Comment as much as you'd like, however!

  • First and foremost, be kind to one another.
  • Please don't post job listings. This is not a recruiting platform. You may, however, recruit for your campus organization.
  • Moderators may remove posts and comments that are of low quality or are deemed harmful to the community.
  • Avoid prejudice in all its forms. Racism, sexism, homophobia, and any other demeaning behavior will not be tolerated.
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active July 15, 2024 12:10
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
@mt3
mt3 / pandas-heroku.md
Created September 8, 2012 23:10 — forked from nicolashery/pandas-heroku.md
Deploy Python app using Pandas on Heroku

Deploy Python app using Pandas on Heroku

2012-09-08

This document explains how to deploy a Python app that uses the Pandas library on Heroku.

Heroku builds Numpy (one of Pandas' requirements) fine. However, when trying to deploy an app with both numpy and pandas in its requirements.txt file (or even just pandas), for some reason it fails