Skip to content

Instantly share code, notes, and snippets.

View eliasnaur's full-sized avatar

Elias Naur eliasnaur

View GitHub Profile

Keybase proof

I hereby claim:

  • I am eliasnaur on github.
  • I am eliasnaur (https://keybase.io/eliasnaur) on keybase.
  • I have a public key ASAjyH3FhLDVvK9D09Qv67s2qwPivgPYuU3KJaYVWMcerQo

To claim this, I am signing this object:

@eliasnaur
eliasnaur / Dockerfile
Created February 22, 2019 17:21
Android emulator Dockerfile
# Copyright 2014 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
FROM debian:sid
MAINTAINER golang-dev <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
# gdb: optionally used by runtime tests for gdb
@eliasnaur
eliasnaur / Dockerfile
Created February 22, 2019 17:55
Dockerfile using a host pre-warmed emulator
# Copyright 2014 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
FROM debian:sid
MAINTAINER golang-dev <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
# gdb: optionally used by runtime tests for gdb
@eliasnaur
eliasnaur / Dockerfile
Last active February 23, 2019 11:21
Dockerfile with Android emulator
# Copyright 2014 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
FROM debian:sid
MAINTAINER golang-dev <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
# gdb: optionally used by runtime tests for gdb
Before readdirnames loop
names before [0/100]0xc000078700
names after [0/100]0xc000078700
name: .
names before [0/100]0xc000078700
names after [0/100]0xc000078700
name: un.bash
names before [1/100]0xc000078700
names after [1/100]0xc000078700
name: md
Before readdirnames loop
names before [0/100]0xc000088e00
names after [0/100]0xc000088e00
name: .
names before [0/100]0xc000088e00
names after [0/100]0xc000088e00
name: un.bash
names before [1/100]0xc000088e00
names after [1/100]0xc000088e00
name: md
$ dpkg -S /usr/bin/ar /usr/bin/libtool
org.coolstar.cctools: /usr/bin/ar
org.coolstar.cctools: /usr/bin/libtool
$ apt policy org.coolstar.cctools
org.coolstar.cctools:
Installed: 895
Candidate: 895
Version table:
*** 895 500
500 http://apt.thebigboss.org/repofiles/cydia stable/main iphoneos-arm Packages
@eliasnaur
eliasnaur / grid.go
Last active April 29, 2023 19:43
Gio Grid example using Flex
package main
import (
"image"
"gioui.org/app"
"gioui.org/f32"
"gioui.org/io/system"
"gioui.org/layout"
"gioui.org/op/paint"
FROM fedora:30
RUN dnf update -y && \
dnf install -y vim git clang \
wayland-devel libxkbcommon-devel mesa-libGLES-devel mesa-libEGL-devel
RUN curl -o /go.1.12.tar.gz https://dl.google.com/go/go1.12.9.linux-amd64.tar.gz
RUN tar xzvf /go.1.12.tar.gz
@eliasnaur
eliasnaur / gopls
Created February 10, 2020 11:08
govim logs
[Trace - 11:41:03.019 AM] Sending request 'initialize - (1)'.
Params: {"processId":0,"clientInfo":{"name":""},"rootUri":"file:///var/home/elias/proj/gio/gpu","capabilities":{"Workspace":{"workspaceEdit":{},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{}},"executeCommand":{},"configuration":true},"textDocument":{"synchronization":{},"completion":{"completionItem":{"tagSupport":{"valueSet":null}},"completionItemKind":{}},"hover":{"contentFormat":["plaintext"]},"signatureHelp":{"signatureInformation":{"parameterInformation":{}}},"declaration":{},"definition":{},"typeDefinition":{},"implementation":{},"references":{},"documentHighlight":{},"documentSymbol":{"symbolKind":{}},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"codeLens":{},"documentLink":{},"colorProvider":{},"formatting":{},"rangeFormatting":{},"onTypeFormatting":{},"rename":{},"foldingRange":{},"selectionRange":{},"publishDiagnostics":