I hereby claim:
- I am kapillamba4 on github.
- I am kapillamba4 (https://keybase.io/kapillamba4) on keybase.
- I have a public key ASAS246jr7zBWF9dTygnH8uMmygkF379drKZYGx947Tnswo
To claim this, I am signing this object:
| #include <iostream> | |
| #include <cmath> | |
| #include <algorithm> | |
| #include <limits> | |
| #include <vector> | |
| #include <bitset> | |
| #include <cstdlib> | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <time.h> |
| /* global window */ | |
| const popup = (url) => { | |
| const windowArea = { | |
| width: Math.floor(window.outerWidth * 0.8), | |
| height: Math.floor(window.outerHeight * 0.5), | |
| }; | |
| if (windowArea.width < 1000) { windowArea.width = 1000; } | |
| if (windowArea.height < 630) { windowArea.height = 630; } |
| { | |
| // http://eslint.org/docs/rules/ | |
| "env": { | |
| "browser": true, // browser global variables. | |
| "node": false, // Node.js global variables and Node.js-specific rules. | |
| "worker": false, // web workers global variables. | |
| "amd": false, // defines require() and define() as global variables as per the amd spec. | |
| "mocha": false, // adds all of the Mocha testing global variables. | |
| "jasmine": false, // adds all of the Jasmine testing global variables for version 1.3 and 2.0. |
| # Command line utility to send attachments to your kindle | |
| # It supports sending a PDF in both regular form and with the convert option | |
| # and sending to the (@kindle.com) email address | |
| # The only argument it has is the name of the file to send. It will detect if | |
| # it is a pdf and treat it accordingly. | |
| ## Preferences | |
| # If true, send one version with pdf as-is, another with 'convert' subject | |
| # else, just send the pdf version |
| EXPRESSIONS | |
| <div id="app"> | |
| <p>I have a {{ product }}</p> | |
| <p>{{ product + 's' }}</p> | |
| <p>{{ isWorking ? 'YES' : 'NO' }}</p> | |
| <p>{{ product.getSalePrice() }}</p> | |
| </div> | |
| DIRECTIVES |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| # Cleanup docker files: untagged containers and images. | |
| # | |
| # Use `docker-cleanup -n` for a dry run to see what would be deleted. | |
| exited_containers() { | |
| docker ps -a -q -f status=exited | |
| } | |
| untagged_containers() { |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');Those suck for maintenance and they're ugly.
| ffmpeg -re -f concat -i <(for i in {1..9999}; do printf "file '%s'\n" input.mp4; done) -f v4l2 /dev/video1 && !! |