View pw.js
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
var _paq = _paq || []; | |
_paq.push(["trackPageView"]); | |
_paq.push(["enableLinkTracking"]); | |
(function() { | |
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.dack.com.au/"; | |
_paq.push(["setTrackerUrl", u+"piwik.php"]); | |
_paq.push(["setSiteId", "1"]); | |
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; | |
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); |
View create_config.py
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
#!/usr/bin/env python | |
import os, sys, glob, argparse | |
import ConfigParser | |
LOCATIONS = { 'rrd': '' | |
, 'graphs': '' | |
, 'sys_base': '/sys/bus/w1/devices/' | |
, 'config': '' | |
} |
View collectord.py
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
#!/usr/bin/env python | |
from commands import getstatusoutput | |
from platform import node | |
from socket import socket, AF_INET, SOCK_STREAM | |
from sys import argv, exit | |
from time import sleep, time | |
from daemon import runner | |
import re | |
DELAY = 60 |
View wlan
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
#!/bin/sh | |
PREREQ="" | |
prereqs() | |
{ | |
echo "$PREREQ" | |
} | |
case $1 in |
View wlan
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
#!/bin/sh | |
# Boot script to bring up wlan interface using wpa_supplicant before rest of boot process | |
PREREQ="udev" | |
prereqs() | |
{ | |
echo "$PREREQ" | |
} | |
case $1 in |
View iscsi.initramfs
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
# iscsi name for the RPi | |
ISCSI_INITIATOR=iqn.1993-08.lan.internal.rpi:01:6df87742251d | |
# iscsi target (eg: your NAS) | |
ISCSI_TARGET_NAME=iqn.2004-04.com.qnap:ts-419pii:iscsi.rpi.d55618 | |
ISCSI_TARGET_IP=192.168.1.100 |
View iscsi
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
PREREQ="wlan" |
View initramfs.conf
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
MODULES=dep | |
COMPRESS=gzip | |
DEVICE=wlan0 | |
BOOT=local |
View ws_events_dispatcher.js
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
/* | |
The MIT License (MIT) | |
Copyright (c) 2014 Ismael Celis | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
View smb.conf
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
################################################################################ | |
# samba.conf | |
# This configuration file allows you to customize the samba shares | |
# available from your machine | |
[global] | |
server string = BeagleBone Black Cloud 9 IDE | |
workgroup = WORKGROUP | |
netbios name = %h |
OlderNewer