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
require 'slack' | |
Slack.configure do |config| | |
config.token = ENV['SLACK_TOKEN'] | |
end | |
def getChannelHistory(client, latest, oldest) | |
client.channels_history(channel: ENV['CHANNEL_ID'], latest: latest, oldest: oldest, inclusive: true, count: 1000) | |
end |
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
package com.unuuu.bookkeeper.view.adapter | |
... | |
class ExampleAdapter(context: Context) : RecyclerView.Adapter<RecyclerView.ViewHolder>() { | |
... | |
private val inflater: LayoutInflater = LayoutInflater.from(context) | |
private class CommentViewHolder(view: View) : RecyclerView.ViewHolder(view) { |
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
... | |
override fun onResume() { | |
super.onResume() | |
saveTransitionScreenName() | |
val transitionScreenName = getTransitionScreenName() | |
Timber.d("ScreenName: " + transitionScreenName) | |
Crashlytics.setString("ScreenName", transitionScreenName) | |
} |
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
package com.unuuu.bookkeeper.activity | |
import android.content.Context | |
import android.content.Intent | |
import android.os.Bundle | |
import android.os.Handler | |
import android.support.design.widget.FloatingActionButton | |
import android.support.design.widget.NavigationView | |
import android.support.v4.app.Fragment | |
import android.support.v4.app.FragmentManager |
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: 2 | |
jobs: | |
build: | |
working_directory: ~/working_directory | |
docker: | |
- image: beevelop/android:latest | |
environment: | |
ANDROID_HOME: /opt/android | |
steps: | |
- checkout |
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
use [database_name]; | |
alter database [database_name] character set utf8mb4; | |
alter database [database_name] collate utf8mb4_general_ci; | |
alter table [table_name] character set utf8mb4; | |
alter table [table_name] modify [collumn name] varchar(255) character set utf8mb4 not null; |
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
runtime: java | |
env: flex |
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
buildscript { | |
ext.kotlin_version = '1.0.5' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.4.2.RELEASE' | |
classpath "com.google.cloud.tools:appengine-gradle-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
package hello | |
import java.util.Arrays | |
import org.springframework.boot.CommandLineRunner | |
import org.springframework.boot.SpringApplication | |
import org.springframework.boot.autoconfigure.SpringBootApplication | |
import org.springframework.context.ApplicationContext | |
import org.springframework.context.annotation.Bean |
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
buildscript { | |
ext.kotlin_version = '1.0.5' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.4.2.RELEASE' | |
} |
NewerOlder