Skip to content

Instantly share code, notes, and snippets.

View retrofox's full-sized avatar
🦊
🪞

Damián Suárez retrofox

🦊
🪞
View GitHub Profile
script
| $(function () {
| $.jGFeed('https://www.jobscore.com/jobs/learnboost/atom',
| function(feeds){
| // Check for errors
| $('#jobs-rss').addClass('loaded');
| if(!feeds){
| // there was an error
| $('#jobs-rss').html('There was an error loading the jobs. Please <a href="https://www.jobscore.com/jobs/learnboost/">click here</a> to see our job listings.');
| return false;
app.get('/email-test', function (req, res, next) {
res.render('signup/email/parent', {
layout: 'layouts/email',
locals: {
user: {
name: {
first: 'Damian'
, last: 'Suarez'
},
link(href: '/css/print.css', rel: 'stylesheet', media: 'all')
link(href: '/css/print.only.css', rel: 'stylesheet', media: 'print')
link(href: '/css/reporting.print.css', rel: 'stylesheet', media: 'all')
link(href: '/css/lessonplan.print.css', rel: 'stylesheet', media: 'all')
link(href: '/custom.css', rel: 'stylesheet', media: 'all')
// debug: bundle -> adding README.txt
var readme = 'Downloaded by '
+ user.fullname
+ ' (' + app.set('url') + '/settings/download/' + id
+ ') on ' + informationDate.toString('MMMM dd, yyyy at hh:mm tt')
teacherBundle.file('Readme', readme);
var limitsByDate = [
// event starts into current period
{
start: {
$gt: start
, $lt: end
}
}
// event ends into current period
/**
* computing scope_date for recurring events
*/
Calevent.pre('save', function (next) {
if (this.frequency) {
// debug: computing scope_date for recurring \'%s\' event, this.title
var rec = this.recurring
, freq = this.frequency
function parse_git_branch_and_add_brackets {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \[\1\]/'
}
PS1="\h:\w\[\033[0;36m\]\$(parse_git_branch_and_add_brackets) \[\033[0m\]\$ "
.dialog-front
div.dialog-head
h1 Title
div.dialog-content
.dialog-back
div.dialog-head
h1 Title
div.dialog-content
silly testEngine keywords: [ 'util', 'mime' ],
silly testEngine main: 'mime.js',
silly testEngine name: 'mime',
silly testEngine repository:
silly testEngine { url: 'git://github.com/bentomas/node-mime.git',
silly testEngine type: 'git' },
silly testEngine version: '1.2.4',
silly testEngine _id: 'mime@1.2.4',
silly testEngine engines: { node: '*' },
silly testEngine _engineSupported: true,
GET /user/avatar?email=m 200 3ms
GET /user/avatar?email=mm 200 2ms
GET /user/avatar?email=mm%C5%82 200 2ms
GET /user/avatar?email=mm%C5%82%C2%B5 200 2ms
GET /user/avatar?email=mm%C5%82%C2%B5m 200 1ms
GET /user/avatar?email=mm%40 200 2ms
GET /user/avatar?email=mm%40m 200 2ms
GET /user/avatar?email=mm%40mm 200 2ms
GET /user/avatar?email=mm%40mm. 200 1ms
GET /user/avatar?email=mm%40mm.c 200 1ms