Skip to content

Instantly share code, notes, and snippets.

Carlo Perassi carlok

Block or report user

Report or block carlok

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
@dreyescat
dreyescat / index.html
Created Dec 18, 2015
Webpack config to expose bundle in a variable in the global context
View index.html
<html>
<head>
</head>
<body>
<script src="lib/yourlib.js"></script>
<script>
window.onload = function () {
EntryPoint.run();
};
</script>
View Apology.java
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class Apology extends JFrame {
public static void main(String[] args)
{
EventQueue.invokeLater(new Runnable() {
public void run() {
new Apology();
You can’t perform that action at this time.