Skip to content

Instantly share code, notes, and snippets.

View alanwflood's full-sized avatar

Alan alanwflood

  • Dublin, Ireland
View GitHub Profile
@alanwflood
alanwflood / eslint-typescript.md
Last active February 6, 2021 17:17 — forked from pedrouid/eslint-typescript.md
Eslint + Prettier configuration for Typescript 3.7+ (2020)

Eslint + Prettier configuration for Typescript 3.7+ (2020)

  1. Install required dependencies
npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise prettier
  1. Setup your .eslintrc config file
{
* {
background: #000 !important;
color: #0f0 !important;
outline: solid #f00 1px !important;
}

Exporting from Heroku

heroku pg:backups:capture

then

heroku pg:backups:download

Importing locally

@alanwflood
alanwflood / jquery-bootstrap-datepicker.css
Created February 25, 2016 15:55 — forked from miwahall/jquery-bootstrap-datepicker.css
jQuery UI Datepicker Bootstrap 3 Style
.ui-datepicker {
background-color: #fff;
border: 1px solid #66AFE9;
border-radius: 4px;
box-shadow: 0 0 8px rgba(102,175,233,.6);
display: none;
margin-top: 4px;
padding: 10px;
width: 240px;
}