Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| [09:34] == Xiticity [44e3e0e4@gateway/web/freenode/ip.68.227.224.228] has joined #RubyOnRails | |
| [09:34] -ChanServ- [#rubyonrails] Register with nickserv in order to talk: /msg nickserv help | |
| [09:35] <Xiticity> As an OS X user and Rails 3.1 user -- is the consensus that it's fine to update to Lion, or should I hold off? | |
| [09:35] <hedzup> Xiticity -- I upgraded to lion a few weeks ago | |
| [09:35] <Xiticity> I don't want a shit-ton of problems to deal with, if waiting a few weeks should clear em up | |
| [09:35] == RahulT [~rahult_@122-49-175-31.ip.adam.com.au] has quit [Quit: Leaving...] | |
| [09:36] <Xiticity> how did it go, @hedzup | |
| [09:36] <hedzup> you'll have to reinstall Xcode to get the dev tools | |
| [09:36] <hedzup> i couldn't even do simple commands like "make" let alone any of the rails commands | |
| [09:36] <Cervajz> Xiticity: I have Lion for two weeks and I actove develop in rails without problem. But for 3.0.9 |
| # requires root permissions in /usr/bin/ | |
| star = String.new | |
| 8.times { star += "*" } | |
| Star = "\n#{star * 3}\n" | |
| def newblock string | |
| puts "\n#{Star}#{string}#{Star}\n" | |
| end |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| name | download_total | |
|---|---|---|
| AFNetworking | 61983241 | |
| Fabric | 50998892 | |
| Crashlytics | 49667729 | |
| SDWebImage | 45471101 | |
| Alamofire | 42097177 | |
| CocoaLumberjack | 36071914 | |
| Bolts | 35294870 | |
| FirebaseInstanceID | 30277793 | |
| FirebaseAnalytics | 30254593 |
| final class PublicKeyPinner { | |
| /// Stored public key hashes | |
| private let hashes: [String] | |
| public init(hashes: [String]) { | |
| self.hashes = hashes | |
| } | |
| /// ASN1 header for our public key to re-create the subject public key info | |
| private let rsa2048Asn1Header: [UInt8] = [ |