Skip to content

Instantly share code, notes, and snippets.

@think49
think49 / History.md
Last active July 12, 2022 05:36
csv.js: ES5 規定の JSON と同じインターフェースを持つCSVパーサ

更新履歴 (csv.js)

ver 1.0.3 (2016/05/11)

  • CSV.parse() の内部実装を String.prototype.replace から RegExp.prototype.exec に変更した

ver 1.0.2 (2016/05/11)

  • CSV.parse() で第三引数 reviver が指定された場合、配列化する前にセル値を引数にとるコールバック関数 reviver を呼び出すようにした
  • CSV.stringify() で第三引数 replacer が指定された場合、CSV文字列に変換する前に要素値を引数にとるコールバック関数 replacer を呼び出すようにした

ver 1.0.1 (2016/05/10)

@Rokt33r
Rokt33r / 3.md
Created November 28, 2015 01:15
Electron x React x Webpack

Electron x React x Webpack

0. Synopsis

今回は次のような問題を解決してみる。

  1. ES6が使いたい
  2. よりアプリらしく作りたい
  3. 変更するとRefresh押すのが面倒いい

By Saad Mousliki

御存知の通り、JavaScriptは数あるプログラミング言語のうちのひとつであり、モバイルのハイブリッドアプリ(PhoneGapやAppceleratorといった)や、サーバーサイド(NodeJSやWakanda)等の様々な所で実装されているWebの言語です。 また、Webブラウザにalertを出すところから、ロボットを動かす(nodebotやnodruinoを使って)ところまで様々なシーンで使われる言語となりました。 JavaScriptをマスターし、パフォーマンスの良いコードを生み出す開発者は市場で最も求められています。

すぐれた PHP ライブラリとリソース

Awesome PHP の記事をフォークして翻訳したものです (2013年4月25日)。おどろくほどすごい PHP ライブラリ、リソースやちょっとした情報のリストです。

【訳者コメント】 PHP 入門者のかたにはクィックリファレンスとして PHP: The Right Way 、セキュリティに関しては2011年3月に出版された 体系的に学ぶ 安全なWebアプリケーションの作り方 をおすすめします。

Composer

@mala
mala / safari-like-cookie-policy-is-too-bad.md
Last active July 11, 2019 05:36
Firefox 22のCookieに関するポリシー変更(予定)についての意見書
@maepon
maepon / gist:4146627
Created November 26, 2012 04:32
20 Mobile/Desktop Browser bugs and tricks any Senior Frontend Web Developer should know の項目だけでも訳してみる

20 Mobile/Desktop Browser bugs and tricks any Senior Frontend Web Developer should know フロントエンド開発者であれば知っておくべきモバイル/デスクトップブラウザのバグやトリック20

  1. Link outlines / highlights are misaligned on the Kindle Fire
    リンクのアウトライン/ハイライトがKindleFireでずれる
  2. Semantic clearfix without using "clear: both" in another element
    他の要素に"clear: both"を使わないclearfix
  3. Extremely low performance with the Picturefill polyfill
    Picturefill polyfillは非常にパフォーマンスが悪い
  4. 'Multiple Class' CSS selector bug in Internet Explorer 6
    複数ClassのCSSセレクターはIE6でバグる
@teppeis
teppeis / tenkaichi-git.md
Last active April 29, 2023 14:58
天下一gitconfig大会

天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。

ぎっとぎとにしてやんよ

DojoCat

  • gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
@alexkingorg
alexkingorg / sort-colors.php
Created March 22, 2012 13:44
Sort colors from dark to light
<?php
function cf_sort_hex_colors($colors) {
$map = array(
'0' => 0,
'1' => 1,
'2' => 2,
'3' => 3,
'4' => 4,
'5' => 5,
@gre
gre / easing.js
Last active May 17, 2024 03:33
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {