Skip to content

Instantly share code, notes, and snippets.

View cdilga's full-sized avatar
🏠
Working from home

Chris cdilga

🏠
Working from home
View GitHub Profile
@cdilga
cdilga / jforange_style.css
Created May 8, 2023 03:18
Jellyfin Orange
@import url('https://ctalvio.github.io/Monochromic/customcolor-advanced_style.css');
:root {--accent: 255, 120, 5;}
@cdilga
cdilga / keybase.md
Created September 14, 2020 08:44
Proof of identity

Keybase proof

I hereby claim:

  • I am cdilga on github.
  • I am cdilga (https://keybase.io/cdilga) on keybase.
  • I have a public key whose fingerprint is 5AEC 22B3 FD71 9187 AA8C 6966 18D4 37A9 40CC 5613

To claim this, I am signing this object:

@cdilga
cdilga / .gitlab-ci.yml
Created May 18, 2020 06:37
Our current gitlab ci yml
# This file is a template, and might need editing before it works on your project.
# Official docker image.
# dind = Docker in Docker
# This line allows privilege escalation if code is malicious inside our GitRepository
# and therefore should only be allowed once reviewed by trusted developers
services:
- docker:dind
# before_script:
@cdilga
cdilga / Edit in nvim.applescript
Last active February 12, 2020 00:03
When added as an automator Quick Action or Service, will give a right click menu option to open in nvim
on run {input, parameters}
tell application "iTerm"
activate
if (count of windows) = 0 then
set t to (create window with default profile)
else
set t to current window
end if
tell t
tell current session

The experiences of a Data Engineer

  1. Use Panoply.io to host your Data Warehouse
  2. Materialise views and then don't update them
  3. Dematerialise views and then update the code on Panoply.io
  4. Drop tables in production with cascade
@cdilga
cdilga / motospeedck62.ahk
Created March 26, 2019 20:31
Motospeed CK62 AHK Remapping
SetCapsLockState, AlwaysOff
CapsLock & w::Up
CapsLock & s::Down
CapsLock & a::Left
CapsLock & d::Right
CapsLock & /::Up
CapsLock & AppsKey::Down
CapsLock & RAlt::Left
CapsLock & RControl::Right
CapsLock & q::Home
package me.dilger.chris.stanfordtest;
import edu.stanford.nlp.coref.data.CorefChain;
import edu.stanford.nlp.ling.*;
import edu.stanford.nlp.ie.util.*;
import edu.stanford.nlp.pipeline.*;
import edu.stanford.nlp.semgraph.*;
import edu.stanford.nlp.trees.*;
import java.util.*;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cdilga
cdilga / real.for.R
Created April 27, 2018 02:14
A real for loop, one that doesn't use pesky and hard to understand iterators
# Real for Loop
# Dedicated to lachlan O'Neil for being too uptight to use iterators
real.for <- function(i, condition, operation, callback) {
while (condition(i)){
callback()
i <- operation(i)
}
}
@cdilga
cdilga / Bo Burnham - Lower Your Expectations - If You Want Love
Created January 20, 2018 11:57
Bo Burnham - Lower Your Expectations - If You Want Love Lyrics
we all want love how many single ladies
out there looking for love tonight yeah
whoo that's a dress out some more where
that came from
ladies I know what you want what you