Skip to content

Instantly share code, notes, and snippets.

@rektide
rektide / maven.log
Created July 22, 2015 17:32
~/src/fabric8-quickstarts/quickstarts/war/cxf-cdi-servlet/# mvn clean install docker:build
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Fabric8 :: Quickstarts :: War :: CXF JAX-RS with CDI Servlet 2.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ quickstart-war-cxf-cdi-servlet ---
[INFO] Deleting /home/mfowle/src/archive/fabric8-quickstarts/quickstarts/war/cxf-cdi-servlet/target
@rektide
rektide / Makefile
Last active August 29, 2015 14:22 — forked from vanstee/Makefile
# Base dirs
SRC_DIR = src
TMP_DIR = tmp
DEV_DIR = dev
SRC_PUBLIC_DIR := $(SRC_DIR)/public
SRC_STYLES_DIR := $(SRC_DIR)/styles
SRC_SCRIPTS_DIR := $(SRC_DIR)/scripts
TMP_SCRIPTS_DIR := $(TMP_DIR)/scripts
DEV_PUBLIC_DIR := $(DEV_DIR)/public
DEV_STYLES_DIR := $(DEV_DIR)/styles
@rektide
rektide / mvn-X.log
Last active August 29, 2015 14:21
maven death on debian
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.9.0-ea, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-9-oracle
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.18.3", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from /home/rektide/.m2/settings.xml
[DEBUG] Using local repository at /home/rektide/.m2/repository
@rektide
rektide / ansible-1.7.2.log
Last active August 29, 2015 14:20
Zomgwtfbbq Ansible what happened to hostvars
PLAY [all] ********************************************************************
TASK: [debug msg="{{ vars }}"] ************************************************
ok: [127.0.0.1] => {
"msg": "{'delegate_to': None, 'failed_when': None, 'inventory_file': '/etc/opt/ansible-git/hosts/default', 'playbook_dir': '/home/rektide/projects/compfuzor', 'register': None, 'inventory_dir': '/etc/opt/ansible-git/hosts', 'always_run': False, 'HI': 'yes hello', 'role_names': [], 'play_hosts': ['127.0.0.1'], 'ignore_errors': False, 'changed_when': None}"
}
TASK: [debug msg="{{ hostvars }}"] ********************************************
ok: [127.0.0.1] => {
"msg": "{'127.0.0.1': {}}"
@rektide
rektide / ansible-playbook.log
Last active August 29, 2015 14:20
ansible filter module -- arrayitize
Traceback (most recent call last):
File "/opt/ansible-git/bin/ansible-playbook", line 324, in <module>
sys.exit(main(sys.argv[1:]))
File "/opt/ansible-git/bin/ansible-playbook", line 264, in main
pb.run()
File "/opt/ansible-git/lib/ansible/playbook/__init__.py", line 310, in run
play = Play(self, play_ds, play_basedir, vault_password=self.vault_password)
File "/opt/ansible-git/lib/ansible/playbook/play.py", line 124, in __init__
ds = template(basedir, ds, temp_vars)
File "/opt/ansible-git/lib/ansible/utils/template.py", line 146, in template
@rektide
rektide / yield-star.js
Last active August 29, 2015 14:19
yield-star a by-hand made thing
// attempts
var si= Symbol.iterator
function *realGenerator(){
yield *[1,3,4,7,11]
}
var g1= realGenerator()
console.log(g1.next(),'=== 1')
console.log(g1[si]().next(),'=== 3')
@rektide
rektide / activitystreams.json
Last active August 29, 2015 14:17
Blocking samples
{
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Block",
"actor": "https://twitter.com/rektide",
"object": "https://twitter.com/claytoncubitt"
}
// "Seascape" by Alexander Alekseev aka TDM - 2014
// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
// https://www.shadertoy.com/view/Ms2SD1
const int NUM_STEPS = 8;
const float PI = 3.1415;
const float EPSILON = 1e-3;
float EPSILON_NRM = 0.1 / iResolution.x;
// sea
// a broadcast-channel-ification of https://github.com/mkruisselbrink/navigator-connect/issues/1#issuecomment-62989902
var discoveryService = new BroadcastChannel("discoveryservice");
// service discovery
var serviceChannelName = "appservice"
var notifyService = new BroadcastChannel(serviceChannelName);
setTimeout(function(){
discoveryService.postMessage({ service: "net.yoyodyne.Notify", channel: serviceChannelName });
},100)
@rektide
rektide / jmicron-uasp.dmesg
Created February 26, 2015 05:33
jmicron-based-ztc-uasp-m2.dmesg
[ 1392.606894] usb 2-2: new SuperSpeed USB device number 6 using xhci_hcd
[ 1392.619364] usb 2-2: New USB device found, idVendor=152d, idProduct=0539
[ 1392.619369] usb 2-2: New USB device strings: Mfr=10, Product=11, SerialNumber=3
[ 1392.619371] usb 2-2: Product: USB to ATA/ATAPI Bridge
[ 1392.619373] usb 2-2: Manufacturer: JMicron
[ 1392.619375] usb 2-2: SerialNumber: 00A123457372
[ 1392.620649] scsi host8: uas
[ 1392.622059] scsi 8:0:0:0: Direct-Access JMicron 0125 PQ: 0 ANSI: 6
[ 1392.624369] sd 8:0:0:0: Attached scsi generic sg1 type 0
[ 1392.625933] sd 8:0:0:0: [sdb] 500118192 512-byte logical blocks: (256 GB/238 GiB)