All my programming sources and links for the past couple of years... Things I email myself
Wednesday, November 18, 2015
Tuesday, August 4, 2015
Friday, July 17, 2015
more python django pinax stuff
http://stackoverflow.com/ questions/6500561/django- pinax-how-to-use-apps-in- other-projects-not-cloned- pinax-projects
http://hetland.org/writing/ instant-python.html
http://www.paolocorti.net/ 2009/10/03/the-pinax-tutorial- introduction/
http://pyvideo.org/video/1844/ data-classification-using- python-django-and-r
http://www.paolocorti.net/
Wednesday, July 8, 2015
django project links
http://stackoverflow.com/questions/1499543/good-open-source-django-project-for-learning
https://code.djangoproject.com/wiki/DjangoResources
http://pinaxproject.com/
https://www.djangopackages.com/
https://docs.djangoproject.com/en/1.8/intro/contributing/
https://code.djangoproject.com/wiki/DjangoResources
http://pinaxproject.com/
https://www.djangopackages.com/
https://docs.djangoproject.com/en/1.8/intro/contributing/
Tuesday, June 30, 2015
Hadoop Tuts Using Python. and Some HASKELL TUT
https://www.youtube.com/watch?v=SGIraL7mxqU&list=PLQwEegbFUjHGycPCbjXSFPK-AetxuH0MB&index=4
https://www.youtube.com/watch?v=SoSlCBjJiUA
http://stickystatic.com/build-a-gaming-computer
https://developer.yahoo.com/hadoop/tutorial/module1.html#intro
http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/
HASKELL
http://learnyouahaskell.com/starting-out
https://www.youtube.com/watch?v=SoSlCBjJiUA
http://stickystatic.com/build-a-gaming-computer
https://developer.yahoo.com/hadoop/tutorial/module1.html#intro
http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/
HASKELL
http://learnyouahaskell.com/starting-out
Monday, June 29, 2015
Natural Language and Data Science... Also Immunity Debugger
http://datasciencemasters.org/
http://www.wired.com/2014/09/exercism/
http://stackoverflow.com/questions/11892128/tutorials-for-natural-language-processing
https://class.coursera.org/nlp/lecture
http://sgros-students.blogspot.com/
http://www.wired.com/2014/09/exercism/
http://stackoverflow.com/questions/11892128/tutorials-for-natural-language-processing
https://class.coursera.org/nlp/lecture
http://sgros-students.blogspot.com/
Too many....
I think I uploaded too much for one day.
I also may just stop and just work on the future stuff..
SQL
JAVA
JAVA SCRIPT
PYTHON
MOBILE/ANDROID
WEB PORTAL
Put together all the sources as a great library. Put code together to make something new
Some random
I also may just stop and just work on the future stuff..
SQL
JAVA
JAVA SCRIPT
PYTHON
MOBILE/ANDROID
WEB PORTAL
Put together all the sources as a great library. Put code together to make something new
Some random
- Japanese Emoticon Masterpost
- Angry: (*≧m≦*) (,,#゚Д゚) ヽ(o`皿′o)ノ ヽ(≧Д≦)ノ (>д<) (;≧皿≦) [○・`Д´・○] ヽ(#`Д´)ノ Σ(-`Д´-ノ;)ノ (/゚Д゚)/ (¬д¬。) ヽ(#`Д´)ノ (¬、¬) (;¬_¬) (;¬_¬) (;¬д¬) (≧σ≦) o(-`д´- 。) ヽ(●-`Д´-)ノ (* ̄m ̄) (´Д`) (; ̄Д ̄) (¬_¬)ノ (#`д´)ノ (」゜ロ゜)」 Σ(▼□▼メ) (━┳━ _ ━┳━) (┳◇┳) {{|└(>o< )┘|}} \(@O@)/ (≧▼≦;) \(〇O〇)/ s(・`ヘ´・;)ゞ (▼へ▼メ) \(`O´θ/ θ\(;¬_¬) ヽ(`⌒´メ)ノ 凸(-0-メ) 凸(`△´+) 凸(`0´)凸 凸(`⌒´メ)凸 \(`0´)/ -`д´- (>人<) щ(ಠ益ಠщ) (ノಠ益ಠ)ノ щ(ಥДಥщ) o(≧o≦)o (⋋▂⋌) (◣_◢) ᕙ(⇀‸↼‶)ᕗ ᕦ(ò_óˇ)ᕤ ( ಠ ಠ ) (¬▂¬) (¬_¬) ಥ⌣ಥ ಠ_ಠ
- Apologizing: m(_ _)m m(._.)m m(._.)m (ノ´д`) (シ_ _)シ o;(_ _)o; <(。_。)> m(_ _;;m m(¬0¬)m
- Bear: ( ̄(エ) ̄) (。・ω・。) (●`・(エ)・´●) (*ノ・ω・) 川´・ω・`川 ( (ミ´ω`ミ)) ヾ(T(エ)Tヽ) \(・`(ェ)・)/ ⊂(ο・㉨・ο)⊃ (^(エ)^) (^(I)^) ( ̄(エ) ̄)ノ ⊂( ̄(工) ̄)⊃ ⊂(^(工)^)⊃ ⊂(・(ェ)・)⊃ (* ̄(エ) ̄*) ヾ(´(エ)`ノ゙ (/(エ)\) ⊂( ̄(エ) ̄)⊃ “(`(エ)´)ノ (`(エ)´)ノ (ó㉨ò) (♥ó㉨ò)ノ♡ (/-(エ)-\) (´(エ)`) ヽ( ̄(エ) ̄)ノ (/ ̄(エ) ̄)/ ⊂(◎(工)◎)⊃ (● ̄(エ) ̄●) 《/( ̄(エ) ̄)ゞ》 (✪㉨✪) Ψ( ̄(エ) ̄)Ψ ┏((= ̄(エ) ̄=))┛ ・㉨・
- Cat: (=^・ェ・^=) (=^‥^=) (=^・^=) V(=^・ω・^=)v (=`ω´=) o(^・x・^)o \(=^‥^)/’` ( =①ω①=) d(=^・ω・^=)b (=TェT=) (=;ェ;=) ヽ(=^・ω・^=)丿 (=^・ω・^)y= (^-人-^) ヽ(^‥^=ゞ) (^・ω・^ ) (=^-ω-^=) b(=^‥^=)o (.=^・ェ・^=) (=´∇`=) ヾ(=゚・゚=)ノ ~(=^‥^)ノ ~(=^‥^)/ (=xェx=) (=;ェ;=) (=`ェ´=) (^・o・^)ノ” (^._.^)ノ └(=^‥^=)┐ =’①。①’= o;(*ΦωΦ*)>
- Confused: ´・_・`) (◎_◎;) (`_´)ゞ (◎-◎;) (・_・ヾ ( ̄(エ) ̄)ゞ (-_-)ゞ゛ (‘◇’)? ヽ(゜Q。)ノ? (´`;) ? 【・ヘ・?】 【・_・?】 ( ・◇・) (゜-゜) ( ?´_ゝ`) o(´^`)o (´−`) ンー (•ิ_•ิ)? 「(°ヘ°) (。ヘ°) ヽ(゜Q。)ノ? (´`;) ? 〈(゜。゜) (゜。゜) く(^_・)ゝ (^~^;)ゞ ٩(๏̯͡๏)۶ ٩(̾●̮̮̃̾•̃̾)۶ (⊙_◎) ಠ_ರೃ
- Dancing: ヘ(^_^ヘ) (ノ^_^)ノ o(^^o) (o^^)o (ノ´_ゝ`)ノ ヾ(^ ^ゞ (ノ‥)ノ ( ノ^ω^)ノ゚ ヾ(*´∇`)ノ ヾ(・ω・*)ノ (*ノ´□`)ノ 。(⌒∇⌒。) (。⌒∇⌒)。 〜( ̄▽ ̄〜) (〜 ̄▽ ̄)〜 〜(^∇^〜) (〜^∇^)〜 〜( ̄△ ̄〜) (〜 ̄△ ̄)〜 ┗(`ー´)┓ ┏(`ー´)┛ ┗(^0^)┓ ┏(^0^)┛ (ノ ̄ー ̄)ノ ヘ( ̄ー ̄ヘ) ヘ( ̄ω ̄ヘ) (ノ ̄ω ̄)ノ ヘ(^o^ヘ) (ノ^o^)ノ ヾ(-_- )ゞ ヾ(@^∇^@)ノ (ノ≧∀≦)ノ \(^ω^\) (ノ゚▽゚)ノ ヽ(゚ー゚*ヽ) ヽ(*゚ー゚*)ノ (ノ*゚ー゚)ノ ヽ(*´Д`*)ノ (o´・_・)っ ヾ(*д*)ノ゛ ヽ(°◇° )ノ ヽ( °◇°)ノ (ノ°ο°)ノ (ノ・o・)ノ ヾ(^^ゞ) ヾ(゚∀゚ゞ) ヽ(´ー`)ノ ヾ(*⌒ヮ⌒*)ゞ 〈( ^.^)ノ ┌(★o☆)┘ └(★o★)┐ ♪(┌・。・)┌
- Dead: (x_x;) (*_*) (×_×;) (×_×# (#+_+) (+_+) ヾ(×× ) ツ (Ω_Ω) へ(>_<へ) (*0*;) (u_u) (✖╭╮✖) (º_º) ٩(×̯×)۶ (ñ_ñ) (o_-)
- Surrender: \(--)/ \(-___________-;)/ /(;-_-) ~(o;_o;。)\ ((-_-)) (ー△ー;) (◎ー◎;) (/ _ ; ) (o_ _)o ヘ( ̄  ̄;ヘ) (;*´Д`)ノ (ノ_ _)ノ ヘ(_ _ヘ) (ノ ̄д ̄)ノ (;-_-)ノ o(-_-;*) ヘ(;´Д`ヘ) (;-_-)/ (oT-T)尸 ヘ(´o`)ヘ (一。一;;) (ノ#-_-)ノ (~~~) y-(~。~;) ( -。-)
- Dog: o・ェ・oU ∪・ω・∪ U。・ェ・。U ▽・ω・▽ ▽・w・▽ U^皿^U v・。・V UTェTU (^・(I)・^) U・♀・U o(U・ω・)⊃ (^・x・^) (U・x・U) ▼o・ェ・o▼ U^ェ^U U ̄ー ̄U ┌U・ェ・U┘ └@(・ェ・)@┐ ヾ(●ω●)ノ (〓 ̄(∵エ∵) ̄〓)
- Drinking: o口(・∀・ ) (。・・)_且 且_(゚◇゚;)ノ゙ ~旦_(^O^ ) ( ゜Д゜)⊃旦 ( ´・ω・`)_且~ ( ^-^)_旦”" (*^◇^)_旦 (*`▽´)_旦~~ ~(=^‥^)_旦~ (^-^)_日 ~~旦_(・o・;) ( -_-)旦~ (#´ー´)旦 且_(・_・ )
- Evil: (・`ω´・) ψ(`∇´)ψ (`ー´) (。・`ω´・。) o(`ω´*)o | `Д´| (`ε´) (σ-`д・´) (`Д´*) (=`〜´=) (メ`ロ´)/ Ψ(`▽´)Ψ ^(#`∀´)_Ψ (*-`ω´- )人 (ц`ω´ц*) (`∀´)Ψ ψ(*`ー´)ψ Ψ(`◇´)Ψ “ψ(`∇´)ψ
- Friends: ヽ(∀゜ )人( ゜∀)ノ (*・∀・)/\(・∀・*) \(^∀^)メ(^∀^)ノ \(★´−`)人(´▽`★)/ ( ^^)人(^^ ) (〃⌒▽⌒)八(〃⌒▽⌒〃)八(⌒▽⌒〃) ☆-(ノ゚Д゚)八(゚Д゚ )ノ ( 。・_・。)人(。・_・。 ) ヽ(*^ー^)人(^ー^*)ノ ━(○´エ`)(´エ`●)━ (◎`・ω・´)人(´・ω・`*) 。*:★(´・ω・人・ω・`)。:゜★。 (*´∀`*人*´∀`*) (^▽^)/\(^▽^) (*^ω^)人(^ω^*) ヽ(○´∀)乂(*´∀`*)乂(∀`●) \(^∀^)メ(^∀^)ノ ヽ(´Д`)人(´Д`)人(´Д`)ノ〜♪ (((*°▽°*)八(*°▽°*)))♪ ♡(*´∀`*)人(*´∀`*)♡ (〃 ̄д ̄)八(  ̄д ̄ )八( ̄д ̄〃) ヽ(^▽^)人(^▽^)人(^▽^)ノ (((@°▽°@)八(@°▽°@))) (・_・”)/\(・_・”) (○`ε´○)/\(○`ε´○) ヘ( ^o^)ノ\(^_^ ) (/^-^(^ ^*)/ ( 。・_・。)人(。・_・。 ) (・_・)〆\(T_T) (^^)-(^^)-(^^)-(^^)-(^^) ヽ(´Д`)人(´Д`)人(´Д`)ノ ヾ( ̄ー ̄)X(^∇^)ゞ ♪ヽ( ⌒o⌒)人(⌒-⌒ )v ♪ (*^o^)人(^o^*) \( ^o)( ^ 0 ^ )(o^ )/ ヽ( ^^)人(^^ )ノ (・_・”)/\(・_・”) └(^o^ )X( ^o^)┘ (^○^)オ(^▽^)ハ(^0^)ツ~ ( ⌒o⌒)人(⌒-⌒ )v (°◇°人°◇°)
- Greetings/Goodbyes: ヾ(^∇^) (^-^*)/ ( ゚▽゚)/ ( ^_^)/ (^o^)/ (^ _ ^)/ ( ´ ▽ ` )ノ (ノ´∀`*)ノ ヾ(´・ω・`) ☆ミ(o*・ω・)ノ \(^▽^*) (*^▽^)/ ( ̄▽ ̄)ノ ヾ(-_-;) ヾ( ‘ – ‘*) ヾ(@⌒ー⌒@)ノ ~ヾ ^∇^ ~ヾ(^∇^) \( ̄O ̄) (。・ω・)ノ゙ (*^・ェ・)ノ ( ̄∠  ̄ )ノ (* ̄O ̄)ノ ヾ(。´・_●・`。)☆ (/・0・) (ノ^∇^) (,, ・∀・)ノ゛ (。・д・)ノ゙ \(°o°;) (。´∀`)ノ (o´ω`o)ノ ( ・ω・)ノ (。^_・)ノ ( ・_・)ノ \(-o- ) (。-ω-)ノ \(-_- ) \( ・_・) ヾ(´¬`)ノ ヾ(☆▽☆) (^ Q ^)/゛ ~(^◇^)/ ヘ(‘◇’、)/ ヘ(°◇、°)ノ ヘ(°¬°)ノ ヘ(゜Д、゜)ノ ( ゜ρ゜)ノ ー( ´ ▽ ` )ノ ヽ(๏∀๏ )ノ
- Happy: (●´∀`●) (`・ω・´)” ヽ(;▽;)ノ ヽ(;▽;)ノ (*´・v・) (((o(*゚▽゚*)o))) ☆*:.。. o(≧▽≦)o .。.:*☆ (⌒▽⌒)☆ ⊂((・▽・))⊃ (≧∇≦)/ (´∇ノ`*)ノ (・◇・) ( ´ ▽ ` )ノ (^_^) ( ̄ー ̄) (*^▽^*) (^▽^) (’-’*) ∩( ・ω・)∩ (*≧▽≦) \(^ ^)/ O(≧∇≦)O ( ´∀`) (^~^) \(@ ̄∇ ̄@)/ (☆^O^☆) (★^O^★) (☆^ー^☆) (´ω`★) \(T∇T)/ ヽ(*≧ω≦)ノ *(*´∀`*)☆ O(≧▽≦)O ヽ(*⌒∇⌒*)ノ d=(´▽`)=b \(*T▽T*)/ ヽ(‘ ∇‘ )ノ (*^ワ^*) ヽ(^Д^)ノ (´∀`) (°◇°;) (゜▽゜;) (/^▽^)/ (ノ´ー`)ノ ヽ(´ー`)ノ ( ^∇^) \( `.∀´)/ (●⌒∇⌒●) o(≧∇≦o) ヽ(`◇´)/ ヽ(*・ω・)ノ (^ω^) 。◕‿◕。 ⊙ω⊙ ⊙△⊙ ⊙▽⊙ o (◡‿◡✿) (◕‿◕✿) (∩_∩) 。◕‿◕。 (•ิ_•ิ) (/•ิ_•ิ)/ (ΦωΦ) (*^^*) (-^〇^-) (ノ*゜▽゜*) ヾ(´▽`;)ゝ (゜▼゜*) ( ̄个 ̄) \(^▽^@)ノ (“⌒∇⌒”) へ(゜∇、°)へ (-^〇^-) (>y<) ヽ(^。^)丿 (ヘ。ヘ) (^v^) ヾ(@^▽^@)ノ ヾ(@°▽°@)ノ ヾ(@^▽^@)ノ ヾ(@^∇^@)ノ o((*^▽^*))o ヾ(@゜∇゜@)ノ ヾ(@゜▽゜@)ノ (@´_`@) ヾ(@† ▽ †@)ノ (ノ>▽<。)ノ \(@;◇;@)/ \(☆o◎)/ (((\(@v@)/))) (°◇°;) (゜▽゜;) (o;TωT)o ヽ(;^o^ヽ) (⌒▽⌒ゞ “ヽ(´▽`)ノ” (((o(*゚▽゚*)o))) ヾ(@⌒ー⌒@)ノ Ψ(´▽`)Ψ (v^_^)v (ી(΄◞ิ౪◟ิ‵))♥ (ღ˘⌣˘ღ) ლ(╹◡╹ლ) (◑‿◐) ლ(́◉◞౪◟◉‵ლ) (*~▽~) (∩▂∩) (¬‿¬) (n˘v˘•)¬
- Hiding: |・ω・`) ヘ(・_| |−・;) |ω・) |_・)
- In Love: (´∀`)♥ (‘∀’●)♥ (*´▽`*♥ (*°∀°)=3 (´ω`♥%♥ ヽ(愛´∀`愛)ノ ♡ (●´∀`)ノ♡ ♡^▽^♡ (。-_-。 )人( 。-_-。) (●♡∀♡) (_´ω`) (´ ▽`).。o♡ (o⌒.⌒o) (人´∀`*) (〃・・〃) ♥(ノ´∀`) (ღ˘⌣˘ღ) (。’▽’。)♡ (●´□`)♡ (。♥‿♥。) (✿ ♥‿♥) ♥╣[-_-]╠♥
- Kissing: (´ε` )♡ ~(^з^)-☆ |°з°| (_ε_) (‘ε’) |( ̄3 ̄)| ( ̄ε ̄@) (*^3^) (´ε`*) (○´3`)ノ (☆´3`) (* ̄з ̄) (づ ̄ ³ ̄)づ (○゜ε^○) (TεT) (-ε- ) (@ーεー@) (*^3^)/~☆ ლ(|||⌒εー|||)ლ (╯3╰) (ΘεΘ;)
- Laughing: (・∀・) ( ´∀`) (⌒▽⌒) (^v^) (*≧▽≦)ノシ)) (●´艸`) (*´艸`*) (。 >艸<) (*≧艸≦) (*・艸・)
- Whatever: ヽ(´ー`)┌ ┗┐ヽ(′Д、`*)ノ┌┛ ヽ( ´¬`)ノ ┗┃・ ■ ・┃┛ ヾ(´A`)ノ゚ ヽ(・_・;)ノ ヽ(  ̄д ̄;)ノ \(〇_o)/ ヽ(。_°)ノ \(;´□`)/ ヾ(*´ー`)ノ ヽ(‘ー`)ノ ヽ(ー_ー )ノ ヽ(´~`;) ┐(‘~`;)┌ ヽ(*ω。)ノ (;´・`)> (^~^) ╮(─▽─)╭ ¯\_(ツ)_/¯ ٩(-̮̮̃-̃)۶ ٩(-̮̮̃•̃)۶
- Monkey: @(o・ェ・)@ └@(・ェ・)@┐ @(。・o・)@ @(o・ェ・o)@ @(/o・ェ・o)@/ @(*^ェ^)@
- Mustache: (´┏o┓`) ミ(´┏ω┓`)/ (´┏・┓`) ( ̄┏Д┓ ̄°*) ( ̄┏Д┓ ̄ ) (  ̄┏_┓ ̄) (ノ≧┏Д┓≦)ノ ( ̄┏∞┓ ̄)
- Pain: ☆⌒(>。≪) ☆ ̄(>。☆) ~(>_<~) ヘ(>_<ヘ) (。_+)\ (xLx)ヾ /(*ι*)ヾ (ノ>ノ) /(x~x)\ ◎☆(♯××)┘ ヘ(。□°)ヘ
- Pig: ( ´(00)`) ヾ(;゚(OO)゚)ノ ヽ(*’(OO)’)ノ ( ̄(oo) ̄)ノ (○`(●●)´○)ノ (*’(OO)’*) ( ´(00)`) (;゚(OO)゚) (*´(00)`)’ ヽ(*’(OO)’)ノ゚ q( ̄(oo) ̄)p 。゚(゚´(00)`゚)゚。 ( ̄(∞) ̄) ( ̄(▽▽) ̄) (=`(∞)´=)
- Sad/Crying: ( ; ; ) (T_T) ( TДT) (ToT) (T▽T) (‘A`) (;_・)(T_T) ((T.T; ) (; T.T)) (;へ:) (ノД`)・゜・。 ・(/Д`)・ (´_`。) (´Д`。) (´A`。) (´∩`。) 。:゚(。ノω\。)゚・。 (┳Д┳) (´;д;`) (*´;ェ;`*) 。・゚゚・(>д<)・゚゚・。 (。┰ω┰。) (゜´Д`゜) (iДi) (´;ω;`) 。゚(゚ノД`゚)゚。 ヽ(´□`。)ノ (゚´Д`゚)゚ {{p´Д`q}} ヽ(●゚´Д`゚●)ノ゚ ( p_q) .・゜゜・(/。\)・゜゜・. (个_个) ((´д`)) ( ≧Д≦) 。゜(`Д´)゜。 (。┰ω┰。) p(´⌒`。q) (/□\*)・゜ ((o(;△;)o)) (; ̄д ̄) (ㄒoㄒ) ⊙︿⊙ o(╥﹏╥)o o(;△;)o (;*△*;) (´╥﹏╥ (´°̥̥̥̥̥̥̥̥ω°̥̥̥̥̥̥̥̥`) (∩︵∩) (╯︵╰,) (╥_╥) (╯︵╰,)
- Scared: (ノдヽ) ヽ(゚Д゚)ノ (/。\) (/_\) (/.\)
- Surprised: ( ꒪Д꒪)ノ (((( ;°Д°)))) ((((;゜Д゜))) (゜◇゜) ( ̄□ ̄;) ∑(O_O;) \(>o<)ノ ━Σ(゚Д゚|||)━ Σ(゜ロ゜;) Σ(゜゜) (*゚ロ゚) (」゜ロ゜)」 щ(゜ロ゜щ) (ノ゚0゚)ノ~ ⊙▂⊙ ⊙0⊙ w(°o°)w L(・o・)」 (○o○) (・□・;) ((((;゜Д゜)))
- Embarrassed: (^_^;) (^^ゞ (^^;) (#^.^#) (‘-’*) (*^^*) (@´_`@) (⌒_⌒;) (#`ε´#ゞ (*/∇\*) (〃 ̄ω ̄〃ゞ (*´ェ`*) (*´∀`*) (*´_ゝ`) (*´∀`*) (/ω\) (*ノ▽ノ) (*ノωノ) (/。\) (。-_-。) (#/。\#) (╯_╰) (╯ಊ╰)
- Singing: ヾ(´□`* )ノ (^O^☆♪ \(^o^)/ (´▽`)ノ♪ “ヽ(´▽`)ノ” ヽ(´▽`;)/♪ ヽ(´・`)ノ ヽ(○´∀`)ノ♪ ヾ(´ρ`)〃 ヾ(´〇`)ノ (´△`)♪ (ノ´▽`)ノ♪
- Sleeping: Σ( ̄。 ̄ノ)ノ (-ェ-)。o (;´ρ`) (*´ο`*) ε-(´・`) \(o ̄∇ ̄o)/ \(´O`)/ [(--)]zzz (´~`) ヾ(。 ̄□ ̄)ツ ヾ( ̄0 ̄; )ノ ヾ(。 ̄□ ̄)ツ ヾ( ̄□ ̄;)ノ (。-ω-)zzz (-_-) zzz (∪。∪)。。。zzz (´〜`*) zzz ∑( ̄□ ̄) (o´Д`) ()´д`() (;≧皿≦) (´□`川) (⇀‸↼‶)ᕗ (ι´Д`)ノ (ᴗ˳ᴗ) _ノ乙(、ン、)_
- Smug: ー( ̄~ ̄)ξ ((( ̄へ ̄井) (`へ´*)ノ ( ̄^ ̄) ( ̄へ ̄) ( ̄~ ̄;) ( ̄ェ ̄;) (-、-) ( ;`ヘ´) o(´^`)o ( ̄ω ̄;) (`^´)ノ <( ̄︶ ̄)>
- Winking: (^_-) (-o⌒) (^_−) (^_-) (^_−)o(^_-) (^_・) ๏[-ิ_•ิ]๏ (○゜ε^○) (^_-)≡★ ☆~(ゝ。∂) \(^0^)/ (・ェ-)
- Worried: (ーー;) ( ;´Д`) (; ̄ェ ̄) ヽ( ̄д ̄;)ノ ( ̄◇ ̄;) ヽ( ̄д ̄;)ノ (−_−;) (~_~;) ((*゜Д゜)ゞ” (・_-。 ) ⊙﹏⊙ ミ●ミ (-’๏_๏’-) (⊙…⊙ ) ( ´△`) (;° ロ°) ヽ(゜ロ゜;)ノ (°o°* +;(●´・д・`●);+
- Etc: ☆彡 ★彡 ☆彡 ★彡 ☆.。.:*・°☆.。.:*・°☆.。.:*・°☆.。.:*
・°☆ `*:;,.★ ~☆・:.,;* - Forever Alone: 、ヽ`ヽ`、ヽ``、ヽ`、ヽ`ヽ`、、ヽ`ヽ`
、ヽ``、ヽ`、ヽ`ヽ`、、ヽ`ヽ`、ヽ``、ヽ`、ヽ`ヽ` 、、ヽ`ヽ`、ヽマッテェ(ノ;Д;)ノ `、、ヽ`☂ヽ`、ヽ``、ヽ`、ヽ`ヽ`、、ヽ`ヽ`、ヽ`` 、ヽ`、ヽ`ヽ`、、ヽ`ヽ`、ヽ``、ヽ`、ヽ`ヽ`、、ヽ、 ヽ`ヽ`、ヽ``
my{} JAVA date incriment decrement
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication1;
import java.util.Calendar;
import java.util.Scanner;
import java.io.Console;
/**
*
* @author class
*/
public class JavaApplication1 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// create a calendar
Calendar cal = Calendar.getInstance();
// print current time
System.out.println("Current year is :" + cal.getTime());
// set the year,month and day to something else
cal.add(Calendar.DAY_OF_MONTH, -5);
// print the result
System.out.println("-5 days prior :" + cal.getTime());
}
}
/*
*
* Scanner reader = new Scanner(System.in);
System.out.println("Enter the first number");
//get user input for a
a=reader.nextInt();
*
*
* Console console = System.console();
String input = console.readLine("Enter input:");
*/
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication1;
import java.util.Calendar;
import java.util.Scanner;
import java.io.Console;
/**
*
* @author class
*/
public class JavaApplication1 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// create a calendar
Calendar cal = Calendar.getInstance();
// print current time
System.out.println("Current year is :" + cal.getTime());
// set the year,month and day to something else
cal.add(Calendar.DAY_OF_MONTH, -5);
// print the result
System.out.println("-5 days prior :" + cal.getTime());
}
}
/*
*
* Scanner reader = new Scanner(System.in);
System.out.println("Enter the first number");
//get user input for a
a=reader.nextInt();
*
*
* Console console = System.console();
String input = console.readLine("Enter input:");
*/
my{} JAVA array app source
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication1;
/**
*
* @author Class
*/
import javax.swing.JOptionPane;
public class JavaApplication1 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
int max = -999;
int[] myArray = {5, 8, 2, 10, 9, 4};
JOptionPane.showMessageDialog( null, "Here are the list of numbers" );
for (int i = 0; i < myArray.length; i++) {
JOptionPane.showMessageDialog( null, myArray[i], "Member of the Array" , JOptionPane.CLOSED_OPTION);}
JOptionPane.showMessageDialog( null,"In the array, the larget value is "
+ getLargest(myArray, max) + ".");
}
public static int getLargest(int[] myArray, int max)
{
int i = 0, j = 0, tempmax = 0;
if (myArray.length == 1)
{
return myArray[0] > max ? myArray[0] : max;
}
else if (max < myArray[i])
{
max = myArray[i];
int[] tempArray = new int[myArray.length-1];
for (i = 1; i < myArray.length; i++)
{
tempArray[j] = myArray[i];
j++;
}
tempmax = getLargest(tempArray, max);
return tempmax;
}
else
{
int[] tempArray = new int[myArray.length-1];
for (i = 1; i < myArray.length; i++)
{
tempArray[j] = myArray[i];
j++;
}
tempmax = getLargest(tempArray, max);
return tempmax;
}
}
}
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication1;
/**
*
* @author Class
*/
import javax.swing.JOptionPane;
public class JavaApplication1 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
int max = -999;
int[] myArray = {5, 8, 2, 10, 9, 4};
JOptionPane.showMessageDialog(
for (int i = 0; i < myArray.length; i++) {
JOptionPane.showMessageDialog(
JOptionPane.showMessageDialog(
+ getLargest(myArray, max) + ".");
}
public static int getLargest(int[] myArray, int max)
{
int i = 0, j = 0, tempmax = 0;
if (myArray.length == 1)
{
return myArray[0] > max ? myArray[0] : max;
}
else if (max < myArray[i])
{
max = myArray[i];
int[] tempArray = new int[myArray.length-1];
for (i = 1; i < myArray.length; i++)
{
tempArray[j] = myArray[i];
j++;
}
tempmax = getLargest(tempArray, max);
return tempmax;
}
else
{
int[] tempArray = new int[myArray.length-1];
for (i = 1; i < myArray.length; i++)
{
tempArray[j] = myArray[i];
j++;
}
tempmax = getLargest(tempArray, max);
return tempmax;
}
}
}
my{} JAVA stacknumberpop app
Write a java program that permits a user to enter a maximum of 10 intergers ointo a stack object, then have your program sort the stack contents into increasing order, (A-z) thus if the contents of the stack initially 4521 into 1245
package javaapplication2;
import java.util.Stack;
/**
*
* @author Class
*/
public class JavaApplication2 {
/**
* @param args the command line arguments
*/
public static void main(String args[])
{
// Create a new, empty stack
Stack mynum = new Stack();
System.out.println ("normal order is : 1, 2, 3, 4,");
// Let's add some items to it
for (int i = 1; i <= 4; i++)
{
mynum.push ( new Integer(i) );
}
// Last in first out means reverse order
while ( !mynum.empty() )
{
System.out.print ( mynum.pop() );
System.out.print ( ',' );
}
// empty
System.out.println (" reverse order empty last first then to least");
}
}
package javaapplication2;
import java.util.Stack;
/**
*
* @author Class
*/
public class JavaApplication2 {
/**
* @param args the command line arguments
*/
public static void main(String args[])
{
// Create a new, empty stack
Stack mynum = new Stack();
System.out.println ("normal order is : 1, 2, 3, 4,");
// Let's add some items to it
for (int i = 1; i <= 4; i++)
{
mynum.push ( new Integer(i) );
}
// Last in first out means reverse order
while ( !mynum.empty() )
{
System.out.print ( mynum.pop() );
System.out.print ( ',' );
}
// empty
System.out.println (" reverse order empty last first then to least");
}
}
Java, .Net and C# and JDBC
http://www.dotnetperls.com/var - c#
http://www.daniweb.com/ software-development/java/ threads/316496/how-to- determine-the-sum-of-the- squares-of-two-numbers-using- a-recursive-method
http://www.vogella.com/ tutorials/ JavaAlgorithmsQuicksort/ article.html
https://cs.wmich.edu/~llilien/ teaching/2010spr/cs1120/_ downloads/Lect.15c2-- QuickSort%28modif%29.txt
http://www.java2s.com/Code/Java/Database-SQL-JDBC/CatalogDatabase-SQL-JDBC.htm
http://www.daniweb.com/
http://www.vogella.com/
https://cs.wmich.edu/~llilien/
http://www.java2s.com/Code/Java/Database-SQL-JDBC/CatalogDatabase-SQL-JDBC.htm
SEND TEXT MASSAGE USING JAVA
http://www.ipipi.com/help/send_text_message_using_java.htm
AT&T – cellnumber@txt.att.net
Verizon – cellnumber@vtext.com
T-Mobile – cellnumber@tmomail.net
Sprint PCS - cellnumber@messaging. sprintpcs.com
Virgin Mobile – cellnumber@vmobl.com
US Cellular – cellnumber@email.uscc.net
Nextel - cellnumber@messaging.nextel. com
Boost - cellnumber@myboostmobile.com
Alltel – cellnumber@message.alltel.com
Example code to send text messages written in Java.
Must Download 1. mail.jar from JavaMail athttp://java.sun.com/products/javamail/downloads/index.html
2. activation.jar athttp://java.sun.com/products/javabeans/jaf/downloads/index.html
and set classpath to the location where the files are stored. This code is provided as sample only.
import java.io.*;
import java.net.InetAddress; import java.util.Properties; import java.util.Date; import javax.mail.*; import javax.mail.internet.*; import javax.activation.*;
public class SMTPSend {
public SMTPSend() {
} public void msgsend() { String username = "YoureIPIPIUsername"; String password = "YourPassword"; String smtphost = "ipipi.com"; String compression = "Compression Option goes here - find out more"; String from = "YoureIPIPIUsername@ipipi.com"; String to = "DestinationPhoneNumber@sms.ipipi.com"; String body = "Your Message"; Transport tr = null;
try {
Properties props = System.getProperties(); props.put("mail.smtp.auth", "true"); // Get a Session object Session mailSession = Session.getDefaultInstance(props, null); // construct the message Message msg = new MimeMessage(mailSession); //Set message attributes msg.setFrom(new InternetAddress(from)); InternetAddress[] address = {new InternetAddress(to)}; msg.setRecipients(Message.RecipientType.TO, address); msg.setSubject(compression); msg.setText(body); msg.setSentDate(new Date()); tr = mailSession.getTransport("smtp"); tr.connect(smtphost, username, password); msg.saveChanges(); tr.sendMessage(msg, msg.getAllRecipients()); tr.close(); } catch (Exception e) { e.printStackTrace(); } } public static void main(String[] argv) { SMTPSend smtpSend = new SMTPSend(); smtpSend.msgsend(); } } |
Subscribe to:
Comments (Atom)
import java.util.*;
public class HeartRates {
private String firstName;
private String lastName;
private int month; //month of date of birth
private int day; //day of DOB
private int year; //year of DOB
//constructor
public HeartRates(String firstName,String lastName, int month, int day, int year){
this.firstName = firstName;
this.lastName = lastName;
this.month = month;
this.day = day;
this.year = year;
}
//setter methods
public void setFirstName(String value){
firstName = value;
}
public void setLastName(String value){
lastName = value;
}
public void setMonth(int value){
month = value;
}
public void setDay(int value){
day =value;
}
public void setYear(int value){
year =value;
}
//getter methods
public String getFirstName(){
return firstName;
}
public String getLastName(){
return lastName;
}
public int getMonth(){
return month;
}
public int getDay(){
return day;
}
public int getYear(){
return year;
}
//returns age of the person in years
public int getAge(){
Calendar cd = Calendar.getInstance();
return (cd.get(Calendar.YEAR)) - year;
}
//return maximum heart rate
public int maximumHeartRate(){
return 220 - getAge();
}
//displays the target herat rate range
public void targetHeartRate(){
System.out.print("Target Heart Rate Range: "+ maximumHeartRate() * 0.5 + " to "+ maximumHeartRate() * 0.85);
}
}