Skip to content

Instantly share code, notes, and snippets.

var obj = $("#mon_object_id");
obj.click(function() {
console.log("click !");
});
var sameSelector = $("#mon_object_id");
sameSelector.trigger("click");
@bchhun
bchhun / 0_reuse_code.js
Created November 7, 2013 14:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@bchhun
bchhun / CallAVa.js
Last active October 5, 2018 15:05 — forked from valeadami/CallAVa.js
DialogFlow webhook talking to remote API
var express = require("express");
var bodyParser = require("body-parser");
const querystring = require('querystring');
var path = require("path");
const https = require('http');
var session = require('express-session');
var FileStore = require('session-file-store')(session);
var parseurl = require('parseurl');
var fs = require("fs");
var app = express();