Skip to content
View leechunhoe's full-sized avatar

Highlights

  • Pro

Block or report leechunhoe

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Minimal file upload React.js component Minimal file upload React.js component
    1
    import React, { Component } from 'react';
    2
    const S3 = require('aws-sdk/clients/s3');
    3
    const AWS = require('aws-sdk');
    4
    
                  
    5
    AWS.config.update({
  2. Template of view model unit test wit... Template of view model unit test with Kotlin (androidTest)
    1
    import android.support.test.rule.ActivityTestRule
    2
    import android.support.test.runner.AndroidJUnit4
    3
    import com.myapp.MyActivity
    4
    import org.junit.Before
    5
    import org.junit.Rule
  3. S3 CORS rule S3 CORS rule
    1
    <CORSRule>
    2
        <AllowedOrigin>http://localhost:5000</AllowedOrigin>
    3
        <AllowedMethod>GET</AllowedMethod>
    4
        <AllowedMethod>POST</AllowedMethod>
    5
        <AllowedMethod>PUT</AllowedMethod>
  4. Delete merged/gone local git branche... Delete merged/gone local git branches (bash/zsh)
    1
    # Delete git branches with status [gone] (bash/zsh)
    2
    git branch -v | grep "\[gone\]" | awk 'END {FS="\t"}; {print $1}' | xargs git branch -D
  5. GraphQL type to be extended for offs... GraphQL type to be extended for offset pagination
    1
    class Types::PageableType < GraphQL::ObjectType
    2
      # Generalised pagination
    3
      def define_connection(**kwargs, &block)
    4
        this_type = self
    5