This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Code and Pre Element Translator Blocker | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description add translate='no' to every code and pre element | |
| // @author You | |
| // @match *://*/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*!* | |
| * jQuery ****** | |
| * Version 0.0.1 | |
| * | |
| * 最もシンプルな構造のプラグインです。誰でも読めるようになっています。ここには簡単な機能説明を書きます | |
| */ | |
| (function( $, window, document ) { | |
| 'use strict'; | |
| // メタ情報 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function( $ ) { | |
| 'use strict'; | |
| // 名前空間の定義 | |
| const namespace = 'pluginName'; | |
| $.fn[namespace] = function(options) { | |
| // 受け取った要素を変数に退避 | |
| const elements = this; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // for ループでは配列の長さをキャッシュしておく | |
| // ------------------------------------------------ | |
| // Bad | |
| for (let i = 0; i < array.length; i++) { | |
| // ... | |
| } | |
| // Good | |
| for (let i = 0, max = array.length; i < max; i++) { | |
| // ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 既定値を上書きするには、このファイル内にキー バインドを挿入します | |
| [ | |
| { | |
| "key": "ctrl+,", | |
| "command": "editor.emmet.action.expandAbbreviation", | |
| "when": "editorTextFocus && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus" | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - var baseUrl = 'https://www.dokaben.co.jp' | |
| block setVar | |
| - var pageId = 'top' | |
| doctype html | |
| html(lang=lang) | |
| head | |
| meta(charset='UTF-8') | |
| meta(name='viewport', content='width=device-width, initial-scale=1') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>100</key> | |
| <dict> | |
| <key>- loc hint -</key> | |
| <string>System Font</string> | |
| <key>font</key> | |
| <string>_System</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "draw_white_space": "all", | |
| "ignored_packages": ["Vintage"], | |
| "word_wrap": true, | |
| "trim_automatic_white_space": false, | |
| // テーマ | |
| // ------------------------------------------------- | |
| "theme": "Soda Dark.sublime-theme", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var path = require('path'); | |
| var lrSnippet = require('grunt-contrib-livereload/lib/utils').livereloadSnippet; | |
| var folderMount = function folderMount(connect, point) { | |
| return connect.static(path.resolve(point)); | |
| }; | |
| module.exports = function(grunt) { | |
| // パッケージファイルの指定 | |
| var pkg = grunt.file.readJSON('package.json'); |