Skip to content

Instantly share code, notes, and snippets.

$args = array(
'numberposts' => 203, // you can specify the number of posts that should be returned
'post_status' => 'any'
);
$custom_posts = get_posts( $args );
foreach ( $custom_posts as $p ){
wp_update_post(
array (
@ThibautDemare
ThibautDemare / gist:ce05359cced7b03cdfd71f45b2988a5f
Created June 11, 2020 09:24 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :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:
import os
filenames = os.listdir("./")
with open("./merged.gaml", 'w') as outfile:
outfile.write("model MergedModel")
for fname in filenames:
if ".gaml" in fname:
with open("./"+fname) as infile:
for line in infile:
if (not "model" in line) and (not "import" in line):
Verifying that +thibautdemare is my blockchain ID. https://onename.com/thibautdemare