Skip to content

Instantly share code, notes, and snippets.

View mmoscosa's full-sized avatar
🚀
I may be slow to respond

Martin Moscosa mmoscosa

🚀
I may be slow to respond
View GitHub Profile
@tuxity
tuxity / navicat_premium_reset_trial.sh
Last active June 1, 2024 22:34
Reset Navicat Premium 15/16/17 remaining trial days
https://github.com/tuxity/navicat-premium-reset-trial
@belsrc
belsrc / gist:672b75d1f89a9a5c192c
Last active April 15, 2023 15:13
Simple Vue.js filters that I usually need
/**
* Changes value to past tense.
* Simple filter does not support irregular verbs such as eat-ate, fly-flew, etc.
* http://jsfiddle.net/bryan_k/0xczme2r/
*
* @param {String} value The value string.
*/
Vue.filter('past-tense', function(value) {
// Slightly follows http://www.oxforddictionaries.com/us/words/verb-tenses-adding-ed-and-ing
var vowels = ['a', 'e', 'i', 'o', 'u'];