Skip to content

Instantly share code, notes, and snippets.

View pranav1hivarekar's full-sized avatar

Pranav Hivarekar pranav1hivarekar

View GitHub Profile
@hofmannsven
hofmannsven / README.md
Last active June 11, 2026 03:37
Git CLI Cheatsheet
@cjmamo
cjmamo / CommentResource.java
Last active April 24, 2018 18:15
How To Publish a WADL with Mule's REST Router Module
package org.ossandme;
import javax.ws.rs.*;
@Path("/{userid}/comments/{title}/feed")
public interface CommentResource {
@GET
public String retrieveComment(@PathParam("userid") String userID, @PathParam("title") String title);
@jedp
jedp / gist:3005816
Created June 27, 2012 18:18
postMessage() security review checklist

Security-Reviewing Uses of postMessage()

The postMessage() API is an HTML5 extension that permits string message-passing between frames that don't share the same origin. It is available in all modern browsers. It is not supported in IE6 and IE7.

postMessage is generally considered very secure as long as the programmer is careful to check the origin and source of an arriving