Skip to content

Instantly share code, notes, and snippets.

View jiyeonseo's full-sized avatar
🧀
Say cheese 🧀

Cheese jiyeonseo

🧀
Say cheese 🧀
View GitHub Profile
inp = raw_input("Enter the score")
score = float(inp);
if score <= 1.0 :
if score >= 0.9 :
print("A")
elif score >= 0.8 :
print("B")
elif score >= 0.7 :
print("C")
elif score >= 0.6 :
hrs = raw_input("Enter Hours:")
h = float(hrs)
rate = raw_input("Enter Rate:")
r = float(rate)
if hrs > 40 :
pay = 40 * r + (h-40) * r * 1.5
else :
pay = h * r
print pay
@jiyeonseo
jiyeonseo / index.html
Created February 7, 2015 14:43
easteregg-overscroll
<img class="easter-egg top-cat" src="http://tholman.com/overscroll/img/cat-1.png" />
<img class="easter-egg bottom-cat" src="http://tholman.com/overscroll/img/cat-2.png" />
<!-- JS -->
<script src='http://tholman.com/overscroll/overscroll.js'></script>
<script>
var overscroll = new Overscroll();
overscroll.bindElement( document.querySelector('.top-cat'), 'top', 4);
overscroll.bindElement( document.querySelector('.bottom-cat'), 'bottom', 4);
</script>
@jiyeonseo
jiyeonseo / helloworld.py
Created February 2, 2015 15:08
Programming for Everybody - wk1
print "hello world"
<!DOCTYPE html>
<html>
<head lang="ko">
<meta charset="UTF-8">
<title>First HOMEWORK</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script type="application/javascript" src="http://code.jquery.com/jquery-1.11.1.js"></script>
package springbook.user.domain;
public class User {
String id;
String name;
String password;
public String getId() {
return id;
}
@jiyeonseo
jiyeonseo / test1.m
Created August 30, 2012 06:40
testtest
#import "test.h"
@implementation
-(id) viewDidLoad{
NSString *str = @"test for using highlighting syntax";
NSLog(@"%@", str);
}