I hereby claim:
- I am philpalmieri on github.
- I am philpalmieri (https://keybase.io/philpalmieri) on keybase.
- I have a public key ASBAZCba08-8T-i78vyNxnAnDjO9-aqV5ltATNJDBbIokgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/////////////////////////////// | |
package.json | |
//////////////////////////////// | |
"scripts": { | |
"fixlcov": "node fixlcov.js" | |
}, | |
///////////////////////////////// | |
fixlcov.js | |
/////////////////////////////// |
call plug#begin('~/.vim/plugged') | |
Plug 'ohmyzsh/vi-mode' | |
Plug 'arcticicestudio/nord-vim' | |
Plug 'NLKNguyen/papercolor-theme' | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'junegunn/seoul256.vim' | |
Plug 'junegunn/vim-easy-align' | |
Plug 'zivyangll/git-blame.vim' | |
Plug 'junegunn/vim-easy-align' |
{ | |
"editor.minimap.enabled": "false", | |
"workbench.sideBar.location": "right", | |
"window.menuBarVisibility": "toggle", | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.colorTheme": "Material Theme", | |
"materialTheme.fixIconsRunning": false, | |
"workbench.iconTheme": "eq-material-theme-icons", | |
"window.zoomLevel": 1 | |
} |
Ubuntu has stopped shipping L2TP over IPSec support for Ubuntu since Precise. A workaround for this exists using network-manager-l2tp. | |
First you must install the prerequisites: | |
sudo apt install intltool | |
sudo apt install libtool | |
sudo apt install network-manager-dev | |
sudo apt install libnm-util-dev | |
sudo apt install libnm-glib-dev | |
sudo apt install libnm-glib-vpn-dev |
I hereby claim:
To claim this, I am signing this object:
$(document).ready(function($){ | |
var anchorElements = $('a'); | |
var eventDefaults = { | |
category: 'Links', | |
value: 0 | |
} | |
var fileTypes = new RegExp(/\.(docx*|xlsx*|pptx*|zip|pdf)$/i); | |
var mailtoPattern = new RegExp('/mailto:/'); |
[ | |
{ | |
"symbol": "$", | |
"name": "US Dollar", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "US dollars" | |
}, |
describe('Mock jQuery calls with Jasmine', function() { | |
it('how to mock $("test").show()', function() { | |
// mock the call | |
spyOn($.fn, 'show').andCallFake(function() { | |
return true; | |
}); | |
// now we can call the mock | |
result = $("test").show(); |
import { Analytics } from './../src/Analytics'; | |
import * as mocha from 'mocha'; | |
import * as chai from 'chai'; | |
const sinon = require('sinon'); | |
const analytics = require('universal-ga'); | |
const expect = chai.expect; | |
const fakeId = 'ABC-123-XYZ'; |