Skip to content

Instantly share code, notes, and snippets.

GET /api/v2/organizations HTTP/1.1
Host: fabric.io
Proxy-Connection: keep-alive
X-Requested-With: XMLHttpRequest
Accept-Language: ru
Accept-Encoding: gzip, deflate
Accept: application/json, text/javascript, */*; q=0.01
X-CRASHLYTICS-DEVELOPER-TOKEN: 0bb5ea45eb53fa71fa5758290be5a7d5bb867e77
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/8.0.6 Safari/600.6.3
Connection: keep-alive
social=google&uid=118064698005477220672&app_secret=0c-bc20zu%28b%40h%28wrp%40xb%2B%23v%40%25a8%26amp%3Bvpzfpvdk1%23%3Dm%2Bu0%2B*%29sf_9&first_name=berry&last_name=test&email=berrytest123%40gmail.com&token=eyJhbGciOiJSUzI1NiIsImtpZCI6ImJjOGEzMTkyN2FmMjA4NjA0MThmNmIyMjMxYmJmZDdlYmNjMDQ2NjUifQ.eyJpc3MiOiJhY2NvdW50cy5nb29nbGUuY29tIiwic3ViIjoiMTE4MDY0Njk4MDA1NDc3MjIwNjcyIiwiYXpwIjoiODY4OTA4MjM2Mjg0LWNmNW5naGZyYTBsdGl2bWNlb2ZqZmhlNzhudXJjcXMxLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwiZW1haWwiOiJiZXJyeXRlc3QxMjNAZ21haWwuY29tIiwiYXRfaGFzaCI6ImpIREEyVmx1bjZRTHRBT3c1Q0xFNEEiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiYXVkIjoiODY4OTA4MjM2Mjg0LWNmNW5naGZyYTBsdGl2bWNlb2ZqZmhlNzhudXJjcXMxLmFwcHMuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwiaWF0IjoxNDM2MzYyMjUwLCJleHAiOjE0MzYzNjU4NTB9.qkvJX-cZum440VGZTGND2IvYaTtYqUi0cwiq1uhpe8Qth-06OTiExBaaI28dEG6Al-Y0NCqZEvdA-KZ5oKbVPrS6Tz9ZpY-oK4Zu2-gBq-v2Yk8tPJohnPD3xgU2GIEkCMM54_ffxa0kC48ujUAOoAeIbcdLqbbmY0EgkgH-GZhPtlMe4SaUY2PLYINzEXkH1RYZGPZKf3GA0c9MEV9mask_i8D_yhLUSCmweVO_PggkjIfmRb0vnQHxWHma6xvbC9ejhGsHQesx-Tt
2015-11-13 09:42:34.126 EGWWritings[2036:39243] >> for lowercaseString: "Clear instalation! load database from bundle"
2015-11-13 09:42:34.126 EGWWritings[2036:39243] Method 'uppercaseString' info:
Time working: 0.000038
FPS = 26379.3
avgFPS = 22728.6
2015-11-13 09:42:34.139 EGWWritings[2036:39243] Method 'lowercaseString' info:
Time working: 0.000009
FPS = 113359.6
avgFPS = 116693.7
2015-11-13 09:42:34.143 EGWWritings[2036:39243] Method 'capitalizedString' info:
NSString *str = @"clear instalation! load database from bundle";
NSLog(@">> for lowercaseString: \"%@\"", str);
[DPFPSHelper getFPSMethod:NSStringFromSelector(@selector(uppercaseString)) withTarget:str];
[DPFPSHelper getFPSMethod:NSStringFromSelector(@selector(lowercaseString)) withTarget:str];
[DPFPSHelper getFPSMethod:NSStringFromSelector(@selector(capitalizedString)) withTarget:str];
str = [str uppercaseString];
- (void)squareToCircleToRoundedRectangle {
// self.circleView.layer.masksToBounds = YES;
// self.circleView.layer.position = self.circleView.frame.origin;
// self.circleView.layer.anchorPoint = CGPointMake(0.0f, 0.0f);
// self.circleView.layer.cornerRadius = MIN(self.circleView.frame.size.width, self.circleView.frame.size.height) / 2.0f;
CABasicAnimation *anim = [CABasicAnimation animationWithKeyPath:@"cornerRadius"];
anim.removedOnCompletion = NO;
anim.fromValue = @(self.circleView.layer.cornerRadius);
anim.toValue = @(kKruMainMaxWidthCircleView / 2);
@rbrovko
rbrovko / xcode-build-bump.sh
Created November 8, 2016 12:29 — forked from sekati/xcode-build-bump.sh
Xcode Auto-increment Build & Version Numbers
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)
@rbrovko
rbrovko / Perform.swift
Created August 8, 2017 09:12
A function that enables you to easily wrap throwing APIs, to provide a custom error
/**
* Perform a throwing expression, and throw a custom error in case the expression threw
*
* - parameter expression: The expression to execute
* - parameter error: The custom error to throw instead of the expression's error
* - throws: The given error
* - returns: The return value of the given expression
*/
func perform<T>(_ expression: @autoclosure () throws -> T, orThrow error: Error) throws -> T {
do {
@rbrovko
rbrovko / sketch-never-ending.md
Created October 6, 2017 11:10 — forked from Bhavdip/sketch-never-ending.md
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

@rbrovko
rbrovko / DataReader.java
Created November 28, 2017 16:01 — forked from aarnchng/DataReader.java
DataReader.java - Convert Byte Array To Integer/Long/Float/Double
package references;
import java.io.IOException;
import java.io.InputStream;
import android.util.Log;
abstract class DataReader {
public static final int INVALID_DATA = -1;
@rbrovko
rbrovko / iOSDevices
Created February 7, 2018 09:36 — forked from erkanyildiz/iOSDevices
List of iOS devices with names and cpu models
{
"iPhone1,1":
{
"name": "iPhone",
"cpu": "RISC ARM 11"
},
"iPhone1,2":
{
"name": "iPhone 3G",