This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getName(), getAge(), getBirthdate(), getHeight(), getWeight(), | |
getCurrentCity(), getCurrentState(), getAddress(), getHairColor(), getHairStyle() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assertEquals(getName(), “Jim”); | |
assertEquals(getAge(), “22"); | |
assertEquals(getBirthdate(), “10/31/92"); | |
assertEquals(getHeight(), “6'9”); | |
assertEquals(getWeight(), “220"); | |
assertEquals(getCurrentCity, “Palo Alto”); | |
assertEquals(getCurrentState(), “CA”); | |
assertEquals(getAddress(), “121 Wallabe Way”); | |
assertEquals(getHairColor(), “Black”); | |
assertEquals(getHairStyle(), “Fade”); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stringArray = ['Jim', '22','10/31/92', "6'9", '220', | |
'Palo Alto', 'CA', '121 Wallabe Way', 'Black', 'Fade']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ekeitho on github. | |
* I am ekeitho (https://keybase.io/ekeitho) on keybase. | |
* I have a public key whose fingerprint is 5E15 FAA6 6AFA 8B8A 7D6F 1134 DF01 FDEE 9A9C F5A8 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
import "text/scanner" | |
import "os" | |
func main() { | |
fmt.Println("Name please..") | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
import "math/rand" | |
import "time" | |
func main() { | |
central := make(chan int, 300) | |
rand.Seed(44) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
add := addFunc() | |
fmt.Println(add()) //0 | |
fmt.Println(add()) //1 | |
fmt.Println(add()) //2 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
type Person struct{ | |
Name string | |
Age int | |
} | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
## Keith Abdulla | |
## email@ekeitho.com | |
## Cal Poly CPE 365 Databases | |
class csvParse: | |
# the file name of the csv file | |
def __init__(self, file_name): | |
self.reader = csv.DictReader(open(file_name)) |
OlderNewer