Skip to content

Instantly share code, notes, and snippets.

@theanuradha
theanuradha / git-clearHistory
Created May 21, 2020 09:25 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
import java.util.concurrent.*;
import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.application.Platform;
import javafx.beans.property.*;
import javafx.concurrent.Task;
import javafx.event.*;
import javafx.geometry.Pos;
import javafx.scene.*;
import javafx.scene.control.*;
# First verify the version of Java being used is not SunJSK.
java -version
# Get the latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html
wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm
# Rename the file downloaded, just to be nice
mv jdk-7u1-linux-i586.rpm\?e\=1320265424\&h\=916f87354faed15fe652d9f76d64c844 jdk-7u1-linux-i586.rpm
# Install Java
/*******************************************************************************
******************************************************************************/
package de.eiswind.mango.widgets.select2;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
var SELECT2_BASEPATH = "rwt-resources/select2/";
(function() {
'use strict';
rap.registerTypeHandler("eiswind.Select2", {
factory : function(properties) {
return new eiswind.Select2(properties);
},