I hereby claim:
- I am samuelcotterall on github.
- I am samuelcotterall (https://keybase.io/samuelcotterall) on keybase.
- I have a public key ASDCUvlRBQ0MZrwwUUIhN0dQqtl80iB8vqWjuwxmbZSQKQo
To claim this, I am signing this object:
| function newsPost_block_func() { | |
| global $post; | |
| $args = array(); | |
| $query = new WP_Query($args); | |
| var_dump($query->have_posts()); | |
| } | |
| add_shortcode( 'newsPost_block', 'newsPost_block_func'); |
| function newsPost_block_func() { | |
| global $post; | |
| $args = array( | |
| 'post_type' => array( 'post' ), | |
| ); | |
| $query = new WP_Query($args); | |
| var_dump($query->have_posts()); | |
| } | |
| add_shortcode( 'newsPost_block', 'newsPost_block_func'); |
| add_filter('show_admin_bar', '__return_false'); |
| // declarations | |
| var positions = []; | |
| // Returns a random integer between min (included) and max (excluded) | |
| // Using Math.round() will give you a non-uniform distribution! | |
| function getRandomInt(min, max) { | |
| return Math.floor(Math.random() * (max - min)) + min; | |
| } | |
| // generate random positions |
| { | |
| "editor.fontSize": 13, | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontLigatures": false, | |
| "editor.renderWhitespace": "all", | |
| "editor.tabSize": 2, | |
| "workbench.iconTheme": "vs-seti", | |
| "editor.cursorStyle": "line-thin", | |
| "trailing-spaces.trimOnSave": true, | |
| "sync.gist": "", |
I hereby claim:
To claim this, I am signing this object: