Skip to content

Instantly share code, notes, and snippets.

View osvein's full-sized avatar

Oskar Sveinsen osvein

  • Norway
View GitHub Profile
#include <CoreFoundation/CoreFoundation.h>
#include <stdio.h>
#ifndef SPRINGBOARDSERVICES_H_
extern NSString* SBSCopyBundlePathForDisplayIdentifier(NSString* bundleId);
#endif
int main(int argc, char *argv[], char )
{
if (argc < 2)
app-id: org.musescore.MuseHub
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: muse-hub
rename-desktop-file: muse-hub.desktop
rename-icon: muse-hub
finish-args:
- --share=ipc
- --socket=x11
@osvein
osvein / efm32gg.s
Last active September 17, 2020 08:25
// Various useful I/O addresses and definitions for EFM32GG
// GPIO
GPIO_PA_BASE = 0x40006000
GPIO_PB_BASE = 0x40006024
GPIO_PC_BASE = 0x40006048
GPIO_PD_BASE = 0x4000606c
GPIO_PE_BASE = 0x40006090
GPIO_PF_BASE = 0x400060b4
// register offsets from base address
Ain't Misbehavin
Section A
Ebmaj7 Edim7 Fm7 F#dim7 Eb/G G7#5 Ab6 Db9
Eb/G C7 Fm7 Bb9 G7 C7 F7 Bb7 leads to A
Ebmaj7 Abmaj7 Ebmaj7 D7b9-G7 leads to B
Section B
Cm7/G Ab7/Gb F7 C7/E
F6 Cm7 F9 G7#9 C7 F7 Bb7
127.0.0.1/8
10.5.1.77/23
CL: cfi net/minecraft/client/Minecraft
MD: cfi/a ()V net/minecraft/client/Minecraft/run ()V
CL: cnf net/minecraft/client/main/GameConfiguration
CL: cnf$e net/minecraft/client/main/GameConfiguration$UserInformation
CL: cnf$a net/minecraft/client/main/GameConfiguration$DisplayInformation
CL: cnf$b net/minecraft/client/main/GameConfiguration$FolderInformation
CL: cnf$c net/minecraft/client/main/GameConfiguration$GameInformation
CL: cnf$d net/minecraft/client/main/GameConfiguration$ServerInformation
FD: cfi/aL net/minecraft/client/Minecraft/running
MD: cfi/am ()V net/minecraft/client/Minecraft/startGame ()V
@osvein
osvein / syvendesans.tab
Created July 14, 2018 09:27
Spis din syvende sans by Karpe, piano arranged for guitar
e|------2---2-----------------------------------|
B|-----------------4---4------------------------|
G|--4-------------------------4---4------3---3--|
D|-------------6----------6----------4----------|
A|----------------------------------------------|
E|----------------------------------------------|
@osvein
osvein / Enjoy the Silence.tab
Last active July 5, 2018 18:06
Enjoy the Silence cover by Moriarty, chords arranged for guitar
Bm D Dm G Em G2 Bm7 Bb
e|--2--|--5--|--5--|--3--|--0--|--3--|--2--|--1--|
B|--3--|--7--|--6--|--3--|--0--|--3--|--3--|--3--|
G|--4--|--7--|--7--|--4--|--0--|--0--|--2--|--3--|
D|--4--|--7--|--7--|--5--|--2--|--0--|--4--|--3--|
A|--2--|--5--|--5--|--5--|--2--|--2--|--2--|--1--|
E|--2--|--5--|--5--|--3--|--0--|--3--|-----|--1--|
Bm D Bm D
Bm Dm G G
@osvein
osvein / Wet_Hands.musicxml
Created June 16, 2018 20:08
Wet Hands by C418, piano arranged for guitar
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="3.1">
<work>
<work-title>Wet Hands</work-title>
</work>
<identification>
<creator type="composer">C418</creator>
<encoding>
<software>MuseScore 2.2.1</software>
@osvein
osvein / light my fire.tab
Last active May 13, 2018 11:24
The Doors - Light My Fire keyboard arranged for ukulele
|-01-02-03-04-05-06-07-08-09-10-11-12-13-14-15-16-|-01-02-03-04-05-06-07-08-09-10-11-12-13-14-15-16-|
|- - - - - - - - - - - - - - - - -|- - - - - - - - - - - - - - - - -|
A|-01----------01----04----02----01----------------|-------------02----07----04-02-00----------------|
E|-------02-04-------------------------04----02----|-04----00-04----------------------02-03----02----|
C|-------------------------------------------------|-------------------------------------------------|
G|-------------------------------------------------|-------------------------------------------------|
|-01-02-03-04-05-06-07-08-09-10-11-12-13-14-15-16-|-01-02-03-04-05-06-07-08-09-10-11-12-13-14-15-16-|
|- - - - - - - - - - - - - - - - -|- - - - - - - - - - - - - - - - -|
A|-------------00----02----00----------------------|-------------------------------------------------|