Skip to content

Instantly share code, notes, and snippets.

@chrisvfritz
chrisvfritz / index.html
Created November 18, 2014 19:22
Simplest possible HTML template
<!doctype html>
<html>
<head>
<title>This is the title of the webpage!</title>
</head>
<body>
<p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p>
</body>
</html>
@bryanrsmith
bryanrsmith / .eslintrc
Last active June 17, 2018 18:21
eslint config
{
"parser": "babel-eslint",
"env": {
"browser": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
@danielabar
danielabar / aurelia.protractor.js
Created May 21, 2016 16:44
Extensions to Aurelia Protractor Plugin, adding additional Locators
/* Aurelia Protractor Plugin */
/* eslint-disable no-var, no-console */
function addValueBindLocator() {
by.addLocator('valueBind', function(bindingModel, optParentElement) {
var using = optParentElement || document;
var matches = using.querySelectorAll('*[value\\.bind="' + bindingModel + '"]');
var result;
if (matches.length === 0) {
result = null;
@RossJHagan
RossJHagan / GUIDE.md
Last active June 15, 2017 16:51
Aurelia CLI based project (0.13.6) - Add e2e tests [Typescript based]

Setting up Aurelia CLI based project with e2e tests

Disclaimer: This is a basic implementation, and much of the configuration files have been lifted from the aurelia skeleton.

##Install dependencies

npm i -D del gulp-protractor

Establish configurations

@niieani
niieani / server-renderer.js
Last active January 11, 2017 00:55
Server Rendering Aurelia
import * as path from 'path';
import 'aurelia-polyfills';
import {Options, NodeJsLoader} from 'aurelia-loader-nodejs';
import {PLATFORM, DOM} from 'aurelia-pal';
import {globalize} from 'aurelia-pal-nodejs';
import {Aurelia} from 'aurelia-framework';
// ignore importing '.css' files, useful only for Webpack codebases that do stuff like require('./file.css'):
require.extensions['.css'] = function (m, filename) {
return;
@ecurrencyhodler
ecurrencyhodler / (Deprecated)LTC-Lightning-Network-lnd-Guide (Mac).md
Last active December 18, 2023 02:32
This is a step-by-step main net tutorial on how to setup a lightning network node for Litecoin on a Mac. It will take you from the beginning all the way through to becoming visible on a ln explorer. To send or recieve payments, refer to "Basic lnd Commands."

LTC-Lightning-Network-lnd-Guide

This is a step-by-step main net tutorial on how to setup a Lightning Network node for Litecoin on a Mac. It is specifically for the lnd client by the Lightning Labs. You can copy and paste most of the commands except for the times I've indicated in bold for you to input your own information. It would also be a good idea to backup your computer prior to starting just in case you need to start over.

Below is a legend. Refer to it as you come across terms or symbols you don’t understand. The first part of the tutorial is taken from the lnd github. However, everything else is written with the help of Patrick Walters taking me step by step through the process.

Legend

$ = This symbol means 1 line of code. Do not type “$” into your terminal. Simply input what follows then push enter.

Pubkey = Short for the public key that is generated from the private key w

@losh11
losh11 / verify-litecoin-gpg-sigs.md
Last active June 29, 2021 15:00
Bash instructions to verify litecoin core gpg sigs with thrasher-au's key.

Verify Litecoin Core sigs

Get thrasher-au's GPG key (0xFE3348877809386C) from mit.edu keyserver

$ gpg --keyserver pgp.mit.edu --recv-keys FE3348877809386C

$ gpg --fingerprint FE3348877809386C
pub   rsa2048 2013-06-19 [SC]
      59CA F0E9 6F23 F537 4794  5FD4 FE33 4887 7809 386C
uid           [  full  ] Adrian Gallagher <[email protected]>