aashishsaini/migrated_photo_app
new repo
Discovered public repositories for aashishsaini in the GitHub catalog.
new repo
Realtime validations for Rails
Public repository.
Task: Create Website with Tabs Based on Facebook Login What the site must have: Signup and Login using Facebook Authentication (Facebook API); Stores user details in a MySql database together with the relationship status; Homepage with Signup / Login only; When user is signed up and logged in he gets a page like the one in the image below (image 1) with a tabbed interface relying on Jquery UI. All must be using: Rails, JQUERY, MYSQL and in AJAX (no page reloading); HOME shows nothing; TAB1 shows user relationship status (you must first save it to the database (when user registers) and serve it from there when user clicks "TAB1"); TAB2 shows whatever you want. Be creative. TAB3 shows latest user status update on Facebook from database (i.e.: you must check latest status on Facebook and save it to database every time user logs in and when user click "TAB3" serve the content directly from database) Please add a logout button.
Product code Name Price FR1 Fruit tea £ 3.11 SR1 Strawberries £ 5.00 CF1 Coffee £11.23 Our CEO is a big fan of buy-one-get-one-free offers and of fruit tea. He wants us to add a rule to do this. The COO, though, likes low prices and wants people buying strawberries to get a price discount for bulk purchases. If you buy 3 or more strawberries, the price should drop to £4.50. Our check-out can scan items in any order, and because the CEO and COO change their minds often, it needs to be flexible regarding our pricing rules. The interface to our checkout looks like this (shown in Ruby): co = Checkout.new(pricing_rules) co.scan(item) co.scan(item) Price = co.total Implement a checkout system that fulfils these requirements in Ruby. Test Data Basket: FR1, SR1, FR1, CF1 Total price expected: £22.45 Basket: FR1, FR1 Total price expected: £3.11 Basket: SR1, SR1, FR1, SR1 Total price expected: £16.61
A network router is a device which knows where to send which packet,. So if we define that any packet for network address 1.1.1.1 to be sent to network device A, so it will forward every packet for 1.1.1.1 to device A. Apart from these rules a network router has a default gateway defined, so if a packet does not match any rule it will send that to default gateway. A network rule is defined by providing an IP Address followed by their netmask and a destination machine, at the end followed by default gateway (optional) You need to write a simple router simulator, which will be take input in terms of number of routing rules followed by routing rules and then number of route statements and followed by route statements. Your output will be routed destination and if it can not route some packets then output should print NO ROUTE DEFINED Sample Input: 3 10.0.0.0 255.255.255.0 192.168.1.1 20.0.0.0 255.0.0.0 192.168.1.2 default 192.168.1.3 5 10.0.0.2 10.1.1.2 20.1.1.2 20.1.1.1 21.1.1.1 Sample Output: 192.168.1.1 192.168.1.3 192.168.1.2 192.168.1,2 192.168.1.3 Sample Input: 1 10.0.0.0 255.255.255.0 192.168.1.1 3 10.0.0.2 10.1.1.2 10.0.1.0 Sample Output: 192.168.1.1 NO ROUTE DEFINED NO ROUTE DEFINED
Public repository.
Public repository.
Public repository.
my photo album with tagging
Public repository.
the application for ruby on rails tutorial
Public repository.
Public repository.