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
| --- | |
| name: nova-tasks | |
| description: Register and manage Nova (text editor) tasks for a project. Use when the user wants to add, create, register, update, or remove a Nova task, build/run/clean script, or run configuration; or mentions "Nova task", ".nova", "add a task to Nova", or "make this runnable from Nova". | |
| --- | |
| # Nova Tasks | |
| Register tasks in a Nova project by writing **one JSON file per task** in | |
| `.nova/Tasks/<Task Name>.json` at the project root (the same files | |
| Project Settings → Tasks writes). Each task has up to three actions: |
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
| ---------- My Neovim Configuration ---------- | |
| -- This file contains my neovim configuration | |
| -- including plugins and settings. | |
| --------------------------------------------- | |
| local Plug = vim.fn['plug#'] | |
| ----------------- Plugin Setup -------------- | |
| -- Install plugins using vim-plug | |
| --------------------------------------------- |
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 | |
| function formatJSONToPHP($value) { | |
| $output = []; | |
| if (is_array($value) === false) { | |
| if (is_numeric($value)) { | |
| $output[] = sprintf("%s,", $value); | |
| } else { | |
| $output[] = sprintf("'%s',", $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
| version: '2' | |
| services: | |
| webserver: | |
| container_name: wordpress_webserver | |
| build: . | |
| ports: | |
| - "3000:80" | |
| volumes: | |
| - ./wordpress:/var/www/html/ |
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 | |
| /** | |
| CREATE TABLE `notifications` ( | |
| `id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
| `to` varchar(255) DEFAULT NULL, | |
| `subject` varchar(255) DEFAULT NULL, | |
| `message` text, | |
| `headers` text, | |
| `date` datetime DEFAULT NULL, |
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
| $media-products-list: "only screen and (max-width : 499px)"; | |
| $media-products-grid: "only screen and (min-width : 500px)"; | |
| $media-products-grid-compact: "only screen and (min-width : 500px max-width 767px)"; | |
| $media-products-grid-compact-expanded: "only screen and (min-width : 768px)"; | |
| @mixin use-query($query) { | |
| @media #{$query} { | |
| @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
| Whois Server Version 2.0 | |
| Domain names in the .com and .net domains can now be registered | |
| with many different competing registrars. Go to http://www.internic.net | |
| for detailed information. | |
| APPLE.COM.ZON.COM | |
| APPLE.COM.WWW.ZON.COM | |
| APPLE.COM.WWW.BEYONDWHOIS.COM | |
| APPLE.COM.WAS.PWNED.BY.M1CROSOFT.COM |
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 | |
| function calculateColumnWidth($maxWidth, $columns, $gutter, $margin) { | |
| return floor(($maxWidth-(($columns - 1) * $gutter + 2 * $margin)) / $columns); | |
| } | |
| echo calculateColumnWidth(960, 5, 20, 0); |
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 | |
| function edg_get_pagenum_link_query_vars($query_vars) { | |
| $query_vars['test'] = 'asdf'; | |
| return $query_vars; | |
| } | |
| add_filter('get_pagenum_link_query_vars', 'edg_get_pagenum_link_query_vars'); |
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
| $rwd-desktop: "only screen and (min-width: 1024px)"; | |
| $rwd-tablet-device: "only screen and (max-device-width: 980px)"; | |
| $rwd-mobile-device: "only screen and (max-device-width: 600px)"; | |
| $rwd-tablet: "only screen and (max-width: 980px)"; | |
| $rwd-tablet-only: "only screen and (min-width: 740px) and (max-width: 980px)"; | |
| $rwd-small-tablet: "only screen and (max-width: 740px)"; | |
| $rwd-small-tablet-only: "only screen and (min-width: 600px) and (max-width: 740px)"; |
NewerOlder