l’art des sides projects
TRANSCRIPT
Randomail
Commencé en 2012Mail jetable3e version
+8000 utilisateurs+12000 mails/jour
https://randomail.net/
Parlons d’action, justement
Dans un side project, le plus important, ça n’est pas l’idée, mais l’exécution
1: acheter un mac
http://store.apple.com/us/buy-mac/
Android Query
ImageView tbView = (ImageView) view.findViewById(R.id.icon); if(tbView != null){ tbView.setImageBitmap(R.drawable.icon); tbView.setVisibility(View.VISIBLE); tbView.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { someMethod(v); } }); }
AQuery aq = new AQuery(view); aq.id(R.id.icon)
.image(R.drawable.icon)
.visible()
.clicked(this, "someMethod");
Avant: Après:
https://github.com/androidquery/androidquery
Picasso
Picasso.with(context)
.load(url)
.resize(50, 50)
.centerCrop()
.into(imageView)
https://github.com/square/picasso
Material Design
https://github.com/navasmdc/MaterialDesignLibrary
Objective C
NSArray *unsortedArray = @[@"Ahmed", @"Marwa", @"Siva", @"Paul", @"Otto", @"Sam", @"Candy"];NSSortDescriptor* sortDescriptor = [NSSortDescriptor sortDescriptorWithKey:nil ascending:NO selector:@selector(localizedCompare:)]; NSArray* sortedArray = [unsortedArray sortedArrayUsingDescriptors:[NSArray arrayWithObject:sortDescriptor]];//SortedArray = [Siva, Sam, Paul, Otto, Marwa, Candy, Ahmed]
Swift
let names = ["Ahmed", "Marwa", "Siva", "Paul", "Otto", "Sam", "Candy"]reversed = sort(names, {>})// reversed = [Siva, Sam, Paul, Otto, Marwa, Candy, Ahmed]
http://www.swifttoolbox.io
SwiftToolbox : Agrégateur de librairie
https://github.com/Alamofire/Alamofire
librairies
Material Kit
https://github.com/nghialv/MaterialKit
SwiftyJSON
https://github.com/lingoer/SwiftyJSON
Without SwiftyJSON
let jsonObject : AnyObject! = NSJSONSerialization.JSONObjectWithData(dataFromTwitter, options: NSJSONReadingOptions.MutableContainers, error: nil)if let statusesArray = jsonObject as? NSArray{ if let aStatus = statusesArray[0] as? NSDictionary{ if let user = aStatus["user"] as? NSDictionary{ if let userName = user["name"] as? NSDictionary{ //Finally We Got The Name
} } }}
With SwiftyJSON
let json = JSON(data: dataFromNetworking)if let userName = json[0]["user"]["name"].string{ //Now you got your value}
Toucan
https://github.com/gavinbunney/Toucan
Gestion de dépendances : Cocoa Pods
https://guides.cocoapods.org/
Gestion de dépendances : Carthage
https://github.com/Carthage/Carthage
Wow.js
http://mynameismatthieu.com/WOW/
Dokku (heroku like)https://github.com/progrium/dokku
Ou votre propre workflow...
https://github.com/mywaystar/hooky
[ERROR@production] Events Server Exception (6a0177205f10e1516a7df890fc18c47d)
Baptiste Jamin bug créé 2 days ago
NOTE: THIS ISSUE HAS BEEN AUTOMATICALLY OPENED.
TypeError: Cannot read property 'constructor' of null
at md5 (/root/yool_api/node_modules/MD5/md5.js:9:16)
at module.exports (/root/yool_api/node_modules/MD5/md5.js:154:42)
at /root/yool_api/lib/controllers/users/getProfile.js:25:65
at /root/yool_api/node_modules/mongodb/lib/mongodb/collection/query.js:164:5
at Cursor.nextObject (/root/yool_api/node_modules/mongodb/lib/mongodb/cursor.js:773:5)
at commandHandler (/root/yool_api/node_modules/mongodb/lib/mongodb/cursor.js:741:14)
at /root/yool_api/node_modules/mongodb/lib/mongodb/db.js:1903:9
at Server.Base._callHandler (/root/yool_api/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at /root/yool_api/node_modules/mongodb/lib/mongodb/connection/server.js:487:18
at MongoReply.parseBody (/root/yool_api/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)