Skip to content

Instantly share code, notes, and snippets.

View jippi's full-sized avatar

Christian Winther jippi

View GitHub Profile
2015-08-05 20:24:00 +0200
./configure
--prefix=/usr/local/Cellar/python3/3.4.3_2
--enable-ipv6
--datarootdir=/usr/local/Cellar/python3/3.4.3_2/share
--datadir=/usr/local/Cellar/python3/3.4.3_2/share
--enable-framework=/usr/local/Cellar/python3/3.4.3_2/Frameworks
--without-ensurepip
--without-gcc
Opening index @ /data/production_logs/nodes/0/indices/logstash-production-2014.09.14/1/index/
Segments file=segments_1o numSegments=2 version=4.9 format= userData={translog_id=1410652801209}
1 of 2: name=_mo0 docCount=7309625
codec=Lucene49
compound=false
numFiles=13
FAILED
WARNING: fixIndex() would remove reference to this segment; full exception:
java.io.FileNotFoundException: _mo0_es090_0.tim
@jippi
jippi / offline
Created September 25, 2014 15:37
[{"Node":{"Node":"local","Address":"10.0.2.15"},"Service":{"ID":"es","Service":"elasticsearch","Tags":[],"Port":9200},"Checks":[{"Node":"local","CheckID":"service:es","Name":"Service 'elasticsearch' check","Status":"critical","Notes":"","Output":" % Total % Received % Xferd Average Speed Time Time Time Currentn Dload Upload Total Spent Left Speednr 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) couldn't connect to hostn","ServiceID":"es","ServiceName":"elasticsearch"},{"Node":"local","CheckID":"serfHealth","Name":"Serf Health Status","Status":"passing","Notes":"","Output":"Agent alive and reachable","ServiceID":"","ServiceName":""}]}]
Velkommen til Komplett Chat!
Din plads i køen, er 2
09:15:09 - Dig:
Hej, vdr min ordre 22451269 - efter aftale med en af jeres kollegaer skulle jeg kontakte jer når Watch Dogs udkom, så i kunne sende det separat - jf tidligere chat
09:15:11 - Kundeservice:
Hej! Mit navn er Tim hvad kan jeg hjælpe dig med
<?php
/**
* Global Locking using Redis
*
*/
class RedisLock {
/**
* How long should the lock be kept active, even if the process dies
*
<?php
/**
* Class to help work with NewRelic in PHP
*
* @author Christian Winther
* @see https://docs.newrelic.com/docs/php/the-php-api
*/
class NewRelic {
{
"_index": "logstash-production-2014.05.19",
"_type": "nginx",
"_id": "BxOr_N4lRs-tFAK9sewmag",
"_score": null,
"_source": {
"@timestamp": "2014-05-19T07:33:52.000Z",
"@version": "1",
"type": "nginx",
"source": "da.bownty.com",
<?php
namespace App\Controller;
class AppController extends \Cake\Controller\Controller {
use \Crud\Controller\ControllerTrait;
public $viewClass = 'CrudView\View\CrudView';
public $components = [
<?php
namespace App\Controller;
use Cake\Event\Event;
class PostsController extends AppController {
public $paginate = ['limit' => 5];
curl -X GET local.bownty.net:9200/bownty_da/deal/_search?pretty -d '{
"query" : {
"wildcard" : { "name.raw": "*forbedret*" }
},
"script_fields": {
"terms" : {
"script": "doc[field].values",
"params": {
"field": "name.stemmed"
}