Skip to content

Instantly share code, notes, and snippets.

View plu's full-sized avatar
🏠
Working from home

Johannes Plunien plu

🏠
Working from home
  • Kleinanzeigen
  • Germany
View GitHub Profile
#!/bin/bash
#
# This file is managed by Chef, using the <%= node.name %> cookbook.
# Editing this file by hand is highly discouraged!
#
# Copyright (c) 2014 Jean Mertz <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@wbroek
wbroek / genymotionwithplay.txt
Last active February 13, 2025 09:37
Genymotion with Google Play Services for ARM
NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip)
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip)
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
@alexcristea
alexcristea / install-manifest.plist
Last active January 31, 2023 11:53
Over-the-Air Ad Hoc Distribution manifest for iOS8. More about this subject you can find on http://www.informit.com/articles/article.aspx?p=1829415&seqNum=16
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- array of downloads. -->
<key>items</key>
<array>
<dict>
<!-- an array of assets to download -->
@cvium
cvium / flexget-on-openelec.md
Last active August 1, 2018 12:51
Flexget on OpenELEC on Raspberry Pi

Instructions

Credit to danielfm

Compile from Source

First you need to download the source code and change the package build for the Python package. Replace X with the version you wish to install:

$ git clone -b openelec-X.0 https://github.com/openelec/openelec.tv
$ cd openelec.tv
$ vim packages/lang/Python/package.mk

Change vim with whatever text editor you prefer. Then find the following line:

# Warning: BUILD_DIRECTORY must be an absolute path for this script to work properly
rm -rf $BUILD_DIRECTORY
ARCHIVE_PATH=$BUILD_DIRECTORY/$TARGET.xcarchive
IPA_PATH=$BUILD_DIRECTORY/$TARGET.ipa
xcodebuild -workspace $WORKSPACE -scheme $SCHEME -derivedDataPath $BUILD_DIRECTORY -archivePath $ARCHIVE_PATH archive
# As xcodebuild -exportArchive doesn't seem to work properly with WatchKit apps, I ended up making the IPA file by hand.
# https://devforums.apple.com/message/1120211#1120211 has some information about doing that.
@alanzeino
alanzeino / lldb-debugging.md
Last active April 30, 2025 19:32
LLDB debugging with examples

LLDB Debugging Cheat Sheet

Commands

LLDB Commands

LLDB comes with a great set of commands for powerful debugging.

help

Your starting point for anything. Type help to get a list of all commands, plus any user installed ones. Type 'help for more information on a command. Type help to get help for a specific option in a command too.

SUBSCRIBE /MediaRenderer/GroupRenderingControl/Event HTTP/1.1
TIMEOUT: Second-600
CALLBACK: <http://192.168.1.116:3500/>
NT: upnp:event
Host: 192.168.1.154:1400
Connection: close
Content-Length: 0
NOTIFY / HTTP/1.1
HOST: 192.168.1.116:3500
CONNECTION: close
CONTENT-TYPE: text/xml
CONTENT-LENGTH: 1146
NT: upnp:event
NTS: upnp:propchange
SID: uuid:RINCON_000xxxxxxxx01400_sub0000003246
SEQ: 0
@jdmcd
jdmcd / API.swift
Last active June 19, 2020 07:37
Alamofire + Codable
class API {
static let apiKey = "test"
static let baseUrl = ""
enum Endpoint {
case login
case register
var endpoint: String {
switch self {