Skip to content

Instantly share code, notes, and snippets.

View zurdors's full-sized avatar

Gaspar Reyes Póndigo zurdors

View GitHub Profile
@brandonpittman
brandonpittman / EvernoteTitleAppend.applescript
Last active August 8, 2016 20:21
This AppleScript will append text to the title of the selected notes in Evernote.
tell application "System Events"
set the_dialog to display dialog "What would you like to append to the selected notes?" default answer ""
set append_text to text returned of the_dialog
end tell
tell application "Evernote"
@kyledecot
kyledecot / gist:2782141
Created May 24, 2012 15:11
Alias for opening current directory in Coda 2
alias coda='open -a /Applications/Coda\ 2.app .'
@zholmquist
zholmquist / Hazel + Evernote Logging
Last active May 19, 2017 00:39
Hazel Embedded AppleScript that logs filename to Evernote. I use this in a script that cleans up my Desktop and Downloads and files everything away.
tell application "Evernote"
tell application "Finder" to set file_name to (name of theFile)
set time_string to do shell script "date '+%H:%M:%S'"
set date_string to do shell script "date '+%Y-%m-%d'"
set message to "<p><b>" & time_string & "</b> | Moved <em>" & file_name & "</em></p>"
set matches to find notes date_string & " notebook:Log"
if (count of matches) is 1 then
set the_note to item 1 of matches
@jmarreros
jmarreros / comments.php
Last active February 21, 2018 05:53
Modificar el formulario de comentarios de WordPress
<?php
//Filtro para modificar la estructura
//de los campos del formulario de comentarios
add_filter( 'comment_form_defaults', 'dcms_modify_fields_form' );
function dcms_modify_fields_form( $args ){
$commenter = wp_get_current_commenter();
@ivikramsahu
ivikramsahu / gist:e9a2137612872316d53c961fe0ed7062
Created August 17, 2018 10:49 — 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:
@bcdavasconcelos
bcdavasconcelos / San Ho Light.css
Last active June 24, 2020 00:07
CSS style sheet for rendering Markdown in different apps (such as DEVONthink 3, nvUltra, MMD Composer) #CSS #Markdown
/* "Cormorant Garamond SemiBold" */
body {
font-family: "Alegreya";
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100% margin: 0;
padding: 50px 2rem 2rem;
width: auto;
/* max-width: 800px; */
}
#block an IP range
iptables -I INPUT -m iprange --src-range <from>-<to> -j DROP
@brandonpittman
brandonpittman / EvernoteBatchRename.applescript
Last active March 30, 2021 07:49
Batch Rename Evernote Notes
tell application "Evernote"
set the_notes to selection
set the_dialog to display dialog "What would you like to title these notes?" default answer ""
set the_title to text returned of the_dialog
set the_count to 1
@ired
ired / Customized asana.php
Created September 19, 2014 21:01
Customized asana.php from Asana QuickTask Alfred Wokflow by Mannie Schumpert. Adding a description to the task is now possible. Ex: asana task::description.
<?php
/**
* QuickTask: The Alfred Workflow for Asana
*
* Author: Mannie Schumpert http://mannieschumpert.com
* Version: 2.1
*/
require('workflows.php');
class Asana {
@sillygwailo
sillygwailo / Open in Chrome from Safari.scpt
Created September 23, 2011 07:16
Open in Chrome from Safari and vice versa
-- from http://www.tuaw.com/2011/03/14/use-applescript-to-open-current-safari-url-in-google-chrome/
-- install FastScripts http://www.red-sweater.com/fastscripts/ and place this AppleScript in the Scripts applications folder for Google Chrome.
-- For me that was ~/Library/Scripts/Applications/Safari
-- You can then assign it a keyboard shortcut. I went with Cmd-Shift-C
property theURL : ""
tell application "Safari"
set theURL to URL of current tab of window 1
end tell
tell application "Google Chrome"