Skip to content

Instantly share code, notes, and snippets.

View riceball1's full-sized avatar
👋
Hi!

Dana Ng riceball1

👋
Hi!
View GitHub Profile
@riceball1
riceball1 / game-dev-resources.md
Last active April 12, 2023 16:07
game dev resources
@riceball1
riceball1 / project-ideas.md
Last active March 19, 2023 06:43
Project Ideas

ToDo:

  • Build a grocery app that shows all the available items in a list, user should be able to view a product's details, add a product to favorites and view favorites.
  • Build a plasma screen app that shows the number of users signing up to the website in real time.
  • Air Qazaq - airline website
  • Cafe Website
  • Ramen Recommendation Engine
@riceball1
riceball1 / dana-bucket-list.md
Last active February 2, 2023 07:55
A bucket list for my 30s and 40s

Dana's 30s and 40s Bucket List

  • Have an empanada in Argentina
  • Scuba dive in the ocean
  • Have a road trip with friends in another country - 2022 Nov
  • Eat a mango and/or samosa while looking at the Himalaya
  • Visit Dubai
  • Drink horse milk from a yurt in Central Asia
  • Eat tachin in Iran
  • Zero debt - 2020 May
@riceball1
riceball1 / linked-list-python.py
Created July 24, 2021 23:44
Linked List Example
class Element(object):
def __init__(self, value):
self.value = value
self.next = None
class LinkedList(object):
def __init__(self, head=None):
self.head = head
def append(self, new_element):
class binarySearch {
constructor() {
this.left = 0;
this.right = 0;
this.middle = 0;
}
search(array, value){
this.middle = (array.length - 1) / 2;
// My own implementation of a BST
class binarySearchTree {
constructor() {
this.left = null;
this.right = null;
this.root = null;
}
/** Search
1) The share price for a company over a week's trading is as follows: [128, 97, 121, 123, 98, 97, 105].
If you had to buy shares in the company on one day, and sell the shares on one of the following days,
write an algorithm to work out what the maximum profit you could make would be.
2) Imagine that you wanted to find what the highest floor of a 100 story building you could
drop an egg was, without the egg breaking. But you only have two eggs. Write an algorithm to
work out which floors you should drop the eggs from to find this out in the most efficient way.
@riceball1
riceball1 / bash_profile.txt
Last active January 19, 2020 21:59
My Bash Profile
##################
### MY ALIASES ###
##################
# git commamands simplified
alias gst='git status'
# simple commands
alias c='clear'
alias desk='cd ~/Desktop'
@riceball1
riceball1 / capstone2-MVP.md
Last active February 16, 2017 18:36
User stories for Capstone 2 project

#Description: Multipurpose is an app that provides users access to a database of information on everyday, natural household items so they can find multipurpose uses for those items in order to reduce waste. #User Stories: ##As a user, I should be able to… * sign up to access the app * login to the app * search for everyday household items from a database * click on a household item and get more information about the item * read/contribute tips about the household item

  • rate others' tips