Skip to content

Instantly share code, notes, and snippets.

View teki's full-sized avatar

Bela Babik teki

View GitHub Profile
@teki
teki / main.rs
Last active September 30, 2018 11:31
asteroids game
/* Cargo.toml
[package]
name = "asteroids"
version = "0.1.0"
authors = ["me <[email protected]>"]
edition = "2018"
[dependencies]
rand = "0.5"
local application = require "mjolnir.application"
local hotkey = require "mjolnir.hotkey"
local window = require "mjolnir.window"
local screen = require "mjolnir.screen"
local fnutils = require "mjolnir.fnutils"
function move_win_x(pos, div)
local win = window.focusedwindow()
local f = win:frame()
local s = win:screen():frame()
Sampling process 42584 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Microsoft.Python.LanguageServer (pid 42584) every 1 millisecond
Process: Microsoft.Python.LanguageServer [42584]
Path: /Users/USER/*/Microsoft.Python.LanguageServer
Load Address: 0x1038a5000
Identifier: Microsoft.Python.LanguageServer
Version: 0
Code Type: X86-64
Parent Process: Code Helper (Renderer) [42449]
Renderer: Apple M1
Vendor: Apple
Version: 4.1 Metal - 71.0.7
Device: Macmini9,1
Shading language version: 4.10
Max texture size: 16384 x 16384
Max vertex texture image units: 16