This bug was reported to the Udacity team ages ago. The bug has now been fixed.
DES ENCRYPTION IMPLEMENTATION IN C++ WITH TRACE
DES Encryption Implementation IN C++ with Trace
Core Features
- Encrypt a specified 64-bit (16 hex digit) data value with a 64-bit (16 hex digit) key using DES.
- Show Trace
Trace
-
- plain text and key in binary format
- subkeys generation process (subkeys in binary and hex format)
- DES encryption process
- value after IP permutation
- value after each iteration
- value after IP-1 permutation
Please view the output-example.txt for more information about the output.
Usage
g++ des.cpp -o des ./des
Story Maker
An all-in-one solution to creating an electronic ‘Choose Your Own Adventure’ game book.
The project is separated into two parts: Story Maker Website and Story Viewer.
Story Maker Website:
A story maker tool that allows you to create dynamic multimedia stories with different endings.
The website uses React for Front-End and Rails for Back-End (including APIs).
Story Viewer:
For now, our story viewer is only available for the WeChat MiniProgram platform.
GITHUB:
Simple Messenger Bot Rails
Simple Messenger Bot Rails
This bot is a Ruby on Rails version of the Simple Echo Bot from the Facebook Messenger Platform Quick Start guide. It has the same features as the node.js version (plain text, generic message and postback).
Links
- https://developers.facebook.com/docs/messenger-platform/guides/quick-start
- https://gomix.com/#!/project/messenger-bot
Setup
- git clone git@github.com:anakornk/simple-messenger-bot-rails.git
- cd simple-messenger-bot-rails
- bundle install
- bundle exec figaro install
- Edit application.yml
PAGE_ACCESS_TOKEN: "pageaccesstokenhere" VERIFY_TOKEN: "verifytokenhere"
GITHUB:
2048 With React
2048 with React
Implemented the game interface with React. The code for the game logic is take from: https://github.com/inimino/js-intro-exercises/tree/master/lib
Controls
Keyboard arrow keys or use the built-in keypad.
Play the game here: https://anakornk.github.io/2048-with-react/
Source Code here: https://github.com/anakornk/2048-with-react
Mario Shooter (Ruby + Gosu)
A 2d two player shooter game created with Gosu in 2 hours during Le Wagon’s Bootcamp.
CONTROLS
Red Mario (Player 1)
W: Jump
A: Move left
D: Move right
SPACE: Shoot a fireball
Blue Mario (Player 2)
Up arrow: Jump
Left arrow: Move Left
Right arrow: Move right
Enter/Return: Shoot a fireball
OTHERS
Press ‘C’ to play again
GITHUB:
https://github.com/anakornk/MarioShooter
Holo Phyperiment: My first HoloLens App
Inspiration
Helping kids learn the laws of physics while having fun playing with our mixed reality HoloLens application.
What it does
Users can construct their own world by using our built-in models, add force to objects and see how objects react.
How we built it
Holo-Phyperiment was developed in C# using Unity3D during HACKPKU 2017 (Peking University Hackathon). We use the “HoloToolKit for Unity” Package to ease the development. We first started off by brainstorming the key features of what a physics experiment application should have. After having a clear idea of what we will be building, we watched tutorials on Unity3d development for the HoloLens on Microsoft’s HoloLens Academy website, seeking for features given by HoloLens that could be use in our application to enhance a rich mixed reality experience. Three main features we used were Gaze, Gesture and Voice Recognition.
Accomplishments that we’re proud of
We managed to create key features of what a physics experiment application should have.
- Users can create and destroy models.
- Users can control and manipulate our 3D built-in models by using voice and gesture commands.
- Users can view the state of an object (for e.g. it’s speed and the force given to it.)
- Users can change the mass and apply force to the object.
- Users can speed up or slow down the physics engine, this allows you to see the action in slow motion.
- Users can manipulate gravity. (Ever wonder what it’s like when you reverse gravity?)
DEMO VIDEO:
LINE Calculator and Translator BOT
During winter break, I had some spare time to study the new LINE Messaging API. To test out the API and its feature, I programmed two bots using the SDK of the LINE Messaging API for PHP.
1) Calculator BOT
Description: A calculator. Mathematical symbols allowed: (),+,-,*,/
If you want to play with the bot, scan the qr code below or add his username “@ooh4585g”.
2) Translator BOT
Description: The bot translates the input text to Thai. The bot uses google translate api.
If you want to play with the bot, scan the qr code below or add his username “@hrq0366b”.
北京大学选课刷课 Chrome Extension
Usage (the video is hosted on youtube, vpn will be needed if you’re living in china):
SRC:
https://github.com/anakornk/PKU-ShuaKe-Chrome-Extension/
Install the extension from Chrome Webstore:
https://chrome.google.com/webstore/detail/pku-北大选课刷课助手/gobjpclkanepkinkgbmebkacaimgblfp
eMenu 电子菜单 (包含 服务端和iOS端的源代码和项目实习报告)
项目目标
实现一个用于取代传统菜单的电子菜单。电子菜单分为用户端和商户端两个部
分:
用户端:主要功能为浏览菜单,点菜及结账。
商户端:主要功能为编辑菜单,查看与用户的交易记录,以及确认用户的点
单。
开发环境:
iOS端:Swift 3.0 Xcode 8.1
服务端:PHP5 + MySQL
iOS APP 样图:
报告
期末汇报ppt
代码: