Skip to content

Instantly share code, notes, and snippets.

[
"abrasive",
"acacia",
"acid",
"acid driven",
"aggressive",
"airy",
"alcohol",
"allspice",
"almond",
@joshdcuneo
joshdcuneo / clear_deleted_at.sql
Last active September 25, 2019 10:37
SQL Snippetes
CREATE TRIGGER clear_deleted_at BEFORE
UPDATE
ON todo FOR EACH ROW
WHEN (
NOT NEW.deleted
AND OLD.deleted IS DISTINCT
FROM
NEW.deleted
) EXECUTE PROCEDURE trigger_clear_deleted_at();
@joshdcuneo
joshdcuneo / arch-linux-install.md
Last active August 15, 2019 11:11 — forked from kylemanna/arch-linux-install.md
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
@joshdcuneo
joshdcuneo / .eslintrc.json
Last active February 13, 2019 13:57
Javascript Linting Setup
{
"extends": ["eslint:recommended", "eslint-config-prettier"],
"parserOptions": { "ecmaVersion": 2018 },
"rules": {
"no-console": "off",
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
@joshdcuneo
joshdcuneo / package.json
Last active February 13, 2019 10:51
Typescript Linting Setup
{
"scripts": {
"tslint": "tslint -c tslint.json -p tsconfig.json"
},
"devDependencies": {
"tslint": "^5.12.1"
}
}
@joshdcuneo
joshdcuneo / .babelrc
Last active November 16, 2018 08:39
.files for ts
{
"presets": ["@babel/env", "@babel/preset-typescript"],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
]
}
# nginx Configuration File
# http://wiki.nginx.org/Configuration
# Run as a less privileged user for security reasons.
user nginx;
# How many worker threads to run;
# "auto" sets it to the number of CPU cores available in the system, and
# offers the best performance. Don't set it higher than the number of CPU
# cores if changing this parameter.