sudo lsblk --output NAME,TYPE,SIZE,FSTYPE,MOUNTPOINT,LABEL
NAME TYPE SIZE FSTYPE MOUNTPOINT LABEL
xvda disk 8G
└─xvda1 part 8G xfs /
xvdf disk 30G
└─xvdf1 part 30G xfs
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
[centos@ip-172-30-0-249 system]$ cat /etc/systemd/system/nifi.service | |
[Unit] | |
Description=Apache NiFi | |
After=network.target | |
[Service] | |
Type=forking | |
User=nifi | |
Group=nifi | |
ExecStart=/opt/nifi-latest/bin/nifi.sh start |
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
const mqtt = require('mqtt'); | |
const fs = require('fs'); | |
// Source broker details | |
const sourceBrokerUrl = "mqtts://somebroker.com"; | |
const sourceOptions = { | |
port: 8883, | |
ca: [fs.readFileSync('/home/ubuntu/keys/server/server.crt')], | |
key: fs.readFileSync('/home/ubuntu/keys/client.key'), | |
cert: fs.readFileSync('/home/ubuntu/keys/client.crt'), |
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
****************************** | |
PSH KERNEL VERSION: b0182727 | |
WR: 20104000 | |
****************************** | |
SCU IPC: 0x800000d0 0xfffce92c | |
PSH miaHOB version: TNG.B0.VVBD.0000000c | |
microkernel built 23:15:13 Apr 24 2014 |
echo out > /sys/class/gpio/gpio128/direction
echo 1 > /sys/class/gpio/gpio128/value
echo 0 > /sys/class/gpio/gpio128/value
echo in > /sys/class/gpio/gpio129/direction
cat /sys/class/gpio/gpio129/value
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: aks-ssh | |
spec: | |
selector: | |
app: aks-ssh | |
type: LoadBalancer | |
ports: | |
- protocol: TCP |
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
ATI | |
BLEFRIEND32 | |
nRF51822 QFACA10 | |
33BB824D91D1F092 | |
0.6.2 | |
0.6.2 | |
Apr 30 2015 | |
S110 8.0.0, 0.2 | |
OK |
Very simple app (in CodePen : https://codepen.io/anon/pen/JOjevM)
const App = () => (
<div>
<h1>Cool App</h1>
</div>
)
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
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) |
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
import React, { Component } from 'react'; | |
import './App.css'; | |
import moment from 'moment' | |
class App extends Component { | |
state = { sensors : null } | |
intervalId = 0 |
NewerOlder