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
{ | |
routing: { | |
state: STARTED | |
primary: true | |
node: __7vVIObS66viEDy28bfSA | |
relocating_node: null | |
shard: 0 | |
index: tlhub-development_segments | |
} | |
state: STARTED |
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
set -g status-right "#(uptime|awk '{print $11}') #(date)" | |
set-option -g status-keys vi | |
set-window-option -g mode-keys vi | |
set-window-option -g utf8 on | |
set-window-option -g mode-mouse on | |
set-option -g mouse-select-pane on | |
#set -g default-terminal screen-256color | |
#set-option -g history-limit 4096 |
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
# config/initializers/active_admin_mongoid_patch.rb | |
require "active_admin" | |
require "active_admin/resource_controller" | |
require 'ostruct' | |
module ActiveAdmin | |
class Namespace | |
# Disable comments | |
def comments? |
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
URxvt.background: #000000 | |
!URxvt.foreground: gray90 | |
URxvt.foreground: white | |
URxvt.color7: gray90 | |
URxvt.colorBD: #ffffff | |
URxvt.cursorColor: #e0e080 | |
URxvt.throughColor: #8080f0 | |
URxvt.highlightColor: #f0f0f0 | |
URxvt.font : xft:Inconsolata:pixelsize=17 | |
URxvt.transparent : true |
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
209.51.208.188 - - [29/Jan/2015:15:25:59 +0100] "GET /muieblackcat HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:25:59 +0100] "GET //scripts/setup.php HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:26:00 +0100] "GET //admin/scripts/setup.php HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:26:00 +0100] "GET //admin/pma/scripts/setup.php HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:26:00 +0100] "GET //admin/phpmyadmin/scripts/setup.php HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:26:00 +0100] "GET //db/scripts/setup.php HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:26:00 +0100] "GET //phpMyAdmin-2.5.5-pl1/index.php HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:26:00 +0100] "GET //php-my-admin/scripts/setup.php HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:26:00 +0100] "GET //phpMyAdmin/scripts/setup.php HTTP/1.1" 404 446 "-" "-" | |
209.51.208.188 - - [29/Jan/2015:15:26:00 +0100] "GET //phpmyadmin/ |
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
/ Using ace templating engine but should be easily transferable to go templating | |
= content list | |
.col-xs-12.col-sm-8.col-md-9.content-column.white-background | |
{{ partial "mobileNavToggle.html" . }} | |
.list.row | |
.col-lg-12 | |
/ this is where the magic happens. In my case, | |
/ the only listing page is the workshops one so this condition is hardcoded | |
{{ range (where .Data.Pages.ByDate "Section" "workshops") }} |
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 python3 | |
# Git post-commit hook that | |
# parses the commit message for a trello card URL | |
# checks if the core "origin" url of the current repository is a github URL | |
# POSTs a comment on the aforementioned Trello card with a github link to the commit | |
# just put this file in your .git/hooks dir | |
# name it post-commit | |
# chmod +x .git/hooks/post-commit | |
# requires python3 and pip3 install dulwich |