Skip to content

Instantly share code, notes, and snippets.


Madan Bhandari MadanBhandari

Block or report user

Report or block MadanBhandari

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
bradwestfall /
Last active May 19, 2019
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

What this will cover

  • Host a static website at S3
  • Redirect to
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation


jewelsea /
Last active May 9, 2019
Small JavaFX framework for swapping in and out child panes in a main FXML container. Code is for Java 8+.
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
* Main application class.
cfranko / index.html
Created Sep 28, 2012
Bar Chart with Paging
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
.chart rect{
.chart text {
You can’t perform that action at this time.