Skip to content

Instantly share code, notes, and snippets.

View AWolf81's full-sized avatar

Alexander Wolf AWolf81

View GitHub Profile
@AWolf81
AWolf81 / index.coffee
Created July 12, 2015 18:57
Workaround for angular-template-brunch with-out CommonJs
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 / 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 / info.md
Created May 16, 2016 06:54
Example Gist for angular-gist directive
@AWolf81
AWolf81 / index.html
Last active May 17, 2016 08:20
Example fiddle source
html file
<h1>Hello world</h1>
@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 / 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 / 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">
@AWolf81
AWolf81 / DemoSettingsTPanel.py
Last active October 24, 2017 00:15
Settingspage inside of a TabbedPanel
from kivy.config import Config
Config.set('graphics', 'width', '320')
Config.set('graphics', 'height', '480')
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.widget import Widget
from kivy.uix.settings import SettingsWithNoMenu
from kivy.properties import StringProperty
@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 / 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)