I have Markdown syntax like bold
Can you diff me?
I have a new line of text with an image...
<?php | |
/** | |
* Get first paragraph from a WordPress post. Use inside the Loop. | |
* | |
* @return string | |
*/ | |
function get_first_paragraph(){ | |
global $post; | |
$str = wpautop( get_the_content() ); |
#!/usr/bin/env python | |
import re, sys | |
input = '%clipboard' | |
r = re.compile("!\[\]\(images\/([^.]+).png\)") | |
m = r.match(input) | |
if m: | |
outp = "<$img:%s>" % m.groups()[0] | |
else: |
set myNotebook to "@Inbox" | |
set myTags to {"to_process"} | |
set myTitle to "Meeting Notes with " | |
set myContent to "" | |
tell application "Evernote" | |
set myNote to create note title myTitle with text myContent notebook myNotebook tags myTags | |
delay (1) -- give the note a sec to save | |
open note window with myNote | |
end tell |
#[^ ]+chat |
tell application "Evernote" | |
set myNote to selection | |
try | |
set myUrl to (source URL of item 1 of myNote) | |
tell application "System Events" | |
open location myUrl | |
end tell | |
on error | |
-- real programmers would put something here | |
end try |
-- copy selected text | |
tell application "System Events" | |
keystroke "c" using command down | |
end tell | |
-- switch to nvAlt | |
tell application "nvALT" | |
activate | |
tell application "System Events" | |
keystroke "l" using command down -- Create or Search |
#!/usr/bin/env python | |
# Copyright 2013 Evernote Corporation | |
# Move gists to evernotegists | |
import base64 | |
import json | |
import os.path | |
import re |
// I'm a java file |
# I'm a ruby file |