Skip to content

Instantly share code, notes, and snippets.

View ilumin's full-sized avatar
🏠
Working from home

Lumin ilumin

🏠
Working from home
  • Bangkok, Thailand
  • 18:08 (UTC +07:00)
View GitHub Profile
@ilumin
ilumin / .gitignore
Created December 28, 2018 03:48
Global gitignore rules
### GIT IGNORE
### OS
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
@ilumin
ilumin / .editorconfig
Last active December 28, 2018 03:42
Global Editor Config
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
[*.js, *.css, *.scss]
indent_style = space
indent_size = 2
@ilumin
ilumin / android_instructions_23.md
Created October 3, 2018 11:05 — forked from agrcrobles/android_instructions_29.md
Setup Android development environment on a Mac

Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

  • XCode is installed (via the App Store)
  • XCode command line tools are installed (xcode-select --install will prompt up a dialog)
  • Java

Install Homebrew:

Code Doja 2018-09-21 (Chess Board Cell Color)

Task

Given two cells on the standard chess board, determine whether they have the same color or not.

Example

For cell1 = "A1" and cell2 = "C3", the output should be true.

For cell1 = "A1" and cell2 = "H3", the output should be false.

### Title options:
- GraphQL hoje para aplicações client-side que ainda dependem de APIs REST.
- GraphQL today using Apollo for applications that still depend on REST apis
- Wrapping REST apis with GraphQL using Apollo stack
# GraphQL today using Apollo for applications that still depend on REST APIs
Even though people using GraphQL are often extremely excited about the technology, it's popularity is [still growing slowly](https://trends.google.com/trends/explore?date=2014-03-14%202017-03-14&q=GraphQL). Developers working on client-side applications are the ones to benefit more from GraphQL, but migrating a backend from a working REST API might not be economically justifiable for most teams. What most don't realize, though, is that it is not completely necessary to make the switch on both sides before adopting the technology. The main [JavaScript implementation](https://github.com/graphql/graphql-js) of a GraphQL server runs just fine on the browser, and [Apollo](http://www.apollodata.com/) makes it easy a
@ilumin
ilumin / remove-merged.sh
Last active October 30, 2017 02:58
Remove all merged branch without "master"
$ git branch -r --merged | \
grep origin | \
grep -v '>' | \
grep -v master | \
xargs -L1 | \
cut -d"/" -f2- | \
xargs git push origin --delete
@ilumin
ilumin / headless-chrome.robot
Last active October 20, 2017 11:38
เราคาดหวังว่า headless chrome จะทำให้ robot framework ไวขึ้น ... ไม่เลย มันช้าเหมือนเดิม แค่ไม่มีของรกๆมาอยู่บนหน้าจอเวลารัน
*** Settings ***
Library Selenium2Library
Suite Setup Run keywords Use Headless Browser
*** Test Cases ***
Create Headless Browser
Go To https://twitter.com
Capture Page Screenshot
[Teardown] Close All Browsers
@ilumin
ilumin / antman-developer-handbook.md
Created July 6, 2017 14:25
Antman Developer Handbook

Antman Developer Handbook

Prerequisites

Tools

News Letters

Frontend Engineer

@ilumin
ilumin / TC_FMSE_00277.md
Last active June 14, 2017 07:00
TC_FMSE_00277
TESTCASE: TC_FMSE_00277
SUBJECT: Save Stock - Packed B2B Order
OBJECTIVE: 

  To verify that stock is calculated and save data to RDS if user packed b2b order 

PREREQUISITE:

  For B2B Packed
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="http://code.jquery.com/jquery-3.1.0.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jInvertScroll/0.8.3/js/jquery.jInvertScroll.min.js"></script>