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 bash | |
# | |
# Decidim installation script on Ubuntu 16.04 LTS and macos sierra 10.2 | |
# | |
# This is a BETA and as such you should be aware that this could break your environment (if you have any) | |
# This will install rbenv, postgresql, nodejs and install decidim on this directory | |
# It'll take 15 minutes depending on your network connection | |
# | |
set -e |
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
{ | |
"type": "FeatureCollection", | |
"features": [...], | |
"legend": { | |
"title": "Population Quantiles", | |
"symbols": [ | |
{"from": 0, "to": 10, "color": "ffffff", "symbol": "square"}, | |
{"from": 10, "to": 50, "color": "cffff1", "symbol": "square"}, | |
{"from": 50, "to": 80, "color": "afff33", "symbol": "square"} | |
] |
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
[ | |
{ | |
"homepage": "http://digitaljhelms.github.com", | |
"name": "digitaljhelms", | |
"description": "finally blogging...", | |
"author": "Jeremy Helms", | |
"post": { | |
"url": "http://digitaljhelms.github.com/howto/creating-a-branch-with-no-parents-or-history", | |
"slug": "creating-a-branch-with-no-parents-or-history", | |
"title": "Create a Git Branch without Parents or History", |
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
# By default the behavior is: | |
# Primary monitor work as always and second monitor only have one and fixed workspace | |
# I.e. you change to next workspace, primary monitor change to this workspace and second monitor remain as is. | |
# The desired behaviour is: | |
# Primary monitor and secondary monitor are linked workspace. | |
# I.e. you change to next workspace, primary monitor change to this workspace and second monitor too. | |
$ gconf-editor | |
# Look for /desktop/gnome/shell/windows/workspaces_only_on_primary and set to 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
source :rubygems | |
gem 'sinatra' | |
gem 'json' | |
gem 'omniauth' | |
gem 'omniauth-oauth2' | |
gem 'omniauth-github' | |
# gem 'omniauth-att', :path => File.expand_path("./../../omniauth-att", __FILE__) | |
gem 'thin' |
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
// ==UserScript== | |
// @name Use Markdown, sometimes, in your HTML. | |
// @author Paul Irish <http://paulirish.com/> | |
// @link http://git.io/data-markdown | |
// @match * | |
// ==/UserScript== | |
// If you're not using this as a userscript just delete from this line up. It's cool, homey. |
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
$('.splitter').draggable({ | |
axis: 'x', | |
containment: '#content', | |
distance: 0, | |
drag: function(event, ui) { | |
var width = $('#content').width(); | |
$('#content .leftpane').css({ width: ui.position.left + 'px' }); | |
$('#content .rightpane').css({ | |
left: ui.position.left + 1 + 'px', | |
width: (width - ui.position.left + 1) + 'px' |