View index.js
var WHITE = 255;
var readimage = require("readimage");
var fs = require("fs");
var gm = require("gm");
var load = function (file, callback) {
var buffer = fs.readFileSync(file);
var stream = fs.createReadStream(file);
package foo.test;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.ResourceHandler;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.util.resource.Resource;
/** Steps to reproduce the issue:
* 1. Run the application
View pandoc-document
# usage: pandoc-document [pandoc options]
wget --quiet -O document-A4.template
pandoc --template document-A4.template $@
View pandoc-document-template-A4.html
<!DOCTYPE html>
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="pandoc">
<style type="text/css">
body {
View gist:6732836

Frontend Developer Interview


  1. Are you on Github? If so, what are some examples of repos you follow (and who are you in there :).

  2. Can you describe your workflow when you create a web page?

  3. Explain what “Semantic HTML” means. Is this important? why?

View Widget.html
<!DOCTYPE html>
<title>Widget test</title>
<div id="js-toolbar-email">
<a class="js-action-edit" href="javascript:void(0)">Edit</a>
<a class="js-action-delete" href="javascript:void(0)">Delete</a>
View Rendering.html
<!DOCTYPE html>
<title>Rendering test</title>
<div id="js-toolbar">
<a class="js-action-edit" href="javascript:void(0)">Edit</a>
<a class="js-action-delete" href="javascript:void(0)">Delete</a>
View JsonPTest.js
var addScript = function (url) {
var script = document.createElement("SCRIPT");
var parentNode = document.getElementsByTagName("HEAD")[0];
script.async = true;
script.type = "text/javascript";
script.src = url;
script.addEventListener("load", function () {
View JavaScriptScopeTest.js
var logger = function (level) {
return function (message) {
console.log(level + " " + message);
var info = logger("INFO");
var debug = logger("DEBUG");
info("Information event");
debug("Debugging event");
View EventModelTest.html
<!DOCTYPE html>
<title>DOM Event Bubbling Test</title>
<div id="toolbar">
<a id="edit" href="#">Edit</a>
<a id="delete" href="#">Delete</a>