Skip to content

Instantly share code, notes, and snippets.

View espeon's full-sized avatar
:octocat:
octo cat

natalie espeon

:octocat:
octo cat
View GitHub Profile
import AppBar from '../components/appbar'
import Card from '../components/card'
import Link from 'next/link'
import fetch from 'isomorphic-unfetch'
import { makeStyles } from '@material-ui/core/styles'
import Grid from '@material-ui/core/Grid'
import Paper from '@material-ui/core/Paper'
function fetcher(url) {
use dotenv;
use warp::Filter;
#[tokio::main]
async fn main() {
dotenv::dotenv().ok();
let hello = warp::any().map(|| {
"Hello from warp!"
});
let hello_from_warp = warp::path!("img" / u32 / u32).map(|x,y| {
import {
createConnection,
getConnection,
getManager,
EntitySchema
} from "typeorm";
import Models from "./models";
const Adapter = (options = {}) => {
using Microsoft.Xna.Framework;
using Nez;
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Nez.Textures;
using Nez.Sprites;

Keybase proof

I hereby claim:

  • I am notkanbaru on github.
  • I am emmais (https://keybase.io/emmais) on keybase.
  • I have a public key ASAYDvhu3y0boeR5VPV1wbEoL3EHb0ceBBMLIIS8PcPXoQo

To claim this, I am signing this object:

@espeon
espeon / docker-compose.yaml
Last active July 24, 2020 03:07
docker-compose with postgres and pgbouncer
services:
postgres:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: PASsWORD
volumes:
- ./pg_data:/var/lib/postgresql/data
ports:
- "5432:5432"
@espeon
espeon / player.waveline.app.css
Last active July 26, 2020 02:57
waveline player css so it looks slightly better or something
@-moz-document domain("player.waveline.app") {
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&family=Noto+Sans+JP:wght@100;300;400&display=swap');
*, :after, :before, button, button:focus, input, textarea, body, html, h1, h2, h3, h4, h5 {
font-family: 'Inter', 'Noto Sans JP', 'Open Sans', feather, sans-serif;
}
.button:hover {
color: #fff;
background-color: #4caf50!important;
}
[
{
"time": 13.2,
"text": "Expensive tickets to a crowded place"
},
{
"time": 17.56,
"text": "Someone who you can't relate to calls your name"
},
{
[{"lat":25.03737,"lon":121.56355,"temp":{"value":32.35,"units":"C"},"precipitation":{"value":1.728,"units":"mm/hr"},"precipitation_type":{"value":"rain"},"precipitation_probability":{"value":40,"units":"%"},"feels_like":{"value":36.82,"units":"C"},"humidity":{"value":56.5,"units":"%"},"wind_speed":{"value":2.88,"units":"m/s"},"wind_direction":{"value":71.51,"units":"degrees"},"cloud_cover":{"value":61,"units":"%"},"weather_code":{"value":"rain_light"},"observation_time":{"value":"2020-08-29T03:00:00.000Z"}},{"lat":25.03737,"lon":121.56355,"temp":{"value":32.05,"units":"C"},"precipitation":{"value":2.34,"units":"mm/hr"},"precipitation_type":{"value":"rain"},"precipitation_probability":{"value":40,"units":"%"},"feels_like":{"value":36.77,"units":"C"},"humidity":{"value":58.6,"units":"%"},"wind_speed":{"value":3.22,"units":"m/s"},"wind_direction":{"value":79.17,"units":"degrees"},"cloud_cover":{"value":71,"units":"%"},"weather_code":{"value":"rain_light"},"observation_time":{"value":"2020-08-29T04:00:00.000Z"}},

Keybase proof

I hereby claim:

  • I am kanbaru on github.
  • I am emmais (https://keybase.io/emmais) on keybase.
  • I have a public key ASA63JIOd9m-rVJeN8ikgXV8yj8jLa__ys47Mi3DdDCX4Qo

To claim this, I am signing this object: