- Singapore
Highlights
- Pro
Pinned Loading
-
Minimal file upload React.js component
Minimal file upload React.js component 1import React, { Component } from 'react';
2const S3 = require('aws-sdk/clients/s3');
3const AWS = require('aws-sdk');
45AWS.config.update({
-
Template of view model unit test wit...
Template of view model unit test with Kotlin (androidTest) 1import android.support.test.rule.ActivityTestRule
2import android.support.test.runner.AndroidJUnit4
3import com.myapp.MyActivity
4import org.junit.Before
5import org.junit.Rule
-
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>
-
Delete merged/gone local git branche...
Delete merged/gone local git branches (bash/zsh) 1# Delete git branches with status [gone] (bash/zsh)
2git branch -v | grep "\[gone\]" | awk 'END {FS="\t"}; {print $1}' | xargs git branch -D
-
GraphQL type to be extended for offs...
GraphQL type to be extended for offset pagination 1class Types::PageableType < GraphQL::ObjectType
2# Generalised pagination
3def define_connection(**kwargs, &block)
4this_type = self
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.