I hereby claim:
- I am claudioc on github.
- I am claudioc (https://keybase.io/claudioc) on keybase.
- I have a public key ASA_hkQ1KiU7760d2e-ghPssGqF3VxwlByw4OEtp4ZA4WAo
To claim this, I am signing this object:
-- Contenuto del tsconfig.json | |
{ | |
// Enable support for importing CommonJS modules targeting es6 modules | |
"esModuleInterop": true, | |
// When using above interop will get missing default export error from type check since | |
// modules use "export =" instead of "export default", enable this to ignore errors. | |
"allowSyntheticDefaultImports": true | |
} |
#!/usr/bin/env bash | |
# Simple shortcut wrapper to your most common git commands | |
# Easy to extend, and passes all the unrecognized command through the | |
# `git` command itself (i.e. `g rebase master` => `git rebase master`) | |
# Traps any error (see https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html) | |
set -e -o pipefail -u | |
cmd=${1} | |
argc=${#} |
/* This can be the start of a module */ | |
const makeHandler = cb => { | |
return { | |
get (object, prop, receiver) { | |
if (Reflect.has(object, prop)) { | |
return Reflect.get(...arguments) | |
} | |
return new Proxy(() => {}, { |
function getUpdates() { | |
updateCell("B3", "ripple") | |
updateCell("C3", "bitcoin") | |
updateCell("D3", "ethereum") | |
updateCell("E4", "litecoin") | |
updateCell("F4", "iota") | |
} | |
function updateCell(cell, code) { | |
const response = UrlFetchApp.fetch("https://api.coinmarketcap.com/v1/ticker/" + code + "/?convert=EUR") |
I hereby claim:
To claim this, I am signing this object:
If you use fish and want to try Powerline: | |
Install oh-my-fish https://github.com/oh-my-fish/oh-my-fish | |
Install bobthefish (for the git support) | |
Follow the instructions above, or: | |
1. Install fisherman (https://github.com/fisherman/fisherman) | |
2. Install powerline with `sudo pip install powerline-status` (or https://github.com/banga/powerline-shell not sure about the diff) | |
3. Install shellder with `sudo fisher install simnalamburt/shellder` (https://github.com/simnalamburt/shellder) | |
4. Install powerline-patched fonts (https://github.com/powerline/fonts) |
<div class="page"> | |
<header></header> | |
<section class="content"></section> | |
<footer></footer> | |
</div> | |
.page { | |
display: flex; | |
flex-direction: column; | |
min-height: <anything>; |
#!/usr/bin/env bash | |
set -e | |
type docker >/dev/null 2>&1 || { echo >&2 "docker is not available. Aborting."; exit 1; } | |
GIT_BRANCH=$(git symbolic-ref HEAD | sed 's/refs\/heads\///') | |
# Configuration section | |
IMAGE_NAME=myproject | |
LIVE_BRANCH=master |
--- The "custom" CSS, just adds a border | |
.left, | |
.right, | |
ons-progress-bar { | |
border: 1px solid magenta; | |
} | |
--- THE HTML | |
<!doctype html> | |
<html class="no-js" lang=""> |
/* | |
* Your Stylesheet | |
* | |
* This stylesheet is loaded when Atom starts up and is reloaded automatically | |
* when it is changed and saved. | |
* | |
* Add your own CSS or Less to fully customize Atom. | |
* If you are unfamiliar with Less, you can read more about it here: | |
* http://lesscss.org | |
*/ |