alias simon-says='sudo'
or better yet
function simon {
[[ "$1" != "says" ]] && return 1
shift
| /* | |
| * This feels like a strong set of default breakpoints. I've also got some | |
| * loose thoughts on each. | |
| * | |
| * 600, 800, 1050, 1300, 1500 | |
| * ▲ ▲ ▲ ▲ ▲ ▲ | |
| * | | | | | ╰ XXL 'crazy huge'; notable: 1920 | |
| * | | | | | Large monitors at full-screen. We tend NOT | |
| * | | | | | to consider these sizes for browser-based | |
| * | | | | | tools. We know everything will fit because |
alias simon-says='sudo'
or better yet
function simon {
[[ "$1" != "says" ]] && return 1
shift
| <script setup> | |
| import { ref } from 'vue'; | |
| const $dialog = ref(null); | |
| const showing = ref(false); | |
| function close() { showing.value = false; } | |
| function show() { showing.value = true; } |
| <!-- A comprehensive demo of each piece of the convention and how they fit together. --> | |
| <div class="boxes"> | |
| <section class="box"> | |
| <div class="box-inner"> | |
| <div class="box-X"></div> | |
| <div class="box-main"> | |
| <header class="box-header"> | |
| <h1 class="box-heading">Foo</h1> | |
| <h2 class="box-subheading">Bar</h2> |
| /** | |
| * Defines a mixin function. | |
| * @param {string} [name='Mixin'] Name to show on Webkit. It will be | |
| * prepended with a `+`, 'cause this | |
| * is my gist. | |
| * @param {function|object} props The mixin itself. If a function | |
| * (class) is passed, its prototype | |
| * will be set to the Base's. | |
| * Otherwise, it will be set as the | |
| * prototype of a new class function. |
| <!DOCTYPE html> | |
| <html class="js-unavailable" lang="{{ LANGUAGE_CODE }}"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>{{ TITLE }}</title> | |
| <meta name="application-name" content="{{ SHORT_TITLE }}"> | |
| <meta name="apple-mobile-web-app-title" content="{{ SHORT_TITLE }}"> | |
| <link rel="shortcut icon" type="image/png" href="{{ PATH_TO_ICO_OR_32X32_PNG }}"> |
| <?php | |
| /** | |
| * @file A function to output a PHP variable in a `<pre>` with a class and trace info. | |
| * @author Calvin Juárez <[email protected]> | |
| * @copyright 2017 Calvin Juárez | |
| * @license MIT {@link https://spdx.org/licenses/MIT.html MIT License on SPDX.org} | |
| */ | |
| /** | |
| * An inline <pre> log function that attempts to provide caller file and function information |
| #!/bin/bash | |
| echo "Restarting MAMP's MySQL server." | |
| # stop mysql | |
| /Applications/MAMP/bin/stopMysql.sh | |
| # MAMP needs this tmpdir to work, but doesn't create it itself | |
| mkdir -p /Applications/MAMP/tmp/mysql/tmpdir/ |
| var re = /\{\{((?!\}\})(.|\n))*\}\}/g | |
| /** | |
| * Note: This was not tested against any thourough example or any specific spec. Just kind of what I | |
| * felt in my gut. That said, if you feel like commenting with suggestions for improvement, especially | |
| * against any particular spec or whatever, please be my guest. | |
| * | |
| * To see my initial test, visit https://regex101.com/r/GQZ2nW/1/. | |
| * | |
| * Thanks! |