Skip to content

Instantly share code, notes, and snippets.

View henryboldi's full-sized avatar
🐶

Henry Boldizsar henryboldi

🐶
View GitHub Profile

Keybase proof

I hereby claim:

  • I am henryboldi on github.
  • I am henryboldi (https://keybase.io/henryboldi) on keybase.
  • I have a public key ASCPP2yayTPqjiN_EKmbbZtZcKcyVIeT5-WGTNrIYfDDPQo

To claim this, I am signing this object:

[class*="fontawesome-"]:before {
font-family: 'FontAwesome', sans-serif;
}
body {
background: -moz-linear-gradient(left, #272838, #2b2d41, #393549, #433545);
background: -webkit-linear-gradient(left, #272838, #2b2d41, #393549, #433545);
background: linear-gradient(to right, #272838, #2b2d41, #393549, #433545);
font-family: 'Raleway', sans-serif;
}
$('#feed').on("click", "img", function(e) {
var offset_t = $(this).offset().top - $(window).scrollTop();
var offset_l = $(this).offset().left - $(window).scrollLeft();
var left = Math.round((e.clientX - offset_l));
var top = Math.round((e.clientY - offset_t));
//...
recent: function(req, res, next) {
Hacks.find({
isEncoded: true
}).populate('comments', {
limit: 2,
sort: 'createdAt DESC'
}).limit(15).skip(req.param('skip')).sort('createdAt DESC').exec(function(err, hacks) {
if (err) return next(err);
if (!hacks) return next();
//start
'GET /api/notifications': 'NotificationController.show',
'GET /hacks/isEncoded/:id': 'HacksController.isEncoded',
'POST /api/notifications': 'APNSUserController.subscribe',
'PUT /api/notifications/:id': 'NotificationController.see',
'DELETE /api/notifications/:id': 'NotificationController.destroy',
'GET /api/notifications': 'NotificationController.show',
'GET /hacks/isEncoded/:id': 'HacksController.isEncoded',
'POST /api/notifications': 'APNSUserController.subscribe',
'PUT /api/notifications/:id': 'NotificationController.see',
'DELETE /api/notifications/:id': 'NotificationController.destroy',
[2014-07-26 08:26:33] 162.243.173.113 [web]: Error rendering view at :: /fortheon/source/views/hacks/show
[2014-07-26 08:26:33] 162.243.173.113 [web]: with layout located at :: /fortheon/source/views/layout
[2014-07-26 08:26:33] 162.243.173.113 [web]: TypeError: /fortheon/source/views/hacks/show.ejs:16
[2014-07-26 08:26:33] 162.243.173.113 [web]: 14|
[2014-07-26 08:26:33] 162.243.173.113 [web]: 15|
[2014-07-26 08:26:33] 162.243.173.113 [web]: >> 16|
[2014-07-26 08:26:33] 162.243.173.113 [web]: 17|
[2014-07-26 08:26:33] 162.243.173.113 [web]: 18|
[2014-07-26 08:26:33] 162.243.173.113 [web]: 19|
[2014-07-26 08:26:33] 162.243.173.113 [web]:
[2014-07-22 13:40:48] 162.243.173.113 [web]: this one
[2014-07-22 13:40:48] 162.243.173.113 [web]: this one
[2014-07-22 13:43:14] 162.243.173.113 [web]: config of Middleware is called 2
[2014-07-22 13:43:16] 162.243.173.113 [web]: ** Grunt :: Warning **
[2014-07-22 13:43:16] 162.243.173.113 [web]: #033[4mRunning "clean:dev" (clean) task#033[24m
[2014-07-22 13:43:16] 162.243.173.113 [web]: Cleaning ".tmp/public"...#033[31mERROR#033[39m
[2014-07-22 13:43:16] 162.243.173.113 [web]: #033[33mWarning: Clean operation failed.#007 Use --force to continue.#033[39m
[2014-07-22 13:43:16] 162.243.173.113 [web]:
{
"url": "s3://my-bucket/output-file-name.mp4",
// ^^ Change me!
"size": "640x480",
"audio_bitrate": 160,
"max_video_bitrate": 1500,
"h264_profile": "baseline",
"h264_reference_frames": 1,
"max_frame_rate": 30
}
{
"url": "s3://" + bucketName + "/" + key + "-low" ".mp4",
"label": "mp4 low"
}