Skip to content

Instantly share code, notes, and snippets.

View WallyYang's full-sized avatar
🉑
Focusing

Wally Yang WallyYang

🉑
Focusing
  • Columbus, Ohio
View GitHub Profile
\\ Mobius.bvr
// Strip
strip=parametricSurface
strip.setMinMax=t,0,6.6
strip.setMinMax=s,-1,1
strip.setEquation=x,((3+s*cos(t/2))*cos(t))
strip.setEquation=y,((3+s*cos(t/2))*sin(t))
strip.setEquation=z,(s*sin(t/2))
strip.setSegmentCount=40
@WallyYang
WallyYang / test.py
Created February 4, 2019 16:03
CSE 3341 Lab1 Test Script
from subprocess import call
from itertools import izip
from sys import argv
from sys import exit
def suffix(num):
return str(num) if num >= 10 else "0" + str(num)
if __name__ == '__main__':
@WallyYang
WallyYang / test.py
Last active June 26, 2018 16:49
CSE 2331 Lab1 Test Script
from subprocess import call
from itertools import izip
from sys import argv
from sys import exit
if __name__ == '__main__':
if (len(argv) < 4):
print("Usage: language[cc, java, python3, scala] program data_folder")
exit()
@WallyYang
WallyYang / MainActivity.java
Created April 11, 2018 01:46
Court Counter Project
package com.example.android.footballscores;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import java.text.NumberFormat;
public class MainActivity extends AppCompatActivity {
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:src="@drawable/learning_button"