Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate
Goal: Emulate a Raspberry Pi with QEMU in order to run the Raspbian O/S (based on Debian Linux).
The current setup is not ideal. For one thing, the maximum RAM allowed using the "versatile-pb" firmware is 256 Mb. In addition, only the most basic peripherals, a keyboard and mouse, are supported.
A number of articles have been written on this topic. Most are outdated, and the few recent ones are missing key information.
With BigQuery's new remote user defined functions (in preview) it is now possible to bring the power of Google Maps to your analytic data warehouse. Using Google Maps API endpoints in Cloud Functions called by BigQuery you can:
- Geocode Addresses
- Determine drive time distance between locations
- Supplementing address or location data with Google Map's data such as elevation or place descriptions
By enriching location datasets in BigQuery you can accomplish advanced spatial analysis including:
Borrowed from: http://www.labnol.org/software/wget-command-examples/28750/ | |
Wget is extremely powerful, but like with most other command line programs, the plethora of options it supports can be intimidating to new users. Thus what we have here are a collection of wget commands that you can use to accomplish common tasks from downloading single files to mirroring entire websites. It will help if you can read through the wget manual but for the busy souls, these commands are ready to execute. | |
1. Download a single file from the Internet | |
wget http://example.com/file.iso | |
2. Download a file but save it locally under a different name | |
wget ‐‐output-document=filename.html example.com |
#!/usr/bin/env bash | |
# Authorize to GitHub to get the latest release tar.gz | |
# Requires: oauth token, https://help.github.com/articles/creating-an-access-token-for-command-line-use/ | |
# Requires: jq package to parse json | |
# Your oauth token goes here, see link above | |
OAUTH_TOKEN="34k234lk234lk2j3lk4j2l3k4j2kj3lk" | |
# Repo owner (user id) | |
OWNER="your-user-name" |
#!python3 | |
''' | |
This is a demo of how you can use the CoreML framework (via objc_util) to classify images in Pythonista. It downloads the trained 'MobileNet' CoreML model from the Internet, and uses it to classify images that are either taken with the camera, or picked from the photo library. | |
''' | |
import requests | |
import os | |
import io | |
import photos | |
import dialogs |
throwtheswitch libraries: Unity, Cmock, Ceedling, etc http://www.throwtheswitch.org/
UNITY, Unit Testing for C (especially Embedded Software) http://www.throwtheswitch.org/unity/
CMock, Automated Mock & Stub Generation For C http://www.throwtheswitch.org/cmock/
import math | |
import argparse | |
from sympy.combinatorics import Permutation | |
def bits_for_value(value): | |
return int(math.log2(value)) | |
def decompose(N, R): | |
logN2 = bits_for_value(N) | |
logR2 = [] |
cd /usr/share/nginx/html | |
rm -r * | |
apt-get update && apt-get -y install wget nano git-core curl build-essential openssl libssl-dev python p7zip unzip | |
wget https://buildbot.libretro.com/nightly/emscripten/$(date +%Y-%m-%d -d "1 day ago")_RetroArch.7z | |
p7zip -d $(date +%Y-%m-%d -d "1 day ago")_RetroArch.7z | |
mkdir -p assets/frontend/bundle | |
mkdir -p assets/cores | |
chmod +x indexer |