Skip to content

Instantly share code, notes, and snippets.

Davy De Waele ddewaele

View GitHub Profile
View adafruit-config.txt
ATI
BLEFRIEND32
nRF51822 QFACA10
33BB824D91D1F092
0.6.2
0.6.2
Apr 30 2015
S110 8.0.0, 0.2
OK
@ddewaele
ddewaele / aks-ssh.yml
Last active Jul 7, 2018
Azure Kubernetes Ingress Files
View aks-ssh.yml
apiVersion: v1
kind: Service
metadata:
name: aks-ssh
spec:
selector:
app: aks-ssh
type: LoadBalancer
ports:
- protocol: TCP
@ddewaele
ddewaele / multitech-output.txt
Last active Oct 30, 2017
MultiTech firmware upgrade
View multitech-output.txt
Files are on my mac tftp server
ls -ltr /private/tftpboot/oe_rootfs.jffs2
-rwxrwxrwx 1 root wheel 65788832 Oct 30 19:46 /private/tftpboot/oe_rootfs.jffs2
ls -ltr /private/tftpboot/oe_uImage.bin
-rwxrwxrwx 1 root wheel 2801179 Oct 30 19:46 /private/tftpboot/oe_uImage.bin
Setting uboot variables via sample script (http://git.multitech.net/cgi-bin/cgit.cgi/meta-multitech.git/plain/contrib/uboot-setenv-mtcdt.minicom)
View reactjs-notes.md
@ddewaele
ddewaele / App.js
Created Oct 8, 2017
Facebook create app
View App.js
import React, { Component } from 'react';
import './App.css';
import moment from 'moment'
class App extends Component {
state = { sensors : null }
intervalId = 0
View nifi-dump.md
2017-09-18 07:44:20,884 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: []
2017-09-18 07:44:20,893 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED
2017-09-18 07:44:20,893 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED
2017-09-18 07:44:20,893 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED
2017-09-18 07:44:21,024 INFO [main] org.apache.nifi.bootstrap.RunNiFi 
"Cleanup Archive for default" Id=65 TIMED_WAITING  on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@2f99ac7
	at sun.misc.Unsafe.park(Native Method)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
View oom-killer.md
Sep 12 18:08:21 ip-10-180-30-56 kernel: [ 1179.856967] java invoked oom-killer: gfp_mask=0x24000c0(GFP_KERNEL), nodemask=0, order=0, oom_score_adj=0
Sep 12 18:08:21 ip-10-180-30-56 kernel: [ 1179.863551] java cpuset=d8b7abb8f5c3f57348adab2da11ed3122d4d8620c2f0f16a32443914597c135d mems_allowed=0
Sep 12 18:08:21 ip-10-180-30-56 kernel: [ 1179.870239] CPU: 0 PID: 10857 Comm: java Tainted: G            E   4.9.32-15.41.amzn1.x86_64 #1
Sep 12 18:08:21 ip-10-180-30-56 kernel: [ 1179.872958] Hardware name: Xen HVM domU, BIOS 4.2.amazon 08/24/2006
Sep 12 18:08:21 ip-10-180-30-56 kernel: [ 1179.872958]  ffffc90003833c58 ffffffff812fa35f ffffc90003833d88 ffff8800d5ce9d80
Sep 12 18:08:21 ip-10-180-30-56 kernel: [ 1179.872958]  ffffc90003833ce8 ffffffff811f4afb ffffffff00000000 ffffc90000000000
Sep 12 18:08:21 ip-10-180-30-56 kernel: [ 1179.872958]  01ffc90003833cc8 ffffc90003833d88 ffffffff8117a5d0 ffffc90003833d88
Sep 12 18:08:21 ip-10-180-30-56 kernel: [ 1179.872958] Call Trace:
Sep 12 18:08:21 ip-10-180-30-56 ker
@ddewaele
ddewaele / auth.yaml
Last active Sep 11, 2017
ecs-docker-hub
View auth.yaml
Metadata:
  AWS::CloudFormation::Init:
  config:
  commands:
  01_add_instance_to_cluster:
  command: !Sub |
  echo ECS_CLUSTER=${ECSCluster} >> /etc/ecs/ecs.config
  echo ECS_ENGINE_AUTH_TYPE=dockercfg >> /etc/ecs/ecs.config
  echo ECS_ENGINE_AUTH_DATA="{\"https://index.docker.io/v1/\": {\"auth\": \"xxxxxxxxxxxx=\"}}" >> /etc/ecs/ecs.config
@ddewaele
ddewaele / amazon-ecs-info.md
Created Sep 6, 2017
Some Amazon ECS related info I want to cover
View amazon-ecs-info.md
  • No need to install Docker yourself
  • Solution for multi-container / multi-host
  • Integrates very well with AutoScaling / Target Groups / Loadbalancers / other AWS services
  • Allows you to focus on your containers
  • Cluster is lightweight concept (just a name). Builds on top of AWS constructs like ec2 / autoscaling / user-data
  • Private AWS docker registry
  • Supports docker compose (kinda) / Custom json format for describing task definitions
  • Services as a high order component for managing tasks. Always tries to meet the desired count
  • Self-healing / Auto-restart : if LB marks your service as unhealthy, it will drain / restart the service until it is up
  • Devops minded : CloudFormation support / Well documented SDK / CLI tools to interact with the cluster
You can’t perform that action at this time.