From: https://www.sensorsiot.org/install-rtl_433-for-a-sdr-rtl-dongle-on-a-raspberry-pi/
sudo apt-get install git git-core cmake libusb-1.0-0-dev
build-essential
git clone git://git.osmocom.org/rtl-sdr.git
/* | |
* Based on the Google Maps for Unity Asset | |
* https://www.assetstore.unity3d.com/en/#!/content/3573 | |
* However the relience on UniWeb has been removed | |
* | |
* | |
Getting Started | |
--------------- | |
1. Assign the GoogleMap component to your game object. |
# =============== # | |
# Unity generated # | |
# =============== # | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]uild | |
[Ll]ibrary/ | |
sysinfo.txt | |
# ===================================== # |
// Built on http://bravenewmethod.com/2014/09/13/lightweight-csv-reader-for-unity/ | |
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Text.RegularExpressions; | |
public class CSVReader | |
{ | |
static string SPLIT_RE = @",(?=(?:[^""]*""[^""]*"")*(?![^""]*""))"; |
///ds_grid_import_array(ds_grid, array) | |
var grid = argument[0]; | |
var arr = argument[1]; | |
// Calculate array Size | |
var height = array_height_2d(arr); | |
var width = 0; | |
for (var i = 0; i < height; i++) { | |
if (array_length_2d(arr, i) > width) | |
width = array_length_2d(arr, i); |
# Windows image file caches | |
Thumbs.db | |
ehthumbs.db | |
# Folder config file | |
Desktop.ini | |
# Recycle Bin used on file shares | |
$RECYCLE.BIN/ |
From: https://www.sensorsiot.org/install-rtl_433-for-a-sdr-rtl-dongle-on-a-raspberry-pi/
sudo apt-get install git git-core cmake libusb-1.0-0-dev
build-essential
git clone git://git.osmocom.org/rtl-sdr.git
// Reference: https://gamemaker.io/en/blog/the-basics-of-scaling-the-game-view | |
function display_scale_all_rooms() { | |
var base_w = 1024; | |
var base_h = 768; | |
var max_w = display_get_width(); | |
var max_h = display_get_height(); | |
var aspect = display_get_width() / display_get_height(); | |
if (max_w < max_h) { | |
// portait | |
var VIEW_WIDTH = min(base_w, max_w); |
import requests | |
from requests.exceptions import RequestException | |
from lxml import etree | |
from io import BytesIO | |
BING_URL = "https://www.bing.com/" | |
def bing_get_wallpaper_url(debug = True): |
#!/bin/bash | |
git pull | |
git add --all | |
git commit -asm "`date +'%a %d %b %Y %H:%M:%S'`" | |
git push |
import glob | |
import time | |
import paho.mqtt.publish as mqtt | |
base_dir = '/sys/bus/w1/devices/' | |
device_folder = glob.glob(base_dir + '28*')[0] | |
device_file = device_folder + '/w1_slave' | |
def read_temp_raw(): |