Instead of the verbose setOnClickListener:
RxView.clicks(submitButton).subscribe(o -> log("submit button clicked!"));Observable
.just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)| import React, { Component } from 'react'; | |
| import { Text, View, StyleSheet, Image, ImageBackground, Platform } from 'react-native'; | |
| const backgroundImage = require('../assets/background.png') | |
| const iconCamera = require('../assets/camera_alt_white_48x48.png') | |
| const styles = StyleSheet.create({ | |
| addImage: { | |
| flexDirection: 'column', | |
| justifyContent: 'center', |
| # THIS IS example/android/app/build.gradle | |
| apply plugin: "com.android.application" | |
| import com.android.build.OutputFile | |
| /** | |
| * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets | |
| * and bundleReleaseJsAndAssets). | |
| * These basically call `react-native bundle` with the correct arguments during the Android build |
| Como vocΓͺ eu tive que pesquisar e entender o que significa trabalhar como PJ | |
| para decidir sobre uma oportunidade. | |
| Bom antes de entender o que significa trabalhar como PJ vocΓͺ deve entender | |
| o que significa trabalhar como CLT e porque as empresas preferem evitar isso. | |
| No CLT vc tem o seu salΓ‘rio bruto digamos que seja R$ 3000. Mas o que vocΓͺ | |
| recebe de verdade Γ© R$ 2603,83 | |
| O que acontece Γ© que vocΓͺ tem que pagar do seu salΓ‘rio 11% de INSS R$ 330 mais |
| #!/usr/bin/env python3 | |
| # This script is provided to show how I migrated from Ghost 0.4.2 | |
| # to Jekyll 2.3.0 and is used at your own risk. Back up your blog | |
| # before trying it out. | |
| def getPostTemplate(): | |
| with open('post-template.md', 'r') as f: | |
| posttemplate = f.read() | |
| f.closed |
(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.
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| # Output to a jpeg file | |
| set terminal jpeg size 1280,720 | |
| # Set the aspect ratio of the graph | |
| set size 1, 1 | |
| # The file to write to | |
| set output "timeseries.jpg" | |
| # The graph title |
| /* | |
| Instructions: | |
| 1. Log in with your account and go to the desired course | |
| 2. Open the courseware tab | |
| 3. Configure the week variable | |
| 4. Copy this code and paste it in the browser console | |
| */ |