I hereby claim:
- I am senhorbardell on github.
- I am senhorbardell (https://keybase.io/senhorbardell) on keybase.
- I have a public key ASDDuT8LkIpoOd258iAgWSsgFBuNpumcFdDl7jGBwxY3xwo
To claim this, I am signing this object:
call plug#begin() | |
Plug 'williamboman/mason.nvim' | |
Plug 'williamboman/mason-lspconfig.nvim' | |
Plug 'jose-elias-alvarez/null-ls.nvim' | |
"Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} | |
Plug 'github/copilot.vim' | |
Plug 'hrsh7th/cmp-copilot' | |
Plug 'joshdick/onedark.vim' |
// can run in https://www.typescriptlang.org/play | |
type Payload = { | |
results?: { | |
aggregation?: { | |
pie_aggregation?: { | |
items?: { | |
buckets: [{ | |
key: string | |
filtered: { |
I hereby claim:
To claim this, I am signing this object:
<?php | |
class DigestService { | |
private $events; | |
function __construct($events) { | |
$this->events = $events; | |
} | |
function stack(\Closure $func) { |
canvas1 = document.getElementById("canvas1"); | |
surface1 = canvas1.getContext("2d"); | |
image1 = new Image(); | |
canvas2 = document.getElementById("canvas2"); | |
surface2 = canvas2.getContext("2d"); | |
image2 = new Image(); | |
image1.onload = function () { |
<?php | |
/* ImageDiff -------------------------------------------- | |
Class to identify difference between two images. | |
Difference is identified in comparing the delta between average color. | |
Based on idea from: | |
http://www.hackerfactor.com/blog/?/archives/432-Looks-Like-It.html | |
call function Diff to get an Array with the results | |
Diff Description: |
<?php | |
function dct1D($in){ | |
$results = array(); | |
$N = count($in); | |
for($k = 0; $k < $N; $k++){ | |
$sum = 0; | |
for($n = 0; $n < $N; $n++){ | |
$sum += $in[$n] * cos($k * pi() * ($n + 0.5) / ($N)); | |
} |
// Vertical Rhythm ported from SASS/Compass | |
// Works exactly as before, with four exceptions: | |
// 1. rhythm() is a mixin, $rhythm() is a function. Stylus doesn't differentiate between same-name mixins and functions | |
// 2. All of the variables you're used to lack the dollar sign ($) prepend. | |
// 3. debug-vertical-alignment uses a temporary online image solution via http://basehold.it | |
// 4. There is no h-borders alias. Use horizonatal-borders instead. | |
// The base font size. | |
base-font-size ?= 16px |
app.get('*', function(request, response){ | |
response.sendfile('./public/index.html'); | |
}); |