http://guides.rubyonrails.org/migrations.html
- add_column
- add_index
- change_column
- change_table
- create_table
- drop_table
| let sentence = "A cool sentence"; | |
| const favoriteNumber = 41; | |
| const listOfThings = ["keys", "lamp", "headphones"]; | |
| const walkmanSpecifications = { | |
| name: "TPS-L2", | |
| yean: "1979", | |
| color: "Blue & Silver", | |
| battery: "AA x2", | |
| } |
| javascript: Promise.all([ | |
| import('https://unpkg.com/[email protected]?module'), | |
| import('https://unpkg.com/@tehshrike/[email protected]'), | |
| ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ |
| defmodule MyProducer do | |
| use GenStage | |
| def start_link(list) do | |
| GenStage.start_link(__MODULE__, list) | |
| end | |
| def init(list) do | |
| {:producer, list} | |
| end |
| # 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 -> |
| /* eslint no-console: "off" */ | |
| var spawn = require('child_process').spawn; | |
| var fs = require("fs"); | |
| var chokidar = require('chokidar'); | |
| var sass = require('node-sass'); | |
| var chalk = require('chalk'); | |
| var connect = require('connect'); | |
| var serveStatic = require('serve-static'); | |
| var watcher = chokidar.watch( |
| // ==UserScript== | |
| // @name Monabanq tabindex safety | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://www.monabanq.com/* | |
| // @grant none | |
| // ==/UserScript== |
| module Main exposing (..) | |
| import Html.App exposing (program) | |
| import Html exposing (div, button, text, input) | |
| import Html.Events exposing (onClick, onInput) | |
| import Time exposing (Time, second) | |
| import String | |
| import Task | |
| // ==UserScript== | |
| // @name Youtube watch later total duration | |
| // @namespace http://vincent.billey.me | |
| // @version 0.1 | |
| // @description Displays the total duration of your watch later playlist on youtube | |
| // @author You | |
| // @match https://www.youtube.com/playlist?list=WL | |
| // @grant none | |
| // ==/UserScript== |
http://guides.rubyonrails.org/migrations.html
| import { findDOMNode } from 'react-dom' | |
| const OnClickOutside = { | |
| componentDidMount: function() { | |
| if(!this.handleClickOutside) { | |
| throw new Error('missing handleClickOutside(event) function in Component ' + this.displayName) | |
| } | |
| document.addEventListener("click", this.listenForClickOutside) | |
| }, |