Skip to content

Instantly share code, notes, and snippets.

View korrio's full-sized avatar
👽

kOrriO korrio

👽
View GitHub Profile
<string-array name="textface">
<item>( ͡° ͜ʖ ͡°)</item>
<item>(ง ͠° ͟ل͜ ͡°)ง</item>
<item>( ͡ᵔ ͜ʖ ͡ᵔ )</item>
<item>ʕ•ᴥ•ʔ</item>
<item>(ಥ﹏ಥ)</item>
@korrio
korrio / gist:6f9a026872896e0b0224
Created March 23, 2016 01:57
ส่วนที่แก้ไข
ข้อ 11. การขยายเวลาปฏิบัติงานตามสัญญา
ในกรณีที่มีเหตุสุดวิสัย หรือเหตุใด ๆ อันเนื่องมาจากความผิดหรือความบกพร่องของฝ่ายลูกค้าหรือพฤติการณ์อันหนึ่งอันใด ที่นักพัฒนาไม่ต้องรับผิดตามกฎหมาย ทำให้นักพัฒนาไม่สามารถทำงานให้แล้วเสร็จตามเงื่อนไขและกำหนดเวลา นักพัฒนาต้องแจ้งเหตุหรือพฤติการณ์ดังกล่าวพร้อมหลักฐานเป็นหนังสือให้ลูกค้าทราบเพื่อขอขยายเวลาทำงานออกไป ภายใน 15 (สิบห้า) วัน นับถัดจากวันที่เกิดเหตุนั้น
หรือ ในกรณีที่ลูกค้าไม่ส่งข้อมูลสำคัญจำเป็นสำหรับการทำเว็บไซต์ เช่น ข้อมูลรูปภาพ วิดีโอ หรือ ข้อความต่างๆบนเว็บไซต์ ให้ถือเป็นเหตุสำคัญอันจะทำให้การพัฒนาโปรแกรมล่าช้า โดยมิใช่ความผิดของนักพัฒนา และให้ระยะเวลาการส่งมอบที่กำหนดไว้ใน เอกสารภาคพนวก 1 ต้องขยายออกไป และให้นักพัฒนาร่วมกับลูกค้าแก้ไขปัญหานี้โดยการร่วมกันเจรจาและตกลงกำหนดระยะเวลาการส่งมอบงานขึ้นใหม่
ถ้านักพัฒนาไม่ปฏิบัติให้เป็นไปตามความในวรรคหนึ่ง ให้ถือว่านักพัฒนาได้สละสิทธิเรียกร้องในการที่จะขอขยายระยะเวลาออกไป โดยไม่มีเงือนไขใด ๆ ทั้งสิ้น เว้นแต่กรณีเหตุเกิดจากความผิดหรือความบกพร่องของฝ่ายลูกค้าซึ่งมีหลักฐานชัดเจนหรือลูกค้าทราบดีอยู่แล้วตั้งแต่ต้น
public class BaseModel {
public String toJson() {
Gson gson = new Gson();
return gson.toJson(this);
}
public String toString() {
StringBuilder result = new StringBuilder();
String newLine = System.getProperty("line.separator");
public class User extends BaseModel {
@Expose
private String name1;
@Expose
private String name2;
@ParcelConstructor
public User(String name1, String name2) {
this.name1 = name1;
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:id="@+id/splash_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
/*===============================================================================
Copyright (c) 2016 PTC Inc. All Rights Reserved.
Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved.
Vuforia is a trademark of PTC Inc., registered in the United States and other
countries.
===============================================================================*/
package com.vuforia.samples.VideoPlayback.ui.ActivityList;
@korrio
korrio / gist:6745b642bf6d7ab92d86df7126e72fae
Created June 22, 2016 04:50
app.js (facebook messenger bot)
/*
* Copyright 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*
*/
/* jshint node: true, devel: true */
@korrio
korrio / active.md
Created August 3, 2016 14:47 — forked from statguy/active.md

Most active GitHub users in Thailand

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 29 Jul 2015 01:52:41 GMT till Fri, 29 Jul 2016 01:52:41 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter(user =&gt; user.followers &gt; 6)
<?php require_once("../wp-load.php"); ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>acmeinvestor.com</title>
<link rel="stylesheet" media="screen" href="css/normalize.css" />
<link rel="stylesheet" media="screen" href="css/style.css" />
<script src="js/countdown.js"></script>
{
"project_info": {
"project_id": "wouchat24",
"project_number": "1048295695605",
"name": "WOUchat"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:1048295695605:android:a7a78afc3416297e",