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
fibs = 0 : 1 : zipWith (+) fibs (tail fibs) |
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
test |
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
tttttt |
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
++++++++++ | |
[ Boucle initiale qui affecte des valeurs utiles au tableau | |
>+++++++>++++++++++>+++>+<<<<- | |
] | |
à la sortie de la boucle le tableau contient: | |
>++. 'H' = 72 (70 plus 2) | |
>+. 'e' = 101 (100 plus 1) | |
+++++++. 'l' = 108 (101 plus 7) | |
. 'l' = 108 | |
+++. 'o' = 111 (108 plus 3) |
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
/* | |
Before to use this, U need to place 2 jar file in lib folder of your | |
play project. | |
jcommon-xx.jar | |
jfreechart-xx.jar | |
( These File can found in JFreeChart Download Package lib folder) | |
Here is Code in controller Method. | |
*/ |
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 jto.demo | |
case class Log(v: String){ | |
def log = print("[LOG] " + v) | |
} | |
trait LogConv{ | |
implicit def toLog(v: String): Log = Log(v) | |
} |
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 jto.demo | |
object HelloWorld { | |
def main(args: Array[String]) { | |
println("Hello, world!") | |
} | |
} |
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
test |
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 os | |
import time | |
from fabric.api import * | |
from fabric.contrib.files import exists | |
#Roles | |
env.roledefs = { | |
'testing': ['localhost'], | |
'staging': ['host1.preprod', 'host2.preprod'], | |
'production': ['prod1.demo.com', 'prod2.demo.com'] |
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 controllers; | |
import com.google.gson.Gson; | |
import play.mvc.*; | |
import play.data.validation.*; | |
import java.util.*; | |
import models.*; |
OlderNewer