Skip to content

Instantly share code, notes, and snippets.

@iwbjp
iwbjp / .gitignore
Last active July 18, 2020 08:45
iwb.jpで使用されているフロントエンジニア用 .gitignoreファイル
# Common
build/
dist/
.sass-cache
*.swp
*.db
._*
# Mac
.Spotlight-V100
@iwbjp
iwbjp / Google Apps Script 座席検索機能追加コード.gas
Last active November 29, 2019 12:05
Google Apps Script 座席検索機能追加コード
/*!
* Google Apps Script 座席検索機能追加コード
* (c) iwb.jp
* Released under the MIT License.
*/
var _0x1580=['pink','flush','getUi','createMenu','座席検索','addItem','search','addToUi','getActiveSpreadsheet','getActiveSheet','getRange','getValues','prompt','名前を検索','ButtonSet','OK_CANCEL','getResponseText','replace','filter','length','indexOf','push','\u3000座席:\x20','getA1Notation','msgBox','join','forEach','getBackground','setBackground'];(function(_0x3eacd6,_0x21760b){var _0xb563a3=function(_0x271a27){while(--_0x271a27){_0x3eacd6['push'](_0x3eacd6['shift']());}};_0xb563a3(++_0x21760b);}(_0x1580,0xea));var _0x4b37=function(_0x451903,_0x13ea7a){_0x451903=_0x451903-0x0;var _0x15c634=_0x1580[_0x451903];return _0x15c634;};function onOpen(){var _0x1de2ad=SpreadsheetApp[_0x4b37('0x0')]()[_0x4b37('0x1')](_0x4b37('0x2'));_0x1de2ad[_0x4b37('0x3')]('実行',_0x4b37('0x4'));_0x1de2ad[_0x4b37('0x5')]();}function search(){var _0x224db0=SpreadsheetApp[_0x4b37('0x6')](),_0x43a33d=_0x224db0[_0x4b37('0x7')](),_0x408212=_0x224db0['getSheet
@iwbjp
iwbjp / NHKから国民を守る党の衆院選候補者ページに時間、年齢、身長、サイズをランダムで入れる.js
Last active November 5, 2019 23:01
NHKから国民を守る党の衆院選候補者ページに時間、年齢、身長、サイズをランダムで入れる
// NHKから国民を守る党の衆院選候補者ページに時間、年齢、身長、サイズをランダムで入れる
// https://www.nhkkara.jp/%E8%A1%86%E9%99%A2%E9%81%B8%E7%89%B9%E8%A8%AD%E3%83%9A%E3%83%BC%E3%82%B8/
var k = $$('section ._2CtTI .jy5EN')
var h = $$('section ._2CtTI h3')
var n = $$('section ._2CtTI h3 + p')
var l = $$('section ._2CtTI .jy5EN > div > div:last-child')
k[7].style.display = 'none'
k[12].style.display = 'none'
k[13].style.display = 'none'
h.forEach(v => v.style.display = 'none')
@iwbjp
iwbjp / Chrome version 70 Emulated Devices 33.txt
Created November 18, 2018 07:22
Chrome version 70 Emulated Devices 33
Android tablet
BlackBerry Z30
Blackberry PlayBook
Galaxy Note 3
Galaxy Note II
Galaxy S III
Kindle Fire HDX
LG Optimus L70
Laptop with HiDPI screen
Laptop with MDPI screen
@iwbjp
iwbjp / code_install.sh
Created November 10, 2018 05:57
VSCode+Vue.js インストールするべき拡張機能一覧
code --install-extension alefragnani.Bookmarks &&
code --install-extension chrmarti.regex &&
code --install-extension CoenraadS.bracket-pair-colorizer &&
code --install-extension dbaeumer.vscode-eslint &&
code --install-extension esbenp.prettier-vscode &&
code --install-extension fabiospampinato.vscode-todo-plus &&
code --install-extension formulahendry.auto-rename-tag &&
code --install-extension formulahendry.code-runner &&
code --install-extension hollowtree.vue-snippets &&
code --install-extension HookyQR.beautify &&
@iwbjp
iwbjp / gist:d910a123ebf49080949077b7be7a49da
Created December 10, 2017 08:55
メディアクエリによるPC,SP CSSkirikae
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" media="(min-width: 769px)" href="pc.css">
<link rel="stylesheet" media="(max-width: 768px)" href="tablet.css">
<link rel="stylesheet" media="(max-width: 639px)" href="sp.css">
<title>Document</title>