ctrl + a= begining of linectrl + e= end of linectrl + u= clear up
dw= delete worddd= delete linedaw= delete the word under the cursor
@module-federation/nextjs-mf.yarn add @module-federation/nextjs-mfpackage.json: "resolutions": {| <?php | |
| /** | |
| * Get the Yoast primary category from its post meta value, and displays it, with HTML markup. | |
| * If there is no primary category set, it displays the first assigned category. | |
| * | |
| * @param boolean $useCatLink Whether to link the category, if it exists | |
| * @return void | |
| */ | |
| function yourtheme_display_yoast_primary_category( $useCatLink = true ) { |
| # first: | |
| lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
| sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
| # To recap, the best way (I've found) to completely uninstall node + npm is to do the following: | |
| # go to /usr/local/lib and delete any node and node_modules | |
| cd /usr/local/lib | |
| sudo rm -rf node* |
| function wp_api_encode_acf($data,$post,$context){ | |
| $data['meta'] = array_merge($data['meta'],get_fields($post['ID'])); | |
| return $data; | |
| } | |
| if( function_exists('get_fields') ){ | |
| add_filter('json_prepare_post', 'wp_api_encode_acf', 10, 3); | |
| } |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| // Pre-requisites: | |
| // 1. Device core plugin | |
| // 2. Splashscreen core plugin (3.1.0) | |
| // 3. config.xml: <preference name="AutoHideSplashScreen" value="false" /> | |
| // 4. config.xml: <preference name="DisallowOverscroll" value="true" /> | |
| function onDeviceReady() { | |
| if (parseFloat(window.device.version) >= 7.0) { | |
| document.body.style.marginTop = "20px"; | |
| // OR do whatever layout you need here, to expand a navigation bar etc |
| html, | |
| body { | |
| cursor: default; | |
| } | |
| code { | |
| cursor: text; | |
| } | |
| /* |
| <?php | |
| /** | |
| * WaveFileReader; a simple class to read/parse WAVE file | |
| * (c)2012 Rob Janssen / https://github.com/RobThree | |
| * | |
| * Based on https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ | |
| * | |
| * USAGE: | |
| * | |
| * $wav = WaveFileReader::ReadFile('/path/to/test.wav'); |