Author: tim
Original Prusa i3 MK3 kit
Kanova: flexible VR sculpting
Unity Universal Gamedev Challenge
UE4ChromaSDKRT Chroma Layered Animation
UE4ChromaSDKRT is a Chroma UE4 plugin compatible with UE 4.5.
Wrath Of Ashardalon – How To Play
HOW TO INSTALL AND USE MEMCACHED WITH NGINX, PHP 7 ON UBUNTU 16.04
[HOW TO INSTALL AND USE MEMCACHED WITH NGINX, PHP 7 ON UBUNTU 16.04]
Add a dynamic extension to: (get the path from phpinfo)
/etc/php/7.1/fpm/php.ini
extension=memcached.so
Restart the service:
sudo service memcached restart sudo service php7.1-fpm restart
Chroma Animation Editor – Create Basic Damage Animation
Bootstrap
With [Bootstrap] build responsive, mobile-first projects on the web with the world’s most popular front-end component library.
Developing for IoT devices with Visual Studio
Clear MEF Component Cache
The Visual Studio MEF Component Cache can get corrupted which causes things like the Solutions Explorer to not display. In the Tools->Extensions and Updates menu item there’s an extension that can clear the MEF Component Cache.
Once installed, a menu item will appear in the Tools menu.
F1 in Schools
IBM & Unity partner to bring the power of AI to developers with IBM Watson Unity SDK
UE4ChromaSDKRT
Uberball Version 2 for Modo – Scenes for testing materials in outdoor and indoor environments
Soul City, Soul Cave Assets Released for Free
Unity 2D Game Kit!
Hack the Stairs Project
Chroma Discord App (Unofficial)
The [ChromaDiscordApp] that I’ve been working on has been whitelisted and released.
XAML Inspection Toolbar Turn On Off from Visual Studio 2015
A better Python script for uploading images
Install the [poster] module by running the command-line:
sudo pip install poster
UploadImage.py (RPI)
#!/usr/bin/env python
import urllib, urllib2, os, os.path, sys
from poster.encode import multipart_encode
from poster.streaminghttp import register_openers
from time import sleep
register_openers()
query = { 'id' : 1 }
url = "http://domain.com/path/save_image.php?"+urllib.urlencode(query)
filename = '/dev/shm/mjpeg/cam.jpg'
#print 'Saved: '+filename;
while True:
try:
if (os.path.isfile(filename)) :
values = {'image':open(filename)}
data, headers = multipart_encode(values)
headers['User-Agent'] = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'
headers['filename'] = filename
req = urllib2.Request(url, data, headers)
req.unverifiable = True
content = urllib2.urlopen(req).read()
except:
print 'Upload failed.';
sleep(1)
Edit the crontab.
sudo crontab -e
Add the following to the end of the crontab.
0 * * * * /sbin/reboot @reboot python /home/pi/Documents/GetMacAdx.py & @reboot python /home/pi/Documents/UploadImage.py &
Reboot the Raspberry PI and the security camera is ready to go!
save_image.php (Server)
<?php
if (!isset($_GET['id'])) {
echo ('Invalid request!');
exit(0);
}
$id = intval($_GET['id']);
$image = $_FILES["image"];
if ($image == null) {
echo ("Missing image!");
exit(0);
} else {
echo "Saved image!";
$filename = "image" . $id . ".jpg";
$tmp_name = $_FILES["image"]["tmp_name"];
move_uploaded_file($tmp_name, $filename);
}
?>
[Setup wifi on the command-line]
Turn off the camera LED by adding the following to the end of the file.
/boot/config.txt
disable_camera_led=1
How to construct a simple Michelson interferometer
Vue.js
How to Smooth Out Uneven Plaster With a Skim Coat
Reboot Raspberry PI at Midnight
[Reboot automacticly at midnight]
In the terminal:
sudo crontab -e
Add the one of the lines:
At hour 0 – At midnight
0 0 * * * /sbin/reboot
At minute 0 – Every hour
0 * * * * /sbin/reboot



