Skip to content

Instantly share code, notes, and snippets.

View takakd's full-sized avatar
🧑‍💻
coding, coding, and coding

Takahiro Kudo takakd

🧑‍💻
coding, coding, and coding
  • VIdeo Market Corp.
  • Japan
View GitHub Profile
@manabuyasuda
manabuyasuda / reason-why-you-should-not-support-IE.md
Last active October 29, 2020 07:40
IE対応をしないほうがいい理由

要約

  • IE11は十分に古いWebブラウザーです
  • 他のブラウザーと比べて、機能面で大きく見劣りします
  • 主要なWebサービスがIE11をサポート対象外にしています

IE11は古いブラウザーで、新しい機能は追加されません

IE11は2013年に公開されたWebブラウザーです。

iPhoneでたとえるなら、iPhone 5sです。docomoがiPhone販売に参入した年です。
iPhoneは6年で5世代(iPhone6、iPhone7、iPhone8、iPhoneX、iPhone11)を発表していますが、IE11は2013年以降に新しい機能を提供していません。

@manabuyasuda
manabuyasuda / From-engineers-to-designers.md
Last active September 12, 2022 06:33
エンジニアからデザイナーに向けて、デザインカンプを作るときにしておいて欲しいこと。

エンジニアからデザイナーに向けて、デザインカンプを作るときにしておいて欲しいこと。

デザインカンプをコーディングするときに困りがちなことや、こうしてもらえると助かることなどをまとめています。デザイナーが他のデザイナーのデザインカンプを引き継ぐこともあるので、誰にとっても使いやすいデザインカンプを作ることは大切なことだと思います。

このドキュメントは指示ではなく、エンジニア目線の提案です。必ずしも正しいとは考えていませんし、このドキュメントをもとに意見を出し合えたらと思っています。

基本的にデザインカンプに残して欲しいとしていますが、共有されているのであればデザインカンプ以外でも構いません。デザイナーの頭の中にだけある状態はさけたいと考えているので、ストックしておく場所としてデザインカンプを選んでいます。

ツーツはPhotoshopを想定しています。これは単純にPhotoshopで作られることが多いからです。違うツールを使っている場合は、読み替えるか、読み飛ばしてください。

全体編

@henriquemenezes
henriquemenezes / postgresql-set-id-seq.sql
Created March 31, 2016 12:23
PostgreSQL set Next ID Sequence Value to MAX(id) from Table
-- Get Max ID from table
SELECT MAX(id) FROM table;
-- Get Next ID from table
SELECT nextval('table_id_seq');
-- Set Next ID Value to MAX ID
SELECT setval('table_id_seq', (SELECT MAX(id) FROM table));
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active March 26, 2024 01:21
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >

@17g
17g / grep_menuitem.vim
Last active August 26, 2018 21:43
NerdTreePluginのgrep_menuitem.vimって便利だけど実行後にこっそりカレントディレクトリが変更されてしまってる。。 スペースなどが入った場合もそのまま検索できるようにしたかった。 なので少し付け加え。 Forked from https://gist.github.com/masaakif/414375
"shove this in ~/.vim/nerdtree_plugin/grep_menuitem.vim
"
"A really rough integration of :grep with nerdtree. Adds a 'g' menu item that
"prompts the user for a search pattern to use with :grep. :grep is run on the
"selected dir (using the parent if a file is selected)
"
" Originally written by scrooloose
" (http://gist.github.com/205807)
" Forked by masaakif
" (http://gist.github.com/205807)
@colegeissinger
colegeissinger / wptuts-upload-3.5-ready.js
Last active April 2, 2018 14:32
Integrating the WP Media Uploader, version 3.5, Into Your Theme With jQuery. Based off the original tut found on http://wp.tutsplus.com/tutorials/creative-coding/integrating-the-wp-media-uploader-into-your-theme-with-jquery/ But updated to use the 3.5 Media Uploader. While I'm not the biggest JavaScript nerd out there, I understand enough to get…
(function($) {
$(function() {
$.fn.wptuts = function(options) {
var selector = $(this).selector; // Get the selector
// Set default options
var defaults = {
'preview' : '.preview-upload',
'text' : '.text-upload',
'button' : '.button-upload',
};