Helpful links:
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 | |
| /** | |
| * Basic configuration for multiple DFP JS ad tags in Ad Code Manager | |
| * | |
| * Our ad units are named 'test_ad_300x250' and 'test_ad_728x90' | |
| * Our DFP ID is 12345678 | |
| * Our ad slot IDs will be automatically created | |
| * | |
| */ |
- Main Web: http://www.elasticsearch.org/
- Development URL: https://github.com/elasticsearch/elasticsearch
- License: Apache 2
- Environment: Java
Elasticsearch was created in 2010 by Shay Banon after forgoing work on another search solution, Compass, also built on Lucene and created in 2004.
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 | |
| // Powerful Code Snippets (will there be 10?) | |
| add_action( 'init', 'puwwp_register_post_type' ); | |
| /** | |
| * Registering a custom post type provides many out of | |
| * the box defaults new types of content. | |
| */ | |
| function puwwp_register_post_type() { | |
| $labels = array(); // array of labels |
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 | |
| use Valet\Drivers\Specific\WordPressValetDriver; | |
| /** | |
| * Class LocalValetDriver | |
| * | |
| * This class demonstrates how we might go about proxying any missing local images to a remote host. i.e; the production | |
| * site. This has been created with WordPress in mind but could be adjusted to work with any other system. | |
| */ |
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 | |
| add_action( 'init', function() { | |
| remove_filter( 'allowed_block_types', 'ShortNotes\PostType\Note\filter_allowed_block_types' ); | |
| } ); |
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
| > cat kern.log | |
| Jan 2 13:03:25 jeremy-wsu NetworkManager[21883]: <info> [1483391005.6506] device (wlp58s0): supplicant interface state: 4-way handshake -> completed | |
| Jan 2 13:05:25 jeremy-wsu kernel: [330686.828062] wlp58s0: disconnect from AP 58:6d:8f:99:8b:f4 for new auth to 58:6d:8f:99:8b:f5 | |
| > lspci -k -nn | grep -A 3 -i net | |
| 3a:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a) | |
| Subsystem: Intel Corporation Wireless 8260 [8086:0050] | |
| Kernel driver in use: iwlwifi |
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": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Listen for Xdebug", | |
| "type": "php", | |
| "request": "launch", | |
| "port": 9003 | |
| } | |
| ] |
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
| 'rewrite' => true | |
| 'public' => true 'publicly_queryable' => true /cpt-slug/cpt-post-slug Loads fine | |
| 'public' => false 'publicly_queryable' => true /cpt-slug/cpt-post-slug Loads fine | |
| 'public' => true 'publicly_queryable' => false /cpt-slug/cpt-post-slug 404 Error | |
| 'public' => false 'publicly_queryable' => true /cpt-slug-cpt-post-slug 404 Error | |
| 'rewrite' => false | |
| 'public' => true 'publicly_queryable' => true /?cpt-slug=cpt-post-slug Loads fine | |
| 'public' => true 'publicly_queryable' => true /?p=ID&post_type=cpt-slug Loads fine | |
| 'public' => false 'publicly_queryable' => true /?cpt-slug=cpt-post-slug Loads fine |
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
| // See https://jeremyfelt.com/2022/01/12/a-wordle-character-pair-strategy/ | |
| const words = []; // Populate with word list. | |
| const wordScores = []; | |
| const pairPositions = []; | |
| const positionText =[ "first", "second", "third", "last" ]; | |
| words.forEach( word => { | |
| let position = 0; |
NewerOlder