This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.darkdna.amanda.things.thingy.rpi; | |
import android.app.Service; | |
import android.content.Intent; | |
import android.graphics.PixelFormat; | |
import android.os.Binder; | |
import android.os.IBinder; | |
import android.util.Log; | |
import android.view.Gravity; | |
import android.view.InputDevice; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Continuing with `powershell -noprofile -c Start-PSBuild` | |
VERBOSE: Using configuration 'Linux' | |
VERBOSE: Top project directory is /Users/amandacameron/Code/Microsoft/PowerShell/src/powershell-unix | |
VERBOSE: Using framework 'netcoreapp1.0' | |
VERBOSE: Using runtime 'osx.10.12-x64' | |
Run ResGen (generating C# bindings for resx files) | |
Failed to make the following project runnable: resgen (.NETCoreApp,Version=v1.0) reason: Expected coreclr library not found in package graph. Please try running dotnet restore again. | |
Execution of { dotnet run } failed with exit code 1 | |
At /Users/amandacameron/Code/Microsoft/PowerShell/build.psm1:1901 char:13 | |
+ throw "Execution of {$sb} failed with exit code $LASTEXIT ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.darkdna.amanda.standaloneweartest.complications; | |
import android.graphics.drawable.Icon; | |
import android.os.AsyncTask; | |
import android.support.wearable.complications.ComplicationData; | |
import android.support.wearable.complications.ComplicationManager; | |
import android.support.wearable.complications.ComplicationProviderService; | |
import android.util.Log; | |
import com.google.android.apps.muzei.api.MuzeiContract; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "cmd_admin_desc", | |
"translation": "Opens the admin panel." | |
}, | |
{ | |
"id": "cmd_help_desc", | |
"translation": "Shows this help page." | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile with -s USE_SDL=2 -s USE_SDL_IMAGE=2 | |
// | |
// Impossible to IMG_Load_RW any SDL_RWops that isn't backed by a SDL_RWFromFile result. | |
// This is a breaking bug for my toy Game engine that uses custom-packed data files. | |
// If I had to guess from the resulting .js file -- it's optimising out the PNG functions. | |
#include <SDL2/SDL_image.h> | |
#include <SDL2/SDL.h> | |
extern uint8_t TEST_IMAGE[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Utilities! | |
os.loadAPI("__LIB__/acutils") | |
--[[ | |
;; Emacs LISP for helpful bacon. | |
(add-to-list 'imenu-generic-expression (list "Context" "^add_context([\"']\\(.+\\)[\"']" 1) t) | |
(add-to-list 'imenu-generic-expression (list "Command" "^add_command([\"']\\(.+\\)[\"']" 1) t) | |
]]-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
os.loadAPI("__LIB__/veek/veek") | |
veek.load_api("__LIB__/veek/gui") | |
local side = ... | |
local app = kidven.new('veek-app') | |
local search = kidven.new('veek-search', term.getSize()) | |
local p = peripheral.wrap(side) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
os.loadAPI("__LIB__/veek/veek") | |
veek.load_api("__LIB__/veek/gui") | |
local Method = {} | |
function Method:init(name, data) | |
self.veek_list_item:init('') | |
self.name = name | |
self.data = data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/drone/drone-plugin-go/plugin" | |
"github.com/thoj/go-ircevent" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local PenMode = {} | |
function PenMode:activate() | |
self.prompt = "Title:" | |
self.letter = game.spawn_object("testing:letter") | |
self.letter.title = "Letter from " .. self.player.name | |
self.letter.data:set("from", self.player.name) | |
self.letter.data:set("title", "") |
NewerOlder