Skip to content

Instantly share code, notes, and snippets.

Alexander Wolf AWolf81

Block or report user

Report or block AWolf81

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AWolf81
AWolf81 / dependencies.service.js
Last active Jul 29, 2018
Add logger functionality - created method for spawnProcess - type annotation not working yet.
View dependencies.service.js
// @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 — forked from mathiasrw/True Trello Printer
Ever wanted to print your Trello board? Export as JSON and paste it into the code.
View True Trello Printer
<!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 Jul 12, 2016
Localization of radio simplePrefs issue
View de.properties
# ------------------ 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
Example fiddle source
View index.html
html file
<h1>Hello world</h1>
@AWolf81
AWolf81 / info.md
Created May 16, 2016
Example Gist for angular-gist directive
View info.md
@AWolf81
AWolf81 / ru.properties
Last active Apr 30, 2016
Localization for local linkk addon - Russian language
View ru.properties
# ------------------ 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 Sep 26, 2017
Firebase chat example with private messages (only visible for owner)
View app.html
<!-- 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">
@AWolf81
AWolf81 / index.js
Created Sep 24, 2015
Connect serve static example
View index.js
var connect = require('connect'),
http = require('http'),
serveStatic = require('serve-static'),
app = connect(),
server;
app.use(serveStatic("./angularjs"));
server = http.createServer(app);
@AWolf81
AWolf81 / index.coffee
Created Jul 12, 2015
Workaround for angular-template-brunch with-out CommonJs
View index.coffee
module.exports = class NgTemplatesCompiler
brunchPlugin: yes
type: 'template'
extension: 'js'
# Add to this list of markup to wrap for AngularJS
pattern: /\.(html|jade|eco|hbs|handlebars)$/
constructor: (config) ->
@module = config.plugins?.ng_templates?.module or 'appTemplates'
@AWolf81
AWolf81 / SpringMVCWebConfig.java
Last active Jun 2, 2019
Spring boot configuration file (annotation-based) - configures localization
View SpringMVCWebConfig.java
package mongodbdemo.config;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
You can’t perform that action at this time.