This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hallo font size plugin | |
// Shows 7 buttons with an A + the size number. | |
// https://developer.mozilla.org/en-US/docs/Web/API/document.execCommand | |
// fontSize | |
// Changes the font size for the selection or at the insertion point. This requires an HTML font size (1-7) to be passed in as a // value argument. | |
// | |
// (c) 2014 Alejandro Varas | |
// hallofontsize may be freely distributed under the MIT license | |
(function(jQuery) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hallo colorpicker plugin | |
// (c) 2014 Alejandro Varas | |
// Based on https://github.com/25th-floor/hallo-simplecolorpicker-plugin | |
// hallocolorpicker may be freely distributed under the MIT license | |
(function(jQuery) { | |
return jQuery.widget("IKS.hallocolorpicker", { | |
colorElement : null, | |
options: { | |
uuid: '', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hallo font color plugin | |
// (c) 2014 Alejandro Varas | |
// hallofontcolor may be freely distributed under the MIT license | |
(function(jQuery) { | |
return jQuery.widget("IKS.hallofontcolor", { | |
options: { | |
uuid: '', | |
colors: { | |
"#7bd148": "Green", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Trello job challeng """ | |
from itertools import product | |
import sys | |
import unittest | |
letters = "acdegilmnoprstuw" | |
def pyhash(s): | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env lua | |
return { | |
["#{count} cancelled"] = false; | |
["#{count} days ago"] = false; | |
["#{count} finished"] = false; | |
["#{count} in discussion"] = false; | |
["#{count} in verification"] = false; | |
["#{count} in voting"] = false; | |
["#{count} more areas in this unit"] = false; | |
["#{count} new"] = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
from django import forms | |
from django.core.files.uploadedfile import SimpleUploadedFile | |
class Base64MultiField(forms.MultiValueField): | |
def __init__(self, *args, **kwargs): | |
kwargs['fields'] = ( | |
forms.CharField(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Generated by Django 1.10.1 on 2016-09-23 05:42 | |
from __future__ import unicode_literals | |
from django.db import migrations, models | |
class Migration(migrations.Migration): | |
dependencies = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Generated by Django 1.10.1 on 2016-09-23 05:48 | |
from __future__ import unicode_literals | |
from django.db import migrations | |
class Migration(migrations.Migration): | |
dependencies = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################ | |
# Installation # | |
################ | |
WWW_USER="" # use the same name as your webserver user "www-data" "lighttpd", the one who connects to the database | |
WWW_PATH="" # must be accesible by your webserver "/var/www/liquidfeedback | |
POSTGRES_USERNAME="" # use the same name as your webserver user "www-data" "lighttpd" | |
INSTALL_PATH="/opt" | |
TMP_PATH="/tmp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hallo fontfamily plugin | |
// (c) 2014 Alejandro Varas | |
// hallofontfamily may be freely distributed under the MIT license | |
(function(jQuery) { | |
return jQuery.widget("IKS.hallofontfamily", { | |
options: { | |
uuid: '', | |
fonts: [ | |
// from http://web.mit.edu/jmorzins/www/fonts.html |
OlderNewer