- Peaks (von 50 auf 5000 Clients)
- Multiprozess Architektur (Versandmodul, cron jobs, shared db)
- Langsame Antwortzeiten aufgrund von DB Queries
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
group :development do | |
ENV.fetch('WAGONS').split.each do |wagon| | |
gem "hitobito_#{wagon}", :path => "../hitobito_#{wagon}" | |
end | |
end | |
group :production do | |
ENV.fetch('WAGONS').split.each do |wagon| | |
gem "hitobito_#{wagon}", :path => "../hitobito_#{wagon}" |
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
#!/bin/sh | |
ROOT=~/dev/pzl/hitobito | |
RUBY_VERSION=2.1.5 | |
link() { | |
echo "linking $1 -> $2" | |
ln -s "$1" "$2" | |
} | |
target=$1 |
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
module Game exposing (..) | |
import Matrix exposing (..) | |
import Array exposing (..) | |
import Html exposing (..) | |
import Html.Events exposing (..) | |
import Html.Attributes exposing (..) | |
import Debug exposing (..) | |
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
def clear_emails | |
Mail.find_and_delete(count: MailRelay::Base.retrieve_count) do |message| | |
print "#{message.subject} - delete(y/n): " | |
if gets == 'y' | |
message.mark_for_delete = true | |
puts "deleted." | |
else | |
puts "" | |
end | |
end |
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 Redmine customizations | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @match https://redmine.puzzle.ch/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @require file:///home/ama/.dotfiles/tampermonkey/redmine.js | |
// @copyright 2012+, You | |
// ==/UserScript== |