Skip to content

Instantly share code, notes, and snippets.

View ucarion's full-sized avatar
💭

Ulysse Carion ucarion

💭
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
public class Program
{
public static void Main()
{
RgbaColor color = JsonConvert.DeserializeObject<RgbaColor>("{\"Hex\": 0, \"Red\": 128}");
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.2.13 -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY RFC3339 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.3339.xml">
<!ENTITY RFC4287 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4287.xml">
<!ENTITY RFC6901 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6901.xml">
<!ENTITY RFC8259 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8259.xml">
<!ENTITY RFC8610 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8610.xml">
{
"definitions": {
"name": {
"metadata": {
"description": "A proper name.\n\nNote that this is a string, and not some object with first/given name or a last/family name. We have users across many cultures, and some of these cultures use mononyms or otherwise don't map onto these concepts."
},
"type": "string"
},
"location": {
"metadata": {
@ucarion
ucarion / index.html
Last active February 7, 2019 03:50 — forked from d3noob/.block
Simple bar graph in v4
<!DOCTYPE html>
<meta charset="utf-8">
<style> /* set the CSS */
.bar { fill: steelblue; }
</style>
<body>
<!-- load the d3.js library -->
31831 glXMakeCurrent(dpy = 0x7f510c480000, drawable = 20971523, ctx = 0x7f5109fc6d48) = True
31832 glGenTextures(n = 1, textures = &6)
31833 glBindTexture(target = GL_TEXTURE_2D, texture = 6)
31834 glTexStorage2D(target = GL_TEXTURE_2D, levels = 1, internalformat = GL_DEPTH24_STENCIL8, width = 801, height = 600)
31835 glTexParameteri(target = GL_TEXTURE_2D, pname = GL_TEXTURE_BASE_LEVEL, param = 0)
31836 glTexParameteri(target = GL_TEXTURE_2D, pname = GL_TEXTURE_MAX_LEVEL, param = 0)
31838 glGenTextures(n = 1, textures = &7)
31839 glBindTexture(target = GL_TEXTURE_2D, texture = 7)
31840 glTexStorage2D(target = GL_TEXTURE_2D, levels = 1, internalformat = GL_SRGB8_ALPHA8, width = 801, height = 600)
31841 glTexParameteri(target = GL_TEXTURE_2D, pname = GL_TEXTURE_BASE_LEVEL, param = 0)
[dependencies]
camera_controllers = "0.22"
gfx = "0.16"
pistoncore-sdl2_window = "0.44"
piston_window = "0.70"
vecmath = "0.3"
glutin = "*"
gfx_window_glutin = "*"
alert(1)
Date Location (according to buggy OCR)
10/17/2015 1800 CAPISTRANO AVE
10/17/2015 2100 DWIGHT WAY
10/18/2015 HASTE ST / SHATTUCK AVE
10/18/2015 2000 HASTE ST
10/18/2015 2400 WARRING ST
10/18/2015 WARRING ST / CHANNING WAY
10/18/2015 2200 BLAKE ST
10/18/2015 2500 BENVENLIE AVE
10/18/2015 2400 DWIGHT WAY '
2015-00061442
201500061447
2015-00061449
201500061450
2015-00061454
201500061455
2015-00061459
201500061466
1800 CAPISTRANO AVE
2100 DWIGHT WAY
HASTE ST / SHATTUCK AVE
2000 HASTE ST
2400 WARRING ST
WARRING ST / CHANNING WAY
2200 BLAKE ST
2500 BENVENLIE AVE
2400 DWIGHT WAY '
2300 PIEDMONT AVE