Skip to content

Instantly share code, notes, and snippets.

# More documentation about how to customize your build
# can be found here:
# https://docs.fastlane.tools
fastlane_version "2.68.0"
# This value helps us track success metrics for Fastfiles
# we automatically generate. Feel free to remove this line
# once you get things running smoothly!
generated_fastfile_id "fa6391df-c182-4067-aece-a17f4d40d0ce"
Active Internet connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 192.168.88.79.59695 149.154.163.20.http SYN_SENT
tcp4 0 0 192.168.88.79.59689 149.154.163.20.https SYN_SENT
tcp4 0 0 192.168.88.79.59686 196.52.116.124.6840 ESTABLISHED
tcp4 0 0 localhost.nfsd-status localhost.59682 ESTABLISHED
tcp4 0 0 192.168.88.79.59683 lu-in-f138.1e100.https ESTABLISHED
tcp4 0 0 localhost.59682 localhost.nfsd-status ESTABLISHED
tcp4 0 0 localhost.nfsd-status localhost.59680 ESTABLISHED
tcp4 0 0 192.168.88.79.59681 17.248.150.24.https ESTABLISHED
➜ iOSBankOk git:(feature/INVEST-316/push_fix) netstat -tln -p tcp
Active Internet connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 192.168.88.79.59581 77.74.181.18.443 ESTABLISHED
tcp4 0 0 127.0.0.1.1110 127.0.0.1.59579 ESTABLISHED
tcp4 0 0 192.168.88.79.59580 74.125.131.189.443 ESTABLISHED
tcp4 0 0 127.0.0.1.59579 127.0.0.1.1110 ESTABLISHED
tcp4 0 0 192.168.88.79.59578 10.129.40.41.13000 SYN_SENT
tcp4 0 0 127.0.0.1.1110 127.0.0.1.59570 ESTABLISHED
tcp4 0 0 192.168.88.79.59571 104.18.74.113.443 ESTABLISHED
2018-10-25 11:59:29.522367+0300 ABOL[45488:19181608] Task <69DD184E-5152-497F-866E-2DBB6EA4E1A3>.<8> load failed with error Error Domain=NSURLErrorDomain Code=-1001 "Превышен лимит времени на запрос." UserInfo={_kCFStreamErrorCodeKey=60, NSUnderlyingError=0x6000001babe0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=60, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <69DD184E-5152-497F-866E-2DBB6EA4E1A3>.<8>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <69DD184E-5152-497F-866E-2DBB6EA4E1A3>.<8>"
), NSLocalizedDescription=Превышен лимит времени на запрос., NSErrorFailingURLStringKey=http://testbankok.akbars.ru/AkbarsOnlineAuth/LoginInit, NSErrorFailingURLKey=http://testbankok.akbars.ru/AkbarsOnlineAuth/LoginInit, _kCFStreamErrorDomainKey=1} [-1001]
Moya_Logger: [25/10/2018 11:59:29] Response: Received empty network response for loginWithLoginPass(login: "mmmmmm", pass: "12345678").
2018-10-25 13:41:56.133438+030
https://skladchik.com/account-confirmation/254583/email?c=FbpkriJ_JKMr4RO2
https://skladchik.com/tickets/34daa6fb3ed7b6633d71d499c7d86732/view
public var dateFormatter: NSDateFormatter {
let df = NSDateFormatter()
df.locale = NSLocale.currentLocale()
df.timeZone = NSTimeZone(name: "GMT")
df.dateFormat = timeFormat
return df
}
@arturdent
arturdent / Singleton.swift
Created February 2, 2016 00:46 — forked from gonzalezreal/Singleton.swift
A naive? attempt to create a Singleton in Swift
class FileManager {
struct StaticInstance {
static var instance = FileManager()
}
class var defaultManager : FileManager {
return StaticInstance.instance
}
}
@arturdent
arturdent / introrx.md
Last active August 29, 2015 14:12 — forked from staltz/introrx.md

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

with 'C*'
"João+André".bytes.pack('C*').force_encoding('UTF-8')
with 'U*'
'Café'.codepoints.pack('U*')