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
| {{ fields = fields | key_by('handle') }} | |
| <div> | |
| {{ fields.name.display }} | |
| {{ fields.name.field }} | |
| </div> | |
| <div> | |
| {{ fields.email.display }} | |
| {{ fields.email.field }} |
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
| #!/bin/bash | |
| if [ -z "$1" ]; then echo 'Please specify test file!'; exit 1; fi | |
| failures=0 | |
| attempts=0 | |
| while true; do | |
| cmd="./vendor/bin/phpunit --colors $1" | |
| $cmd |
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
| return { | |
| 'echasnovski/mini.statusline', | |
| dependencies = { | |
| 'echasnovski/mini.icons', | |
| }, | |
| config = function() | |
| local noirbuddy_statusline = require('noirbuddy.plugins.mini-statusline') | |
| require('mini.statusline').setup { | |
| content = { |
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
| local toggle_surrounding_quote_style = function () | |
| local current_line = vim.fn.line('.') | |
| local next_single_quote = vim.fn.searchpos("'", 'cn') | |
| local next_double_quote = vim.fn.searchpos('"', 'cn') | |
| if next_single_quote[1] ~= current_line then | |
| next_single_quote = false | |
| end | |
| if next_double_quote[1] ~= current_line then |
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
| vim.cmd [[set runtimepath=$VIMRUNTIME]] | |
| vim.cmd [[set packpath=/tmp/nvim/site]] | |
| local package_root = '/tmp/nvim/site/pack' | |
| local install_path = package_root .. '/packer/start/packer.nvim' | |
| local function load_plugins() | |
| require('packer').startup { | |
| { | |
| 'wbthomason/packer.nvim', | |
| { | |
| 'nvim-treesitter/nvim-treesitter', |
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! ShtuffStrategy(cmd) | |
| call system("shtuff into test " . shellescape("clear;" . a:cmd)) | |
| endfunction | |
| let g:test#custom_strategies = {'shtuff': function('ShtuffStrategy')} | |
| let g:test#strategy = "shtuff" |
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
| <?php | |
| namespace Statamic\Addons\ArrayBatch; | |
| use Statamic\Extend\Modifier; | |
| class SelectModifier extends Modifier | |
| { | |
| /** | |
| * Modify a value |
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
| <template> | |
| <div class="tooltip-component" @mouseenter="show" @mouseleave="hide"> | |
| <div class="tooltip" :class="{ visible: isVisible }"> | |
| <span class="tooltip-text">{{ text }}</span> | |
| </div> | |
| <slot></slot> | |
| </div> | |
| </template> | |
| <script> |
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
| Homebrew build logs for php@7.1 on macOS 10.13.3 | |
| Build date: 2018-03-31 21:54:39 |
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 sendString = (function(rfb, force, sendDelay) { | |
| sendDelay = sendDelay || 25; | |
| var _q = []; | |
| var _qStart = function() { | |
| var chr = _q.shift(); | |
| if (chr) { | |
| rfb.sendKey(chr); | |
| setTimeout(_qStart, sendDelay); | |
| } | |
| }; |
NewerOlder