Skip to content

Instantly share code, notes, and snippets.

View wuz's full-sized avatar

Conlin Durbin wuz

View GitHub Profile
@wuz
wuz / LikeButton.js
Created December 30, 2020 20:04
Remote Test
'use strict';
const e = React.createElement;
class LikeButton extends React.Component {
constructor(props) {
super(props);
this.state = { liked: false };
}
@wuz
wuz / items.json
Created May 17, 2020 19:55
MTMR config
[
{
"type": "group",
"align": "left",
"bordered": true,
"title": "⋯",
"width": 10,
"items": [
{ "type": "close", "bordered": false, "align": "left" },
{ "type": "dock", "align": "left", "width": 300 }
@wuz
wuz / stdio-discord-coc.md
Last active January 23, 2019 21:42 — forked from didichanoch/sample-discord-coc.md
The STDIO discord Code of Conduct

STDIO Code of Conduct

Welcome!

This is a server for developers to hang out, work together, and get help.

The current admins are:

  • wuz

Keybase proof

I hereby claim:

  • I am wuz on github.
  • I am wuz (https://keybase.io/wuz) on keybase.
  • I have a public key ASBhw_3-tV1oSBa6KFcM_32q15ogFRlbojG9V5LVhJ3Dmwo

To claim this, I am signing this object:

@wuz
wuz / keybase.md
Created September 18, 2017 18:30

Keybase proof

I hereby claim:

  • I am wuz on github.
  • I am wuz (https://keybase.io/wuz) on keybase.
  • I have a public key ASA176Jan6kB9a6Uz5sAkTShnsfHUWBTTHVcxboaikng-Qo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am wuz on github.
  • I am cendaeg (https://keybase.io/cendaeg) on keybase.
  • I have a public key whose fingerprint is 8C9F DF30 0ECB A283 E381 E8B1 BF3A E0DA EA15 E07D

To claim this, I am signing this object:

@wuz
wuz / main.js
Created July 27, 2017 19:54
Adding your access token
mapboxgl.accessToken = 'pk.eyJ1IjoiYnlmcm9zdC1hcnRpY2xlcyIsImEiOiJjajVsZ3NwZGczMWNtMnFyeTR2cHRnajZ4In0.HOjYrueiLWlhLfhsDCa7wQ'; // Replace with your token
@wuz
wuz / style.css
Last active July 27, 2017 19:05
Styling For Map
#map {
height: 500px;
width: 1000px;
}
#map .mapboxgl-popup-content {
padding: 10px;
max-width: 300px;
padding-top: 20px;
}
#map .mapboxgl-popup-content ul {
@wuz
wuz / main.js
Last active July 27, 2017 19:07
Adding Click Function
mapboxgl.accessToken = 'pk.eyJ1IjoiYnlmcm9zdC1hcnRpY2xlcyIsImEiOiJjajVsZ3NwZGczMWNtMnFyeTR2cHRnajZ4In0.HOjYrueiLWlhLfhsDCa7wQ'; // Replace with your token
var map = new mapboxgl.Map({
container: 'map', //this is the id of the container you want your map in
style: 'mapbox://styles/mapbox/light-v9', // this controls the style of the map. Want to see more? Try changing 'light' to 'simple'.
minZoom: 2 // We want our map to start out pretty zoomed in to start.
});
map.on('load', function() { //On map load, we want to do some stuff
map.addLayer({ //here we are adding a layer containing the tileset we just uploaded
@wuz
wuz / main.js
Last active July 27, 2017 19:07
Adding Filter
mapboxgl.accessToken = 'pk.eyJ1IjoiYnlmcm9zdC1hcnRpY2xlcyIsImEiOiJjajVsZ3NwZGczMWNtMnFyeTR2cHRnajZ4In0.HOjYrueiLWlhLfhsDCa7wQ'; // Replace with your token
var map = new mapboxgl.Map({
container: 'map', //this is the id of the container you want your map in
style: 'mapbox://styles/mapbox/light-v9', // this controls the style of the map. Want to see more? Try changing 'light' to 'simple'.
minZoom: 2 // We want our map to start out pretty zoomed in to start.
});
map.on('load', function() { //On map load, we want to do some stuff
map.addLayer({ //here we are adding a layer containing the tileset we just uploaded