Skip to content

Instantly share code, notes, and snippets.

View zhaopengme's full-sized avatar

zhaopeng zhaopengme

View GitHub Profile
@zhaopengme
zhaopengme / execit
Created May 20, 2015 01:55
enter docker container
#!/bin/bash
execit(){
echo "docker exec -it $1 bash"
docker exec -it $1 bash
}
execit [containerid]
import com.sun.javafx.application.PlatformImpl;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javafx.application.Platform;
import javafx.collections.ObservableList;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Group;
import javafx.scene.Node;
@zhaopengme
zhaopengme / HTML:html5_create_templdate
Created July 30, 2012 03:50
HTML:html5_create_templdate
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
 
  <title>untitled</title>
 
  <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->  
 
  <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8">
@zhaopengme
zhaopengme / HTML:html_create_templdate
Created July 30, 2012 03:48
HTML:html_create_templdate
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
</body>
</html>