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
| <div id="app"> | |
| { | |
| "a": 1, | |
| "b": 2, | |
| "c": { | |
| "d": 3, | |
| "e": { | |
| "f": 4, | |
| "g": [ | |
| 5, |
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
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |
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
| /*! | |
| * @param {Rekapi.Actor} actor | |
| * @param {string} animName | |
| * @param {number} steps | |
| * @param {boolean} doCombineProperties | |
| * @param {Array.<string>=} opt_vendors | |
| * @return {string} | |
| */ | |
| function generateBoilerplatedKeyframes ( |
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
| more productive | |
| comfortable | |
| not drinking too much | |
| regular exercise at the gym (3 days a week) | |
| getting on better with your associate employee contemporaries | |
| at ease | |
| eating well (no more microwave dinners and saturated fats) | |
| a patient better driver | |
| a safer car (baby smiling in back seat) | |
| sleeping well (no bad dreams) |
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
| { | |
| "response_type": "in_channel", | |
| "text": ":daskal: :bubble_l: Please move this to a thread! :bubble_r:" | |
| } |
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
| export const isPalindrome = string => | |
| string.split('').reverse().join('') === 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
| // Usage: | |
| // node delete-random-lines.js some-file.txt | |
| require('fs').readFile(process.argv[2], 'utf-8', (err, file) => { | |
| const lines = file.split('\n'); | |
| const linesToDelete = Math.round(lines.length * 0.1); | |
| for (let i = 0; i < linesToDelete; i++) | |
| lines.splice( | |
| Math.floor(Math.random() * lines.length), |
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
| // Usage: | |
| // node delete-random-lines.js some-file.txt | |
| const fs = require('fs'); | |
| const lines = fs.readFileSync(process.argv[2], 'utf-8').split('\n'); | |
| const lineToDelete = Math.round(lines.length * 0.1); | |
| for (let i = 0; i < lineToDelete; i++) { | |
| lines.splice( |
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
| /* globals PluginManager, SceneManager, Scene_Load, DataManager */ | |
| /*: | |
| * @plugindesc Autoload a saved game when the game boots | |
| * @param File ID | |
| * @desc The 1-based index of the file to load | |
| * @default 1 | |
| * @author Jeremy Kahn | |
| */ | |
| (function () { | |
| '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
| /* globals SceneManager */ | |
| /*: | |
| * @plugindesc Auto start a new game when the game boots | |
| * @author Jeremy Kahn | |
| */ | |
| (function () { | |
| function poll () { | |
| if (SceneManager._scene && SceneManager._scene.commandNewGame) { | |
| SceneManager._scene.commandNewGame(); | |
| } else { |