タグ syntax
人気順 10 users 50 users 100 users 500 users 1000 usersType safe CSS design systems with @property · September 1, 2023
CSS types are a worthy investment into type safety in your front-end work. We're still awaiting cross browser interop, but we'll get there 🙂 In case you've never seen one, here's a typed CSS variable with @property: @property --focal-size { syntax: '<length-percentage>'; initial-value: 100%; inh... 続きを読む
More control over :nth-child() selections with the of S syntax - Chrome Developers
# The :nth-child() and :nth-last-child() pseudo-class selectorsWith the :nth-child() pseudo-class selector it is possible to select Elements in the DOM by their index. Using the An+B microsyntax you get fine control over which elements you want to select. :nth-child(2): Select the 2nd child.:nth-... 続きを読む
GitHub - ivanhofer/typesafe-i18n
? typesafe-i18n An opinionated, fully type-safe, lightweight localization library for TypeScript projects with no external dependencies. Advantages ? lightweight ? easy to use syntax ? fast and efficient ? supports plural rules ? allows formatting of values e.g. locale-dependent date or num... 続きを読む
Big Sky :: Vim で Go 言語を書くために行った引越し作業 2020年度版
はじめに この文章は、普段から Vim を使い、仕事でも趣味でも Go 言語を書いている僕が、最近どの様な環境で書いているかを説明した文章です。ベストプラクティスではありません。 vim-go と僕 元々、Go 言語はリポジトリの misc/vim に Vim で Go 言語を書くための syntax やコマンドを持っていました。今でもそれらは... 続きを読む
Syntax::Keyword::TryとPerlのキーワードプラグイン (その1) - Masteries
id:papix です. この記事は, Perl Advent Calendar 2019の2日目の記事です. 昨日は, id:karupanerura さんの「2019年の最先端のPerl開発ボイラープレート」でした. qiita.com 今日は, 昨日のエントリでも触れられていたSyntax::Keyword::Tryについて, さっくりとアレコレ綴りたいと思います. Perlと例外処理 Perlで例外処... 続きを読む
ECMAScript(JavaScript)の仕様をちょっと読んでみよう - Qiita
イントロ MDN はもはや業界標準の JavaScript リファレンスサイトであるが、JavaScript の syntax (構文) や低レベルな動作については情報が載っていないことがある。このような場合は仕様に立ち返ってみる必要があるが、ECMAScript の仕様は非常に分かりにくい。この記事では、ECMAScript の仕様がどういうルールで書か... 続きを読む
GitHub - amatsuda/string_template: A template engine for Rails, focusing on speed, using Ruby's String interpolation syntax
README.md StringTemplate The fastest template engine for Rails. Concept Ruby's String literal has such a powerful interpolation mechanism. It's almost a template engine, it's the fastest way to compos... 続きを読む
GitHub - denysdovhan/wtfjs: A list of funny and tricky JavaScript examples
README.md What the f*ck JavaScript? A list of funny and tricky examples of JavaScript. JavaScript is a great language. It has a simple syntax, large ecosystem and, what is the most important, great co... 続きを読む
Vim/NeoVimに任意のコード実行の脆弱性 | マイナビニュース
Vim is a highly configurable text editor VimおよびNeoVimに任意のコードの実行につながるセキュリティ脆弱性を修正するパッチが追加された。それぞれ「 patch 8.0.0056|vim / vim 」および「 vim-patch:8.0.0056|neovim / neovim 」で内容を確認できる。修正対象の脆弱性はfiletype、syntax、... 続きを読む
ES6: Features By Testing // Speaker Deck
ES6 (aka ES2015) offers many new and exciting features, from expressive syntax, to new powerful built-in APIs, to entirely new-to-JS programming paradigms. We'll start by quickly reviewing some of the... 続きを読む
音楽 - WWDC14で流れていた曲一覧 - Qiita
WWDC14では(毎年ですが)セッションの間や、Bash中に様々な曲が流れていました。 幾つかではありますが、メモしてきたので共有します。 勉強会などで流す曲にはこれで困りませんね! Syntaxは Sleeping With A Friend - NEON TREES https://www.youtube.com/watch?v=BB7R0ZY9w94 https://itunes.apple... 続きを読む
Text::XslateにテンプレートのSyntaxをチェックするメソッドが追加されて便利 - その手の平は尻もつかめるさ
2014-01-07 Text::XslateにテンプレートのSyntaxをチェックするメソッドが追加されて便利 Perl Text::Xslateのバージョン3.1.0から,テンプレートのSyntaxが正しいかそうでないかをチェックするメソッドが追加されていて便利です. 以下のように,テストしたい対象のテンプレートファイルをvalidate()メソッドの引数として食べさせてあげると,そのテンプレ... 続きを読む
RSpec's new message expectation syntax - Tea is awesome.
We’ve developed a new syntax for message expectations in RSpec, which brings message expectations in line with the new expect syntax for state based expectations. This change required us to make a num... 続きを読む
PuppetのSyntaxをvim(syntastic)とgit hooks(pre-commit)の2重でチェックするようにした - Glide Note - グライドノート
PuppetのSyntaxをvim(syntastic)とgit Hooks(pre-commit)の2重でチェックするようにした 2013年03月16日 puppetのmanifestを書いていて、我ながらtypo、構文ミスとかヘボいミスが多すぎるので、 vimとgit hooks(pre-commit)とで2重でsyntax checkをするようにした。 具体的なsyntax checkの方法... 続きを読む
keepalived.conf編集用にkeepalived-syntax.vimを作った - Glide Note - グライドノート
nginx.vimのソースを眺めてて、 syntax系Vim pluginが作ってみたくなったのと、keepalived のconfを書くときにsyntax highlightが効かなくて困っていたのを思い出したので書いてみた。 glidenote/keepalived-syntax.vim keepalived自体にconfのsyntax checkをしてくれる機能が無くて、confを修正すると... 続きを読む