I hereby claim:
- I am JohannesTegner on github.
- I am jite (https://keybase.io/jite) on keybase.
- I have a public key whose fingerprint is 3002 1620 068A 1BB7 7935 FD0B DDAD B8FC AB6D B4D0
To claim this, I am signing this object:
| /** | |
| * Small script to generate icons for Android and iOS -devices. | |
| * | |
| * Copyrights: | |
| * Copyright (c) 2010 Matt Di Pasquale (https://gist.github.com/mattdipasquale/711203) | |
| * Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com (https://gist.github.com/appsbynight/3681050) | |
| * Code cleanup, rewrite, minor buggfixing, addition of android icons and generation of the folders by Johannes Tegnér http://jite.eu | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal |
| declare module 'node-yolog' { | |
| export function setObjectMaxDepth(value: number); | |
| export function setFunctionName(state: boolean); | |
| export function setColor(tag: string, color: string); | |
| export function set(value: boolean, ...args: any[]); | |
| export function get(tag: string): boolean; | |
| export function trace(...args: any[]); | |
| export function debug(format: string, ...args: any[]); |
| /** | |
| * @constructor | |
| */ | |
| var ConsoleNotifier = function ConsoleNotifier() { }; | |
| /** | |
| * Fetches the name of the notifier. | |
| * @returns {string} Notifier name. | |
| */ | |
| ConsoleNotifier.prototype.getName = function () { return "ConsoleNotifier"; }; |
| /** | |
| * @constructor | |
| */ | |
| var ConsoleNotifier = function ConsoleNotifier() { }; | |
| /** | |
| * Fetches the name of the notifier. | |
| * @returns {string} Notifier name. | |
| */ | |
| ConsoleNotifier.prototype.getName = function () { return "ConsoleNotifier"; }; |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # Change the following parameters to suit the backup you wish to create. | |
| SERVER="https://XXXXXX" # URL to the server to back up. | |
| WITH_TIMESTAMPS=false # If true, the file will be suffixed with current date-time. | |
| INCLUDE_CONFIGS=true # To include configurations or not. | |
| INCLUDE_DATABASE=true # To include database or not. | |
| INCLUDE_BUILD_LOGS=true # To include build logs or not. | |
| INCLUDE_PERSONAL_CHANGES=true # To include personal changes or not. | |
| FILE_NAME_PREFIX="automatic-backup" # Name of the file (if timestamp is true, it will be suffixed with that). |
| export default function(targetSelector, speed) { | |
| let current = ( | |
| (document.documentElement.scrollTop || document.body.scrollTop) | |
| - | |
| (window.innerHeight / 2) | |
| ); | |
| let target = document.querySelector(targetSelector).getBoundingClientRect(); | |
| let offset = (target.bottom - (target.height / 2)) + current; |
| export default function(targetSelector, speed) { | |
| let current = ( | |
| (document.documentElement.scrollTop || document.body.scrollTop) | |
| - | |
| (window.innerHeight / 2) | |
| ); | |
| let target = document.querySelector(targetSelector).getBoundingClientRect(); | |
| let offset = (target.bottom - (target.height / 2)) + current; |
| /** | |
| * Event emitter class. | |
| * Allows adding of event listeners (with on/off/once) which will be fired on emit call. | |
| */ | |
| export default class EventEmitter { | |
| constructor () { | |
| this.listeners = {}; | |
| } | |
| /** |
| export default (i) => i; |