Skip to content

Instantly share code, notes, and snippets.

View zixuan75's full-sized avatar

Zixuan Wang zixuan75

View GitHub Profile
@zixuan75
zixuan75 / pad.html
Last active December 27, 2018 22:44
Pad HTML (working on it right now)
<html>
<head>
<meta charset="utf-8">
<title>Pad</title>
<style>
body {
font-family: Arial, sans-serif;
}
.main-pad-heading {
background-color: darkblue;
@zixuan75
zixuan75 / html-node-master.js
Last active March 6, 2018 02:27
The node master javascript file (based on the html_project repository). Only a html file can run this javascript file.
var topWindow=window.top
var centerWindow=window.center
function field(fields){
if (fields != ""){
return fields
} else {
var field=class{
constructor(){
var fieldConstructor="Logs"
this.fieldConstructor=fieldConstructor
@zixuan75
zixuan75 / node-master.html
Created March 2, 2018 02:06
Javascript files (based)
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Master projects</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
</head>
<body>
<p contenteditable="true">Repositories to contest this name station</p>
my npm debut log saved :
>>>
---
===
kkk
<<<
@zixuan75
zixuan75 / npm-debug.log
Created February 22, 2018 00:59
NPM debug log.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'install', 'socket.io' ]
2 info using npm@3.5.2
3 info using node@v8.9.4
4 verbose config Skipping project config: /home/zixuan/.npmrc. (matches userconfig)
5 verbose stack Error: Cannot find module 'ansi'
5 verbose stack at Function.Module._resolveFilename (module.js:538:15)
5 verbose stack at Function.Module._load (module.js:468:25)
5 verbose stack at Module.require (module.js:587:17)
5 verbose stack at require (internal/module.js:11:18)
@zixuan75
zixuan75 / readme.md
Last active February 11, 2018 02:16

java_project - Use Eclipse/Netbeans support for Java to run our program.

Use Eclipse/Netbeans Java to run our program, but remember, title is called "Sourcejav", and following screenshot is showing this program running and output text. Please install the newest version of Java (Java 8 update 121), because the program only support for Java 8 update 121. Usage quote required (JPanel) is only support for Java 8 update 121, the Java 9 also support for code "JPanel a = new JPanel()" but Java 9 does not support for code "JPanel a = new JPanel("blah blah blah")". Actually, this code is not using in Java 9, so you do not install Java 9 in this reason, but also you can install Java 8 when you are using "JPanel a = new JPanel("blah blah blah")" on a line. Download Java 8 update 161 also you can do, but safely you just to run the Java support for the version Java 8 update 121 at the same time you do that.

Alternatively, Eclipse/Netbeans can run like "killall java" to stop your program and Eclipse/Netbea

@zixuan75
zixuan75 / fields.java
Created February 11, 2018 02:03
description of java project
import java.util.Vector;
class fields{
fields(){
Vector<Integer> vector;
vector=new Vector<Integer>();
}
}