View wildcards.java
public class Lists {
public static void main(String[] args) {
// Lower Bounded Wildcards
m1(new ArrayList<>()); // <> = C
m1(new ArrayList<B>());
m1(new ArrayList<D>()); // Error
// Upper Bounded Wildcards
m2(new ArrayList<>()); // <> = C
m2(new ArrayList<D>());
View fizzbuzz.rb
-> k { -> f { -> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> l { -> x { -> g { -> b { b }[-> p { p[-> x { -> y { x } } ] }[l]][x][-> y { g[f[-> l { -> p { p[-> x { -> y { y } } ] }[-> p { p[-> x { -> y { y } } ] }[l]] }[l]][x][g]][-> l { -> p { p[-> x { -> y { x } } ] }[-> p { p[-> x { -> y { y } } ] }[l]] }[l]][y] }] } } } }][k][-> x { -> y { -> f { f[x][y] } } }[-> x { -> y { x } }][-> x { -> y { x } }]][-> l { -> x { -> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[l][f[x]] } }] } }[-> f { -> x { f[-> y { x[x][y] }] }[-> x { f[-> y { x[x][y] }] }] }[-> f { -> m { -> n { -> b { b }[-> m { -> n { -> n { n[-> x { -> x { -> y { y } } }][-> x { -> y { x } }] }[-> m { -> n { n[-> n { -> f { -> x { n[-> g { -> h { h[g[f]] } }][-> y { x }][-> y { y }] } } }][m] } }[m][n]] } }[m][n]][-> x { -> l { -> x { -> x { -> y { -> f { f[x][y] } } }[-> x { -> y { y } }][-> x { -> y { -> f { f[x][y] } } }[x][l]] } }[f[-> n { -> p
View Form01.java
import javax.swing.*;
import java.awt.*;
public class Form01 extends JFrame {
private final static Color SKYDARK =new Color(128,200,255);
private Form01() {
initComponents();
}
View gist:3764e0c34ce1fa865dcf72b4008acc59
for (i=0;i<60;i++){
var test;
test = "CODE:";
test +="TAG POS=1 TYPE=DIV ATTR=TXT:Withdraw" + "\n";
var w1 = ("name")
var w2 = ("name")
var itemname = content.document.getElementsByClassName("item-name")[i].innerHTML
if (w1 != itemname)
{iimDisplay("aaaa!" + i)}
else{content.document.getElementsByClassName("item-name")[i].click()
View report.md

Pre-flight Build Pitfalls

Problem

  1. Post-factum CI
  • Error(s) already in code base
  • Difficult to rollback changes
  1. Manual merge
  • Cumbersome
  • Difficult
  • Error-prone
View SwingUtilities.java
/**
* Causes <i>doRun.run()</i> to be executed asynchronously on the
* AWT event dispatching thread. This will happen after all
* pending AWT events have been processed. This method should
* be used when an application thread needs to update the GUI.
* In the following example the <code>invokeLater</code> call queues
* the <code>Runnable</code> object <code>doHelloWorld</code>
* on the event dispatching thread and
* then prints a message.
* <pre>
View RoundButton.java
/*
Code imported from
http://stackoverflow.com/a/26851888
*/
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.StackPane;
View clean.sh
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
View JSliderDemo.java
package trash;
import javax.swing.*;
import java.awt.*;
public class JSliderDemo {
private JFrame frame = new JFrame("Slider");
private JSlider slider = new JSlider(1, 50, 1);
public JSliderDemo() {