Skip to content

Instantly share code, notes, and snippets.

{"Backend": ["Python", "Go"],
 "Web": ["React.js", "Vue.js"],
 "Mobile": ["Swift", "Kotlin", "React Native"],
 "AI": ["Tensorflow", "scikit-learn"]}
@chpapa
chpapa / pseudocode.js
Created August 10, 2017 09:09
QR Code Coupon System Pseudocode
coupon = createCoupon(user_token_str, title_str, desc_str, metadata_json)
coupon.setImageURL(url)
coupon.uploadImage(fileObject)
url = coupon.getQRCode()
from statemachine import StateMachine
print "Hi " + name + ", I am Ben."
contexts = {
"startups": "I'm Ben, co-founder of Oursky, which is a team of 40 developers and designers in Hong Kong and Taipei, we develop products for software developers.",
"ngo": "I run a small app studio, I’m also an advocate for creative commons, open data, citizen journalist and Internet freedom."
}
class BadDayStateMachine(StateMachine):
def __init__(self):
contract Cannabis {
string public motherPlant;
string public plantDate;
string public location;
uint8 public supply;
address public grower;
struct Dispensary {
address dispensaryAddress;
uint8 storageJar;

Instructions

  • Time Limit: 60 mins
  • Internet access is NOT allowed
  • Please put your answer in this markdown document

Please answer Part A, and for Part B you can choose 1 or 2 section between Web / iOS / Android

Please indicate which section you have answered (Tips: [x] will mark the checkbox)

Keybase proof

I hereby claim:

  • I am chpapa on github.
  • I am bencheng (https://keybase.io/bencheng) on keybase.
  • I have a public key whose fingerprint is 684E 0C4F E4BE D24B 5F4C A244 E074 DCD8 48D3 50D2

To claim this, I am signing this object:

@chpapa
chpapa / Idea
Created September 29, 2014 03:25
Idea for a curator app for Occupy Central
Goal: Be the house news for Occupy Central.
===========================================
#### Kind of information to distribute
* 物資需求
* 義工需求
* 佔領資訊
* 警方動向
* 其他消息