Skip to content

Instantly share code, notes, and snippets.

View tux89's full-sized avatar
🤧
I may be slow to respond.

Tux89 tux89

🤧
I may be slow to respond.
View GitHub Profile
@tux89
tux89 / rails http status codes
Created October 7, 2025 10:10 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing

image

image

Association

Sự liên kết giữa 2 lớp khi mà không ai sở hữu ai.

the lifetime of the instances of the two classes are independent of each other and there is no ownership between two classes.

@tux89
tux89 / did-etcher-break-my-usb-sd-card.md
Created August 9, 2021 15:59
Restore Boot USB to Normal Usb
@tux89
tux89 / road.txt
Created September 16, 2018 12:30
ちょうど一年前に この道を通った夜
昨日の事のように 今はっきりと想い出す
大雪が降ったせいで 車は長い列さ
どこまでも続く赤いテールランプが綺麗で
サイドシートの君は まるで子供のように
微笑を浮かべたまま 眠れる森の少女
ゆすって起こした俺を 恨めしそうににらんで
俺の手を握り返し 「愛がほしい…」と言った<
String.prototype.isHex = function() {
return new RegExp("/[a-f0-9 \t]/i").test(this);
};
var CRCMaster = {
StringToCheck: "",
CleanedString: "",
CRCTableDNP: [],
init: function() {
this.CRCDNPInit();

NGUYÊN TẮC 90/10

Điều này sẽ làm thay đổi cuộc đời bạn (hoặc ít nhất, cách thức bạn phản ứng lại với các tình huống)

Nguyên tác: Discover The 90/10 Principle của Stephen Covey

It will change your life (or at least, the way you react to situations)

Chuyển ngữ: Kim Ngân

ECMAScript 6 git.io/es6features

Introduction

ECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard. ES6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009. Implementation of these features in major JavaScript engines is underway now.

See the ES6 standard for full specification of the ECMAScript 6 language.

ES6 includes the following new features:

@tux89
tux89 / c3js_notes.md
Last active September 8, 2016 01:20

Line chart with label

var chart = c3.generate({
    data: {
        x: 'x',
        columns: [
            ['x', '2013-10-31', '2013-12-31', '2014-01-31', '2014-02-28'],
            ['sample', 30, 80, 110, 110],
        ],
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
static const char *alpha[] = {
".-", //A
"-...", //B
"-.-.", //C
"-..", //D

Từ vựng tiếng Nhật N3

1.Từ vựng tiếng Nhật N3 – ngày 1

1. キッチン : Nhà bếp
2. 電子レンジ (でんしレンジ) : Lò vi sóng
3. (御)茶碗 ((お)ちゃわん) : Bát ăn cơm
4. ワイングラス : Ly uống rượu vang
5. コーヒーカップ : Cốc uống cà phê