T-shirt and sticker is fair enough for my personal effort :)
How do I do things.
Posted by J@mBeL Sunday, October 16, 2011 at 21:22 0 comments Labels: Hardware, Home Automation, Project jaNET
To use Microsoft Office Live, your computer must meet one of the following requirements:
* Microsoft Internet Explorer 6, 7, or 8 running on Microsoft Windows XP, Windows Server 2003, or Windows Vista. You can download Internet Explorer from the Internet Explorer page.
* Mozilla Firefox running on Windows XP, Windows Server 2003, Windows Vista, or Mac OS X 10.2.x and later. You can download Firefox from the Firefox download page.
Update: Project jaNET has a home and a Facebook page
Project jaNET provides a framework that allows various components to communicate, controlled interactively by the user. This procedure aim to act like a digital life assistant (DLA) which I inspired by Iron Man's JARVIS.
Posted by J@mBeL Saturday, June 05, 2010 at 16:48 0 comments Labels: C#, Home Automation, Linux, Mono, Programming, Project jaNET, Ubuntu
<iframe src="http://www.jambel.net/_dev/contact/Default.aspx" width=100% height=340px frameborder=0 allowtransparency="true"></iframe>
sudo apt-get install wmctrl
bash shell script - Download#!/bin/bash
COUNTER=0
while [ $COUNTER -le 100 ]; do
sleep 0.5
POS=`cat /sys/devices/platform/lis3lv02d/position | awk -F "(" '{print$2}' | awk -F , '{print$1}'`
echo $POS
if [ $POS -ge 12 ]; then
wmctrl -o 1024,0
elif [ $POS -le -12 ]; then
wmctrl -o 0,0
fi
COUNTER=$(( $COUNTER + 1 ))
done
UPDATE Sep 8, 2009: an approach in python - Download#!/usr/bin/python
import time
import os
cnt=0
while cnt <= 100:
time.sleep(0.5)
f = open ('/sys/devices/platform/lis3lv02d/position','r')
data = f.read()
ar = data.split(',')
results = ar[0].replace('(',''), ar[1], ar[2].replace(')','')
print results
if (ar[0].replace('(','') >= '12'):
os.system('wmctrl -o 1024,0')
elif (ar[1] <= '-12'):
os.system('wmctrl -o 0,0')
f.close()
cnt += 1
Note: Scripts will work when System/Preferences/Appearance/Visual Effects is set to Normal or Extra.