Skip to content

Instantly share code, notes, and snippets.

Yves Amsellem yamsellem

Block or report user

Report or block yamsellem

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yamsellem / webpack.config.js
Last active Mar 8, 2018
Environment variables
View webpack.config.js
var webpack = require('webpack');
var path = require('path');
var LiveReloadPlugin = require('webpack-livereload-plugin');
var BUILD_DIR = path.resolve(__dirname, 'assets/built');
var APP_DIR = path.resolve(__dirname, 'assets/js');
let variables = {};
if (process.env.NODE_ENV === 'production') {
variables = { // could be a file
View Config
// package.json
"name": "",
"version": "0.0.1",
"repository": {
"type": "git",
"url": ""
"scripts": {
View app.js
"use strict";
$(function() {
$('a').on('click', function(e) {
{trigger: true}
yamsellem / JongoJacksonMapperProvider
Created Jul 21, 2012
Jongo Jackson provider to make Jersey serves ObjectId as String
View JongoJacksonMapperProvider
import static org.codehaus.jackson.annotate.JsonAutoDetect.Visibility.ANY;
import static;
import static;
import static;
import static;
yamsellem / Key Bindings - User
Created Nov 25, 2014
Sublime Text 2 - Preferences
View Key Bindings - User
"keys": ["command+b"], "command": "reveal_in_side_bar"
yamsellem / index.html
Created Jun 28, 2014
Backbone meetup S01E2 — Stickit
View index.html
<!doctype html>
<html class="no-js" lang="en">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="shortcut icon" href="css/img/favicon.png">
<title>This Meetup, Stickit ;-)</title>
<link rel="stylesheet" href="vendor/foundation/css/foundation.css"/>
<link rel="stylesheet" href="css/meetup.css"/>
You can’t perform that action at this time.