Skip to content

Instantly share code, notes, and snippets.

View hobodave's full-sized avatar
🎯
Focusing

David Abdemoulaie hobodave

🎯
Focusing
View GitHub Profile
<!--
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to You under
the Apache License, Version 2.0 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or
agreed to in writing, software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
INFO: Loading '/etc/default/activemq'
INFO: Using java '/usr/local/bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
Java Runtime: Oracle Corporation 1.7.0_05 /packages/encap/java-1.7.0_05
Heap sizes: current=1004928k free=994439k max=1004928k
JVM args: -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote -Djava.io.tmpdir=/var/tmp -Dactivemq.classpath=/usr/local/activemq/conf; -Dactivemq.home=/usr/local/activemq -Dactivemq.base=/usr/local/activemq -Dactivemq.conf=/usr/local/activemq/conf -Dactivemq.data=/var/testing/activemq/data
Extensions classpath:
[/usr/local/activemq/lib,/usr/local/activemq/lib/camel,/usr/local/activemq/lib/optional,/usr/local/activemq/lib/web,/usr/local/activemq/lib/extra]
ACTIVEMQ_HOME: /usr/local/activemq
ACTIVEMQ_BASE: /usr/local/activemq
<bean class="org.eclipse.jetty.webapp.WebAppContext">
<property name="contextPath" value="/admin" />
<property name="resourceBase" value="${activemq.home}/webapps/admin" />
<property name="logUrlOnStart" value="true" />
</bean>
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 172.22.10.1 UGSc 14 70313 en0
default 172.22.20.1 UGScI 0 0 en1
default 172.22.10.229 UGScI 0 0 ppp0
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 12 922873 lo0
169.254 link#4 UCS 0 0 en0
@hobodave
hobodave / build.sh
Last active December 12, 2015 04:49
installed_pkgs=$(/usr/local/bin/package list)
for pkg in gmp; do
if echo "${installed_pkgs}" | grep -q -c "^${pkg}"; then
echo "Error: Missing required package: ${pkg}."
echo "Try: 'epkg -i ${pkg}' and rebuild."
exit 1
fi
done
"create_ticket": {
"httpMethod":"POST",
"uri": "tickets.json",
"summary": "Create a ticket",
"parameters":{
"data": {
"type": "array",
"location": "body",
"description":"Ticket JSON",
"filters": "json_encode",
<?php
date_default_timezone_set("UTC");
if (extension_loaded('xdebug')) {
ini_set('xdebug.max_nesting_level', 10000);
}
function simple() {
$a = 0;
for ($i = 0; $i < 1000000; $i++)
class Stomp(object):
def __init__(self):
self._transport = None
def connect(self):
try: # preserve existing connection
self._transport
except StompConnectionError:
pass
else:
<?php
class Stomp
{
public $uri = 'tcp://localhost';
public $port = 61613;
public $connect_timeout_sec = 60;
public $read_timeout_sec = 60;
public $read_timeout_usec = 0;
public $socket = null;
05-28 21:12:51 INFO [chpotato.core._base._core] Restarting
05-28 21:12:51 INFO Shutting down thread pool
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: _base
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: _core
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: clientscript
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: desktop
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: scheduler
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: updater
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading plugin: plugins
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading plugin: automation