Skip to content

Instantly share code, notes, and snippets.

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;
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 ...
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;
[
{
"id": "cmd_admin_desc",
"translation": "Opens the admin panel."
},
{
"id": "cmd_help_desc",
"translation": "Shows this help page."
},
{
// 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[];
-- 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)
]]--
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)
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
package main
import (
"fmt"
"log"
"github.com/drone/drone-plugin-go/plugin"
"github.com/thoj/go-ircevent"
)
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", "")