Skip to content

Instantly share code, notes, and snippets.

View crasiak's full-sized avatar

Jonathan Stasiak crasiak

  • Lisbon
View GitHub Profile
### Keybase proof
I hereby claim:
* I am crasiak on github.
* I am craziak (https://keybase.io/craziak) on keybase.
* I have a public key ASDRNKlrvCyCJbvlVs2VQXbFjwGDM5fpmeoJpuSehc5hSwo
To claim this, I am signing this object:
@crasiak
crasiak / init.vim
Created October 29, 2017 02:01
my init.vim for neovim
" init.vim with dein plugin manager
" valerino, 2k17
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" mandatory
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
if &compatible
set nocompatible
endif
filetype off
@crasiak
crasiak / keybase.md
Created January 30, 2016 21:18
keybase

Keybase proof

I hereby claim:

  • I am crasiak on github.
  • I am crasiak (https://keybase.io/crasiak) on keybase.
  • I have a public key whose fingerprint is 139D F28D DB7D DDBD E15A 973F C359 7E8D 9D3C E9A5

To claim this, I am signing this object:

#!/bin/bash
set -eu
shopt -s nullglob
if [[ -n ${RUN:-} ]]; then
dry=
else
dry=echo
fi
#! /bin/bash
# HEADS UP! Make sure to use '*' or a valid hostname for the FDQN prompt
echo 01 > ca.srl
openssl genrsa -des3 -out ca-key.pem
openssl req -new -x509 -days 365 -key ca-key.pem -out ca.pem
openssl genrsa -des3 -out server-key.pem
openssl req -new -key server-key.pem -out server.csr
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
Documented at
http://linux.die.net/man/5/fonts-conf
To check font mapping run the command at terminal
$ fc-match 'helvetica Neue'
# -*- coding: utf-8 -*-
"""
example use of pandas with oracle mysql postgresql sqlite
- updated 9/18/2012 with better column name handling; couple of bug fixes.
- used ~20 times for various ETL jobs. Mostly MySQL, but some Oracle.
to do:
save/restore index (how to check table existence? just do select count(*)?),
finish odbc,
add booleans?,