Skip to content

Instantly share code, notes, and snippets.

View hjanuschka's full-sized avatar
🤖
-.-

Helmut Januschka hjanuschka

🤖
-.-
  • Vienna/Austria
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>provisioningProfiles</key>
<array>
<dict>
<key>provisioningProfileId</key>
<string>2MAY7NPHRU</string>
<key>name</key>
@hjanuschka
hjanuschka / generate_sprit.rb
Created January 16, 2017 11:14
akamai_sprite_generator
module KMM
class SpriteGenerator
attr_accessor :files
attr_accessor :gridsize
attr_accessor :coords
def initialize(path = ".")
@files = Dir["./*.jpg"]
@files.sort!
@gridsize = Math.sqrt(files.length).ceil.to_i
@coords = get_geometry(files.first)
require 'spaceship'
Spaceship::Tunes.login("email@host.com")
certs = Spaceship.certificate.production.all
certs.each do | certificate |
puts certificate.owner_id
puts certificate.type_display_id
puts certificate.id
end
@hjanuschka
hjanuschka / fastlane_anomizer.rb
Last active December 7, 2016 14:08
fastlane_anomizer.rb
require 'parser'
require 'parser/current'
require "fastlane"
# BOOTSTRAP a fastlane run
#
#
$verbose = true
Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
UI = FastlaneCore::UI
module Fastlane
class Globals
def self.captured_output
unless @captured_output
@captured_output = ""
end
@captured_output
end
def self.verbose(flag)
@verbose = flag
#!/bin/bash
FORK=$1
BRANCH=$2
CMD=$3
shift 3
REST=$*
PR_FOLDER="/tmp/pr-try-${FORK}-${BRANCH}"
//create UUID with xamooms Beacon UUID
NSUUID *uuid = [[NSUUID alloc] initWithUUIDString:@"de2b94ae-ed98-11e4-3432-78616d6f6f6d"];
//create beacon region your major
self.beaconRegion = [[CLBeaconRegion alloc]
initWithProximityUUID:uuid
identifier:@"my xamoom system beacons"];
//init locationmanager
00000000000000000009 open("/root/.rbenv/versions/2.3.2/lib/ruby/2.3.0/x86_64-linux/stringio.so",
00000000000000000007 open("/usr/lib/locale/locale-archive",
00000000000000000007 open("/root/.rbenv/versions/2.3.2/lib/ruby/2.3.0/pathname.rb",
00000000000000000007 open("/lib/x86_64-linux-gnu/libc.so.6",
00000000000000000007 open("/etc/ld.so.cache",
00000000000000000006 open("/root/.rbenv/versions/2.3.2/lib/ruby/2.3.0/digest.rb",
00000000000000000004 open("/root/.rbenv/versions/2.3.2/lib/ruby/2.3.0/x86_64-linux/zlib.so",
00000000000000000004 open("/root/.rbenv/versions/2.3.2/lib/ruby/2.3.0/socket.rb",
00000000000000000004 open("/lib/x86_64-linux-gnu/libdl.so.2",
00000000000000000003 open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache",
lane :pod_update do
#reset podspec to latest tag
version_bump_podspec(
version_number: last_git_tag
)
#increment podspec by one
new_tag = version_bump_podspec
# add a tag
add_git_tag(
! function() {
function t(e, n) {
e instanceof t ? (this.enc = e.enc, this.pos = e.pos) : (this.enc = e, this.pos = n)
}
function e(t, e, n, i, o) {
this.stream = t, this.header = e, this.length = n, this.tag = i, this.sub = o
}
function n(t) {