This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: v1.0 | |
name: Inclusive-Android | |
agent: | |
machine: | |
type: e1-standard-2 | |
os_image: ubuntu1804 | |
blocks: | |
- name: SETUP | |
task: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
// we create a speaker | |
val speaker = Speaker() | |
// we add three audiences to the speaker | |
speaker.addAudience(audience = Audience()) | |
speaker.addAudience(audience = Audience()) | |
speaker.addAudience(audience = Audience()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Audience() { | |
private var message= Message("") | |
fun update(message: Message) { | |
this.message = message | |
print("Got a new message: ${message.text}\n") | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Message (public var text : String){ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Speaker() { | |
private var message= Message("Hello") | |
private val audiences = ArrayList<Audience>() | |
fun setMessage(msg:String ) { | |
this.message.text = msg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set encoding=utf-8 | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Bundle 'jiangmiao/auto-pairs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bundle 'LucHermitte/lh-vim-lib' | |
Bundle 'LucHermitte/lh-tags' | |
Bundle 'LucHermitte/lh-dev' | |
Bundle 'LucHermitte/lh-brackets' | |
Bundle 'LucHermitte/searchInRuntime' | |
Bundle 'LucHermitte/mu-template' | |
Bundle 'tomtom/stakeholders_vim' | |
Bundle 'LucHermitte/lh-cpp' | |
Bundle 'rhysd/vim-grammarous' " grammarly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Blundle 'yazug/vim-taglist-plus' "taglist plugin | |
Bundle 'terryma/vim-expand-region' "expand region plugin | |
" leader key + w to save | |
nnoremap <Leader>w :w <CR> | |
"map v to expand region plugin | |
vmap v <Plug>(expand_region_expand) | |
"map <S-v> to shrink region plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |
NewerOlder