View xport-temp.sh
#!/usr/bin/env bash
rrdtool xport -s now-3h -e now --step 300 \
DEF:a=/home/pi/weather/temperatures.rrd:temps1:AVERAGE \
DEF:b=/home/pi/weather/temperatures.rrd:temps2:AVERAGE \
DEF:c=/home/pi/weather/temperatures.rrd:temps3:AVERAGE \
DEF:d=/home/pi/weather/temperatures.rrd:temps4:AVERAGE \
DEF:e=/home/pi/weather/temperatures.rrd:temps5:AVERAGE \
DEF:f=/home/pi/weather/temperatures.rrd:temps6:AVERAGE \
XPORT:a:"Livingroom" \
View createhighchartfromxml.js
$.ajax({
type: "GET",
url: "data/temperature24h.xml",
dataType: "xml",
success: function(xml) {
var series = []
//define series
$(xml).find("entry").each(function() {
var seriesOptions = {
View createhighchartfromxml.js
$.ajax({
type: "GET",
url: "data/temperature24h.xml",
dataType: "xml",
success: function(xml) {
var series = []
//define series
$(xml).find("entry").each(function() {
var seriesOptions = {
View .gitigntore
# ignore demo files and folders
.htaccess
demo
# ignore OS generated files
.DS_Store
ehthumbs.db
Thumbs.db
# ignore other vcs files
View Programmatically run a rake task
require 'rake'
rakefile = 'some-rake-file'
rake = Rake.application
rake.init
rake.add_import rakefile
rake.load_rakefile
rake[ :taskname ].invoke
View update-juju-lxd-images.sh
#!/bin/bash
#
# This script will create xenial and trusty lxd images that will be used by the
# lxd provider in juju 2.1+ It is for use with the lxd provider for local
# development and preinstalls a common set of production packages.
#
# This is important, as between them, basenode and layer-basic install ~111
# packages, before we even get to any packages installed by your charm.
#
# It also installs some helpful development tools, and pre-downloads some
View gist:2ca9a4b008280cca5cd7782127f8fe89
  • To add Settings.bundle in Xcode. Command N and in Resource, choose Settings Bundle .
  • Open Root.plist in source code, paste the code below to replace it,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>PreferenceSpecifiers</key>
    <array>
View Launcher_main.java
public static void main( String[] args )
{
try
{
int exitCode = mainWithExitCode( args );
System.exit( exitCode );
}
catch ( Exception e )
{
View keybase.md

Keybase proof

I hereby claim:

  • I am axynos on github.
  • I am axynos (https://keybase.io/axynos) on keybase.
  • I have a public key ASBtA2SciTxdF0z3jf_X2l0yZMUMAJyUYUqZTMYLfL6OJQo

To claim this, I am signing this object: