Skip to content

Instantly share code, notes, and snippets.

View azizcodes's full-sized avatar

azizcodes

View GitHub Profile
<html>
<body>
Submitted! <a href="index.html">Go back</a> <br>
<?php
$conn_string = "dbname=postgres host=localhost port=5432 user=postgres password=postgres";
// Create connection
$conn = pg_connect($conn_string);
@azizcodes
azizcodes / index.html
Last active July 1, 2019 11:11
from tips and tricks with my edits
<!DOCTYPE html>
<meta charset="utf-8">
<style> /* set the CSS */
body { font: 12px Arial;}
path {
stroke: steelblue;
@azizcodes
azizcodes / index.html
Last active June 18, 2019 10:08
announcement
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<script src="d3.min.js"></script>
<script>
// https://observablehq.com/d/b001b4d65050c117@273
export default function define(runtime, observer) {
const main = runtime.module();
main.variable(observer()).define(["md"], function(md){return(
md`# Importing CSVs
@azizcodes
azizcodes / bar-data.csv
Created June 18, 2019 06:25
bar chart?
date value
2013-01 53
2013-02 165
2013-03 269
2013-04 344
2013-05 376
2013-06 410
2013-07 421
2013-08 405
2013-09 376