(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| pm enable com.google.android.googlequicksearchbox/com.google.android.launcher.GEL | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.WallpaperCropActivity | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.ToggleWeightWatcher | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.MemoryDumpActivity | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.MemoryTracker | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.PreloadReceiver | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.InstallShortcutReceiver | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.UninstallShortcutReceiver | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.UserInitializeReceiver | |
| pm enable com.google.android.googlequicksearchbox/com.android.launcher3.PackageChangedReceiver |
| #ifndef COONSCURVE_INCLUDED | |
| #define COONSCURVE_INCLUDED | |
| float3 coons(float t, float3 p0, float3 p1, float3 v0, float3 v1) | |
| { | |
| float3 a = 2*p0 - 2*p1 + v0 + v1; | |
| float3 b = -3*p0 + 3*p1 - 2*v0 - v1; | |
| float t2 = t*t; | |
| float t3 = t2*t; |
One of the UUIDs used by Glass:
public static final UUID IDENTITY_UUID = UUID.fromString("f96647cf-7f25-4277-843d-f407b4192f8b");
All Glass applications (excluding GlassSystemUI) are built with a bog-standard Android SDK, hence the use of reflection to access hidden APIs and no odexing.
Glass applications use a few Library Projects, as evidenced by the multiple R.java files:
./com/google/glass/home/R.java ./com/google/glass/logging/R.java
| --- | |
| language: objective-c | |
| before_script: | |
| - ./scripts/travis/add-key.sh | |
| after_script: | |
| - ./scripts/travis/remove-key.sh | |
| after_success: | |
| - ./scripts/travis/testflight.sh | |
| env: | |
| global: |
| # | |
| # A CORS (Cross-Origin Resouce Sharing) config for nginx | |
| # | |
| # == Purpose | |
| # | |
| # This nginx configuration enables CORS requests in the following way: | |
| # - enables CORS just for origins on a whitelist specified by a regular expression | |
| # - CORS preflight request (OPTIONS) are responded immediately | |
| # - Access-Control-Allow-Credentials=true for GET and POST requests |
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| import sys | |
| import os | |
| import atexit | |
| import time | |
| import numpy as np | |
| import pyaudio |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.IO; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class CleanUpWindow : EditorWindow | |
| { | |
| bool groupEnabled = true; | |
| List<string> usedAssets = new List<string>(); |
| AudioSFX = function( _p, _autoplay ) { | |
| var self = this; | |
| var parent = _p; | |
| this.sounds = new Array(); | |
| this.context = new webkitAudioContext(); | |
| this.autoplay = _autoplay; | |
| this.play = function( sound ) { |