Proposed syntax.
Internally, this prepares the predicate for an array.filter()
operation.
.where( propertyName ) : Start query. Returns query object.
local wezterm = require 'wezterm' | |
wezterm.on('format-window-title', function(tab, pane, tabs, panes, config) | |
local zoomed = ' 🗗 ' | |
if tab.active_pane.is_zoomed then | |
zoomed = ' 🗖 ' | |
end | |
local index = '' | |
if #tabs > 1 then |
// Create a pinch gesture recognizer instance. | |
self.pinchGestureRecognizer = [[[UIPinchGestureRecognizer alloc] initWithTarget:self action:@selector(pinchGesture:)] autorelease]; | |
// And add it to your text view. | |
[self.myTextView addGestureRecognizer:self.pinchGestureRecognizer]; | |
// ... | |
- (void)pinchGesture:(UIPinchGestureRecognizer *)gestureRecognizer | |
{ |
themes { | |
pencil-light { | |
fg "#005F87" | |
bg "#f1f1f1" | |
black "#f1f1f1" | |
red "#B6D6FD" | |
green "#10A778" | |
yellow "#A89C14" | |
blue "#008EC4" | |
magenta "#B6D6FD" |
; inherits: javascript | |
; Highlight component names differently | |
(jsx_opening_element ((identifier) @constructor | |
(#match? @constructor "^[A-Z]"))) | |
; Handle the dot operator effectively - <My.Component> | |
(jsx_opening_element ((nested_identifier (identifier) @tag (identifier) @constructor))) | |
(jsx_closing_element ((identifier) @constructor |
const express = require('express'); | |
const htm = require('htm'); | |
const vhtml = require('vhtml'); | |
// create an html`` tag function for vhtml: | |
const html = htm.bind(vhtml); | |
const App = (props) => html` | |
<div class="app"> | |
<h1>This is an app</h1> |
/* | |
Apply to a <button> | |
Just playing, during Lea Verou's CSS3 workshop at NDC Oslo. | |
Released under the MIT License. http://en.wikipedia.org/wiki/MIT_License | |
*/ | |
font-size:1em; | |
border-radius: 1em; | |
text-shadow: 1px 1px 0 hsla(0, 0%, 100%, 0.5); |
[user] | |
name = Aral Balkan | |
email = mail@ar.al | |
[core] | |
pager = cat | |
[diff] | |
tool = meld |
theme = "dracula" | |
[editor] | |
scroll-lines = 1 | |
idle-timeout = 0 | |
[editor.cursor-shape] | |
insert = "bar" | |
[keys.insert] |