Skip to content

Instantly share code, notes, and snippets.

View lynnlangit's full-sized avatar
🏗️
building

Lynn Langit lynnlangit

🏗️
building
View GitHub Profile
@lynnlangit
lynnlangit / FizzBuzz.java
Created October 14, 2014 02:55
TKP Java FizzBuzz Solution
package org.teachingkidsprogramming.sectionLYNNtdd;
import org.teachingextensions.utils.VirtualProctor;
public class FizzBuzz
{
public static String convert(int i)
{
VirtualProctor.setName("LynnLangit");
if (0 == i % 15) { return "FizzBuzz"; }
@lynnlangit
lynnlangit / FizzBuzzTest.java
Created October 14, 2014 02:57
TKP Java FizzBuzz Tests Solutions
package org.teachingkidsprogramming.sectionLYNNtdd;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class FizzBuzzTest
{
@Test
public void test1Returns1()
@lynnlangit
lynnlangit / HelloWorld.r
Last active August 29, 2015 14:07
Hello World in R
hello<-function() cat("Hello, world!\n")
@lynnlangit
lynnlangit / TKP pom.xml
Created October 19, 2014 02:07
Maven pom file for Codenvy factory
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.tkp</groupId>
<artifactId>teaching-kids-programming</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Teaching Kids Programming</name>
<build>
@lynnlangit
lynnlangit / TKP pom Method.xml
Created October 24, 2014 15:50
Maven pom file for Codenvy with start point (method)
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.tkp</groupId>
<artifactId>teaching-kids-programming</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Teaching Kids Programming</name>
<build>
@lynnlangit
lynnlangit / teaching_kids_programming.md
Last active October 1, 2020 17:57 — forked from danclien/teaching_kids_programming.md
List of influences on the TKP curriculum
@lynnlangit
lynnlangit / CodenvyGuidedTour
Last active August 29, 2015 14:12
example of guided tour action for Codenvy factory
{
"steps":[
{
"title":"Run the app for TKP",
"content":"A Docker microservice is launched, dependencies are auto-installed and the project is executed. Create custom environments through Docker recipes.![](https://avatars0.githubusercontent.com/u/4691010 = 50x)",
"element":"gwt-debug-MainToolbar/runApp-true",
"placement":"BOTTOM",
"xOffset":"-20",
"actions":[
{
@lynnlangit
lynnlangit / CodenvyComplexGuidedTour
Last active August 29, 2015 14:12
example of complex Codenvy Guided Tour
{
"hasWelcomeStep" : true,
"steps": [
{
"title": "Getting Started with TKP and Codenvy",
"content": "Apache TomEE (pronounced \"Tommy\") is an all-Apache Java EE 6 Web profile certified stack built on Apache Tomcat. Discover how to get started with TomEE, using our JAX-RS/Angular starter project. This fork-and-go project is a great starting point for your own JAX-RS application.\n\nDiscover Apache TomEE in Codenvy, the world's most advanced cloud IDE. Modify the code for this project, build it, run it and share it from within your browser.\n\nThis tour will guide you through editing and running the JAX-RS sample in Codenvy.\n\nIt will take 3 minutes to complete.\n\nIf you need help contact us on our [http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html Users Forum]. This temporary workspace will destroy your work if you become idle. [https://codenvy.com/site/create-account Sign up for a free account] to save your work.",
"element": "gwt-debug-MainToolbar/runApp-true",
@lynnlangit
lynnlangit / TKPCodenvyTour
Last active August 29, 2015 14:13
TKP Welcome Tour for Codenvy
{
"hasWelcomeStep" : true,
"steps": [
{
"title": "Getting Started with TKPJava and Codenvy",
"content": "TKPJava is set of customized courseware designed to help you learn basic programming concepts. Discover how to get started with TKPJava, using our starter project. Modify the code for this project, build it, run it and share it from within your browser.\n\nThis tour will guide you through editing and running the TKPJava sample in Codenvy.\n\nIt will take 3 minutes to complete.\n\nIf you need help contact us on our [http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html Users Forum]. This temporary workspace will destroy your work if you become idle. [https://codenvy.com/site/create-account Sign up for a free account] to save your work.",
"element": "gwt-debug-MainToolbar/runApp-true",
"placement": "BOTTOM",
"xOffset": "200",
"yOffset": "100",
@lynnlangit
lynnlangit / FizzBuzz.py
Created August 10, 2015 20:40
FizzBuzz Python Example
def fizzbuzz(intList):
if intList % 3 == 0 and intList % 5 == 0:
print "Fizzbuzz"
elif intList % 3 == 0:
print "Fizz"
elif intList % 5 == 0:
print "Buzz"
else:
print intList