(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| public static class ExampleViewHolder extends RecyclerView.ViewHolder | |
| implements View.OnClickListener { | |
| private int originalHeight = 0; | |
| private boolean isViewExpanded = false; | |
| private YourCustomView yourCustomView | |
| public ExampleViewHolder(View v) { | |
| super(v); | |
| v.setOnClickListener(this); |
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
μλ νμΈμ. μ¬μμ¬μ λΆμ λ§λ£¨μΌλ§@h13i32maruμ λλ€. μ΅κ·Όμ Web νλ‘ νΈμλμ λ³νλ λ§€μ° κ²©λ ¬ν΄μ, μ‘°κΈ λμ λ μ¬μ΄μ μ μ μλ‘μ΄ κ²μ΄ λμ€κ³ μλλΌκ΅¬μ. κ·Έλ° κ²©λ ¬ν λ³νμ€ νλκ° ES6μ΄λΌλ μ°¨μΈλ JavaScriptμ μ¬μμ λλ€. μ΄ ES6λ νμ¬ μ¬μ μ€μΌλ‘ μ§νμμ μμλ Draft Rev31μ΄ κ³΅κ°λμ΄μμ΅λλ€.
JavaScriptλ ECMAScript(ECMA262)λΌλ μ¬μμ κΈ°λ°μΌλ‘ ꡬνλμ΄μμ΅λλ€. νμ¬ λͺ¨λν Web λΈλΌμ°μ λ ECMAScript 5.1th Editionμ κΈ°λ°μΌλ‘ ν JavaScriptμ€ν μμ§μ νμ¬νκ³ μμ΅λλ€. κ·Έλ¦¬κ³ λ€μ λ²μ μΈ ECMAScript 6th Editionμ΄ νμ¬ μ¬μ μ€μΌλ‘, μ½μΉμΌλ‘ ES6μ΄λΌλ λͺ μΉμ΄ μ¬μ©λκ³ μμ΅λλ€.
| -server | |
| -Xms2g | |
| -Xmx2g | |
| -Xss16m | |
| -XX:+UseConcMarkSweepGC | |
| -XX:+CMSParallelRemarkEnabled | |
| -XX:ConcGCThreads=4 | |
| -XX:ReservedCodeCacheSize=128m | |
| -XX:+AlwaysPreTouch | |
| -XX:+TieredCompilation |
| #build.gradle | |
| # | |
| # compile 'io.reactivex:rxandroid:1.0.1' | |
| # compile 'io.reactivex:rxjava:1.0.14' | |
| # compile 'io.reactivex:rxjava-math:1.0.0' | |
| # compile 'com.jakewharton.rxbinding:rxbinding:0.2.0' | |
| # rxjava | |
| -keep class rx.schedulers.Schedulers { | |
| public static <methods>; |
κΈμ΄μ΄: κΉμ μ£Ό([email protected])
μ΄ λ¬Έμλ ν μνλ‘μ° κ³΅μ νμ΄μ§ λ΄μ©μ λ°νμΌλ‘ λ§λ€μ΄μ‘μ΅λλ€.
ν μνλ‘μ°(TensorFlow)λ κΈ°κ³ νμ΅κ³Ό λ₯λ¬λμ μν΄ κ΅¬κΈμμ λ§λ μ€νμμ€ λΌμ΄λΈλ¬λ¦¬μ λλ€. λ°μ΄ν° νλ‘μ° κ·Έλν(Data Flow Graph) λ°©μμ μ¬μ©νμμ΅λλ€.
| //: # Swift 3: Working with dates | |
| import Foundation | |
| let date = Date() | |
| let myLocale = Locale(identifier: "bg_BG") | |
| //: ### Setting an application-wide `TimeZone` | |
| //: Notice how we use if-let in case the abbreviation is wrong. It will fallback to the default timezone in that case. | |
| if let myTimezone = TimeZone(abbreviation: "EEST") { | |
| print("\(myTimezone.identifier)") |
| package main | |
| import ( | |
| "log" | |
| "syscall" | |
| "unsafe" | |
| ) | |
| var ( | |
| kernel32 = syscall.NewLazyDLL("kernel32.dll") |