Skip to content

Instantly share code, notes, and snippets.

View Cee's full-sized avatar
🎀
ハネだ (<ゝω·)☆

Tianyu Wang Cee

🎀
ハネだ (<ゝω·)☆
View GitHub Profile
@Cee
Cee / TextField.swift
Created March 10, 2020 07:17
TextField Playground
//: A UIKit based Playground for presenting user interface
import UIKit
import PlaygroundSupport
class MyViewController : UIViewController {
override func loadView() {
let view = UIView()
view.backgroundColor = .white
OBJS = \
bio.o\
console.o\
exec.o\
file.o\
fs.o\
ide.o\
ioapic.o\
kalloc.o\
kbd.o\
@Cee
Cee / Dockerfile
Last active September 25, 2018 22:05
Dockerfile for CS-GY 6233
FROM ubuntu:14.04
RUN apt-get -qq update
RUN apt-get install -y git nasm build-essential qemu gdb
CMD ["bash"]

空格

  • 中英文之间需要增加空格
    + 我们是 SwiftGG 翻译组
    - 我们是SwiftGG翻译组
    - 我们是SwiftGG 翻译组
    - 我们是 SwiftGG翻译组
@Cee
Cee / github.css
Last active August 12, 2018 17:52
.my-2 {
display: none;
}
.body > div > a {
display: none;
}
.px-3 {
max-width: 1012px;
@Cee
Cee / yelp
Created March 17, 2018 04:19
pig
([date#2016-05-28,review_id#v0i_UHJMo_hPBq9bxWvW4w,user_id#bv2nCi5Qv5vroFiqKGopiw,cool#0,stars#5,text#Love the staff, love the meat, love the place. Prepare for a long line around lunch or dinner hours.
They ask you how you want you meat, lean or something maybe, I can't remember. Just say you don't want it too fatty.
Get a half sour pickle and a hot pepper. Hand cut french fries too.,business_id#0W4lkclzZThpx3V65bVgig,useful#0,funny#0])
([compliment_more#0,compliment_writer#0,compliment_funny#0,average_stars#4.67,cool#0,review_count#8,compliment_plain#1,friends#{(cvVMmlU1ouS3I5fhutaryQ),(nj6UZ8tdGo8YJ9lUMTVWNw),(RTtdEVhAmeWqCSp0IgJ99w),(t3UKA1sl4e6LY_xsjuvI0A),(s057_BvOfnKNvQquJf7VNg),(VYrdepCgdzJ4WaxP7dBGpg),(XXLSk6sQQDyr3dZ4zE-O0g),(Py8ThfExQaXF2Woqr7kWUw),(233YNvzVtZ1ObkaNkUzNIw),(L6iE9NpmHHJQTk0JQlRlSA),(Y7XTMgZ_q5Bj5f9KhK1R4Q)},compliment_note#0,fans#0,elite#{},compliment_profile#0,user_id#oMy_rEb0UBEmMlu-zcxnoQ,yelping_since#2014-11-03,compliment_hot#0,name#Johnny,compliment_photos#0,compliment_coo
@Cee
Cee / remove.css
Last active December 20, 2017 14:37
Remove distracting contents from GitHub
.my-2 {
display: none;
}
@Cee
Cee / MaxProfit.java
Last active October 31, 2017 04:59
30 lines to solve MaxProfit problem
public int maxProfit(int[] prices, int k, int day, int fee) {
int n = prices.length;
if (n == 0 || n == 1 || k == 0) {
return 0;
}
int[] buy = new int[n];
int[] sell = new int[n];
int[] oldSell = new int[n];
int maxProfit = 0;
Process: iBooks [10949]
Path: /Applications/iBooks.app/Contents/MacOS/iBooks
Identifier: com.apple.iBooksX
Version: 1.8 (1261.10)
Build Info: iBooks-1261010000000000~4
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: iBooks [10949]
User ID: 501
Process: Safari [4050]
Path: /Applications/Safari.app/Contents/MacOS/Safari
Identifier: com.apple.Safari
Version: 10.0.2 (12602.3.12.0.1)
Build Info: WebBrowser-7602003012000001~2
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Safari [4050]
User ID: 501