Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@adcar
adcar / athena.py
Last active April 13, 2022 16:25
athena
import psycopg2
import json
import re
# head -n -1 output.json > output.fixed.json
# tail -n +2 output.fixed.json > fixed.json
DATA_LOCATION = "results.cringe.large"
conn = psycopg2.connect(dbname="athena", user="alex", password="yoloswag", host="localhost", port="5432")
@adcar
adcar / employee.c
Created February 20, 2020 19:59
employee
GNU nano 4.8 employee.c
#include <stdio.h>
#include <locale.h>
struct Employee {
char * name;
int yearBorn;
int salary;
@adcar
adcar / doxa-logo.svg
Created January 21, 2020 23:24
Doxa Logo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcar
adcar / waves.svg
Last active January 17, 2020 20:58
Waves
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcar
adcar / laptop.svg
Last active November 14, 2019 15:17
Laptop
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcar
adcar / header_2.svg
Last active September 19, 2019 14:50
Header 2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcar
adcar / header.svg
Last active September 19, 2019 14:23
Header
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcar
adcar / footer.svg
Last active September 4, 2019 00:25
Footer
@adcar
adcar / logo-gradient.svg
Created August 17, 2019 19:34
My Logo gradient
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcar
adcar / laptop.svg
Created August 1, 2019 19:41
Laptop
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.