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
2017-10-19T20:03:46+0200: [Worker(delayed_job.0 host:greenbox.local pid:16354)] Starting job worker | |
2017-10-19T20:03:46+0200: [Worker(delayed_job.1 host:greenbox.local pid:16358)] Starting job worker | |
2017-10-19T20:04:21+0200: [Worker(delayed_job.0 host:greenbox.local pid:16354)] acquired lock on MixPanel.trackerpeople | |
2017-10-19T20:04:22+0200: [Worker(delayed_job.0 host:greenbox.local pid:16354)] MixPanel.trackerpeople completed after 0.5656 | |
2017-10-19T20:04:22+0200: [Worker(delayed_job.0 host:greenbox.local pid:16354)] 1 jobs processed at 1.7281 j/s, 0 failed ... | |
2017-10-19T20:05:33+0200: [Worker(delayed_job.0 host:greenbox.local pid:16354)] Exiting... | |
2017-10-19T20:05:37+0200: [Worker(delayed_job.1 host:greenbox.local pid:16358)] Exiting... | |
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
2017-10-19T19:35:23+0200: [Worker(delayed_job.0 host:greenbox.local pid:15551)] Starting job worker | |
2017-10-19T19:35:23+0200: [Worker(delayed_job.1 host:greenbox.local pid:15555)] Starting job worker | |
2017-10-19T19:35:53+0200: [Worker(delayed_job.0 host:greenbox.local pid:15551)] acquired lock on Level#recalc_channel | |
2017-10-19T19:35:53+0200: [Worker(delayed_job.1 host:greenbox.local pid:15555)] acquired lock on Level#recalc_channel | |
2017-10-19T19:35:53+0200: [Worker(delayed_job.0 host:greenbox.local pid:15551)] Level#recalc_channel completed after 0.4396 | |
2017-10-19T19:35:53+0200: [Worker(delayed_job.0 host:greenbox.local pid:15551)] acquired lock on Level#recalc_channel | |
2017-10-19T19:35:53+0200: [Worker(delayed_job.1 host:greenbox.local pid:15555)] Level#recalc_channel completed after 0.4094 | |
2017-10-19T19:35:53+0200: [Worker(delayed_job.1 host:greenbox.local pid:15555)] acquired lock on Level#recalc_channel | |
2017-10-19T19:35:53+0200: [Worker(delayed_job.0 host:greenbox.local pid:15551)] Level#recalc_channel com |
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
10/19/17 18:44:35 +0200 greenbox.local (14363)] INFO : Attempting to start Scout Agent [2.3.0] on [greenbox.local] | |
[10/19/17 18:44:35 +0200 greenbox.local (14363)] INFO : Instrumenting ActionController::Base | |
[10/19/17 18:44:35 +0200 greenbox.local (14363)] INFO : Instrumenting ActionView::Template | |
[10/19/17 18:44:35 +0200 greenbox.local (14363)] INFO : Instrumenting render | |
[10/19/17 18:44:35 +0200 greenbox.local (14363)] INFO : Instrumenting render_with_scout_instrument, render_without_scout_instrument | |
[10/19/17 18:44:35 +0200 greenbox.local (14363)] INFO : Instrumenting ActiveRecord::ConnectionAdapters::AbstractAdapter | |
[10/19/17 18:44:35 +0200 greenbox.local (14363)] INFO : Instrumenting Net::HTTP | |
[10/19/17 18:44:35 +0200 greenbox.local (14363)] INFO : Starting monitoring for [igumbi.net]. Framework [rails] App Server [webrick] Background Job Framework []. | |
[10/19/17 18:44:35 +0200 greenbox.local (14363)] WARN : Couldn't fetch Gem information: uninitialized constant ScoutApm::Utils::InstalledGems::Bundler | |
[10 |
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
<html> | |
<head> | |
<title>RKSV PHP Funktionen</title> | |
</head> | |
<body> | |
<h1>RKSV PHP Funktionen in PHP </h1> | |
<p> 31.1.2017 as per <a href="https://github.com/a-sit-plus/at-registrierkassen-mustercode/issues/220#issuecomment-276019670">github comment thread</a></p> | |
<?php | |
$aeskey = "WQRtiiya3hYh/Uz44Bv3x8ETl1nrH6nCdErn69g5/lU="; |
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
require 'json' | |
def stripa(a) | |
a.gsub(" ","").gsub(",","").gsub("&","").gsub(":","").gsub("-","").gsub("/","").gsub("(","").gsub(")","") | |
end | |
json = JSON.parse(File.read("anz.json")) | |
#puts "##{json['name']}\n\n" |
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
# I'm sort of new to this XML stuff and maybe I haven't grokked the basics , but here's what I am trying to do | |
# I need about 10 different request to a server and they share common code. I want to keep things DRY | |
# and use a sort of template system where the "header stuff stays the same and I use partials to inject into | |
# the XML tree | |
require 'rubygems' | |
require 'nokogiri' | |
module Nokfun | |
def self.nokbuild(method name) |
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
These are the code parts to grab related to this blog post. | |
Read more about it there | |
http://www.igumbi.com/en/blog/YAML-to-JSON-Rails-for-i18n-Language-Files | |
# The locale file structure de.yml | |
de: | |
obt: |
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
// onLoad Syntax with calling jQuery in "Person" | |
jQuery(function() { | |
var cheight=$("#content").height(); | |
var nheight=$("#navbar").height(); | |
if (cheight>nheight) { | |
$("#navbar").height(cheight); | |
} | |
}); | |
// same as above, more terse, we assume jQuery loaded |
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
person.rb methods | |
def self.initMailchimpList | |
#do the initial sync of all people in the DB for a customer with | |
#pushing it into one list | |
end | |
def syncMailchimpList | |
# we need the mailchimp api key on hotel level | |
# get the structure of the list | |
# see if we have the person in the mailchimp list |
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/bash | |
kill -9 `ps ax | grep PeepOpen | grep -v grep | awk '{print $1}'` | |
kill -9 `ps ax | grep TextMate | grep -v grep | awk '{print $1}'` | |
open /Applications/PeepOpen.app | |
echo restarted Peepopen, killed TextMate |
NewerOlder