These are my Atom setting files generated by sync-settings.
- No tab bar
- Flat design based on One Dark, and inspired by Sublime Text's Flatland Dark theme
- Monokaki syntax colouring
| (() => { | |
| const rules = [ | |
| { | |
| content: /kindle/i, | |
| note: /^Amazon\.co\.jp$/, | |
| kind: '本', | |
| }, | |
| ]; | |
| async function find(selector, parent = document) { |
| (() => { | |
| // Based on: | |
| // https://github.com/micmro/performance-bookmarklet | |
| // MIT License Copyright (c) 2014 Michael Mrowetz | |
| // https://github.com/micmro/performance-bookmarklet/blob/master/LICENSE | |
| //extract a resources file type | |
| const getFileType = (fileExtension, initiatorType) => { | |
| if(fileExtension){ |
| var slack = { | |
| postUrl: 'https://slack.com/api/chat.postMessage', | |
| token: 'xoxp-0000000000000000000000000000', | |
| userName: 'Postman', | |
| }; | |
| var labelToChannel = { | |
| 'slack-finance': '#finance', | |
| 'slack-financial-news': '#financial-news', | |
| 'slack-cryptocurrency': '#cryptocurrency', |
| /** | |
| * Convert a phrase list on tango-cho.com into CSV-formatted text. | |
| * Usage: | |
| * i) Copy and paste into your browser's console. | |
| * ii) Run it! | |
| */ | |
| (() => { | |
| const wrappers = document.querySelectorAll('.top_list > tbody > tr'); | |
| const csv = []; |
| /** | |
| * Convert a phrase list on zuknow.net into CSV-formatted text. | |
| * Usage: | |
| * i) Copy and paste into your browser's console. | |
| * ii) Run it! | |
| */ | |
| (() => { | |
| const wrappers = document.getElementsByClassName('jsc-card-wrapper'); | |
| const csv = []; |
These are my Atom setting files generated by sync-settings.
| /** | |
| * http://karino2.livejournal.com/378477.html | |
| * にて公開されているセンター試験英語第2問のデータから,正答を埋めた完成文を出力する. | |
| * Usage: | |
| * i) スクリプトと同じ階層に center-grammar.csv として CSV データを配置する. | |
| * ii) (必要ならば) 本スクリプトを Babel で変換する. | |
| * iii) 実行する.結果は標準出力で出力される. | |
| */ | |
| import fs from 'fs'; | |
| import path from 'path'; |
| /** | |
| * Convert a list on Quizlet into CSV-formatted text. | |
| * Usage: | |
| * i) Copy and paste into your browser's console. | |
| * ii) Run it! | |
| */ | |
| (() => { | |
| const terms = document.getElementsByClassName('term'); | |
| const csv = []; |