Skip to content

Instantly share code, notes, and snippets.

View AWolf81's full-sized avatar

Alexander Wolf AWolf81

View GitHub Profile
@AWolf81
AWolf81 / SettingsButton.js
Created October 13, 2018 00:11
Medium Post
class SettingsButton extends PureComponent<Props, State> {
render() {
const { size } = this.props;
return (
<Wrapper>
{' '}
<IconBase size={size} icon={settings} />{' '}
</Wrapper>
);
}
@AWolf81
AWolf81 / Zenhub Getting started.md
Last active October 2, 2018 07:52
Zenhub Getting started guide

We're using Zenhub for project management it's optional but it will help to keep track of development activities.

The browser extenison is recommended as you can stay on Github during work with Zenhub.

Pipelines (lanes of development)

At the moment, there are 7 pipelines. A brief explanation to each lane:

New Issues

Every created Github issue will start in this pipeline. They're staying there until they are sorted into another pipeline.

@AWolf81
AWolf81 / log.txt
Created September 23, 2018 17:59
Errors after start from Electron builder created Guppy binary (Windows 10)
[19:21:56.587] [info] Checking for update
[19:21:56.604] [error] Error: TypeError: l is not a function
at e.<anonymous> (C:\Users\Alexander\AppData\Local\Programs\guppy\resources\app.asar\build\electron.js:1:299034)
at emitNone (events.js:106:13)
at emit (events.js:208:7)
at C:\Users\Alexander\AppData\Local\Programs\guppy\resources\app.asar\build\electron.js:1:122609
at E (C:\Users\Alexander\AppData\Local\Programs\guppy\resources\app.asar\build\electron.js:1:295611)
at Generator._invoke (C:\Users\Alexander\AppData\Local\Programs\guppy\resources\app.asar\build\electron.js:1:295399)
at Generator.t.(anonymous function) [as next] (C:\Users\Alexander\AppData\Local\Programs\guppy\resources\app.asar\build\electron.js:1:295790)
at Generator.c (C:\Users\Alexander\AppData\Local\Programs\guppy\resources\app.asar\build\electron.js:1:2342)
@AWolf81
AWolf81 / dependencies.service.js
Last active July 29, 2018 08:28
Add logger functionality - created method for spawnProcess - type annotation not working yet.
// @flow
import packageMan from './package-manager.service';
import { PACKAGE_MANAGER_CMD } from './platform.services';
import { logger } from './logger.service';
const childProcess = window.require('child_process');
type executor = Promise.executor;
const spawnProcess = (
cmd: string,
@AWolf81
AWolf81 / True Trello Printer
Last active May 2, 2017 19:26 — forked from mathiasrw/True Trello Printer
Ever wanted to print your Trello board? Export as JSON and paste it into the code.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>True Trello Printer</title>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<style>
body{margin:15%;}
.panel-body{
@AWolf81
AWolf81 / de.properties
Created July 12, 2016 19:23
Localization of radio simplePrefs issue
# ------------------ Einstellungen -----------------------------
whitelist_title = Urls in der White-list sind klickbar
whitelist_description = Jeder Link der in der White-list aufgeführt ist, lässt sich öffnen. Leer oder * lässt jede Url zu. Mehrere Urls werden mit Leerzeichen getrennt. Wildcards sind zuläassig z.B. *.trello.com
enableExecutables_title = Aktiviert Links zu lokalen ausführbaren Dateien
enableExecutables_description = Wenn aktiviert, kann jedes Programm vom Addon gestartet werden. (Achtung! Eine Seite von einem Betrüger könnte das für einen Denial-Of-Service-Angriff verwenden.)
enableLinkIcons_title = Aktiviert Link icons
enableLinkIcons_description = Wenn aktiviert, wird ein Link-Icon jedem lokalen File-Link hinzugefügt.
@AWolf81
AWolf81 / index.html
Last active May 17, 2016 08:20
Example fiddle source
html file
<h1>Hello world</h1>
@AWolf81
AWolf81 / info.md
Created May 16, 2016 06:54
Example Gist for angular-gist directive
@AWolf81
AWolf81 / ru.properties
Last active April 30, 2016 13:52
Localization for local linkk addon - Russian language
# ------------------ preferences ------------------------------
whitelist_title = URL-адреса, добавленные в White List, будут кликабельными
whitelist_description = По-умолчанию кликабельны все ссылки, которые распознает дополнение, но вы можете добавить нераспознанные URL-адреса вручную, разделяя их пробелом. Допускается использование подстановочных знаков, например, *.trello.com
enableExecutables_title = Разрешить ссылки на исполняемые файлы
enableExecutables_description = Если включить эту опцию, URL-адреса на исполняемые файлы станут кликабельными. Будьте осторожны, это не всегда безопасно!
enableLinkIcons_title = Отображать иконки возле ссылок
enableLinkIcons_description = Если включить эту опцию, то напротив каждой локальной ссылки будет отображаться иконка
@AWolf81
AWolf81 / app.html
Last active September 26, 2017 22:43
Firebase chat example with private messages (only visible for owner)
<!-- created for this SO
http://stackoverflow.com/questions/34491935/how-to-combine-two-firebasearrays-into-one
How to setup this fiddle?
1. Change FBURL constant to your app
2. Create a user for password provider in firebase dashboard
3. Enter credentials in $authWithPassword
-->
<div ng-app="myApp" ng-controller="ChatCtrl as chatCtrl">