Skip to content

Commit b5f194e

Browse files
committed
stubs and code execution
1 parent 4ff393c commit b5f194e

File tree

115 files changed

+14752
-204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+14752
-204
lines changed

constants.py

+37-16
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
LEARNSHELL_DOMAIN = "learnshell.org"
77
LEARNPHP_DOMAIN = "learn-php.org"
88
LEARNPERL_DOMAIN = "learn-perl.org"
9+
LEARNCS_DOMAIN = "learncs.org"
910

1011
DOMAIN_DATA = {
1112
LEARNPYTHON_DOMAIN : {
@@ -17,8 +18,7 @@
1718
"styled_domain" : "LearnPython.org",
1819
"contact_email" : "[email protected]",
1920
"support_email" : "[email protected]",
20-
"logo" : "/static/img/learnpython.png",
21-
"jobs_logo" : "/static/img/learnpython-jobs.png",
21+
"logo" : "/static/img/logos/learnpython.png",
2222
"language_uppercase" : "Python",
2323
"twitter" : "@learnpython",
2424
"favicon" : "favicon-learnpython.ico",
@@ -39,8 +39,7 @@
3939
"styled_domain" : "Learn-C.org",
4040
"contact_email" : "[email protected]",
4141
"support_email" : "[email protected]",
42-
"logo" : "/static/img/learn-c.png",
43-
"jobs_logo" : "/static/img/learn-c-jobs.png",
42+
"logo" : "/static/img/logos/learn-c.png",
4443
"language_uppercase" : "C",
4544
"twitter" : "@learnc",
4645
"favicon" : "favicon-learn-c.ico",
@@ -66,8 +65,7 @@
6665
"styled_domain" : "LearnJavaOnline.org",
6766
"contact_email" : "[email protected]",
6867
"support_email" : "[email protected]",
69-
"logo" : "/static/img/learnjavaonline.png",
70-
"jobs_logo" : "/static/img/learnjavaonline-jobs.png",
68+
"logo" : "/static/img/logos/learnjavaonline.png",
7169
"language_uppercase" : "Java",
7270
"twitter" : "@learnjava",
7371
"favicon" : "favicon-learnjava.ico",
@@ -97,8 +95,7 @@
9795
"styled_domain" : "Learn-JS.org",
9896
"contact_email" : "[email protected]",
9997
"support_email" : "[email protected]",
100-
"logo" : "/static/img/learn-js.png",
101-
"jobs_logo" : "/static/img/learn-js-jobs.png",
98+
"logo" : "/static/img/logos/learn-js.png",
10299
"language_uppercase" : "JavaScript",
103100
"twitter" : "@learnjs",
104101
"favicon" : "favicon-learn-js.ico",
@@ -119,8 +116,7 @@
119116
"styled_domain" : "LearnRubyOnline.org",
120117
"contact_email" : "[email protected]",
121118
"support_email" : "[email protected]",
122-
"logo" : "/static/img/learnrubyonline.png",
123-
"jobs_logo" : "/static/img/learnrubyonline-jobs.png",
119+
"logo" : "/static/img/logos/learnrubyonline.png",
124120
"language_uppercase" : "Ruby",
125121
"twitter" : "@learnruby",
126122
"favicon" : "favicon-ruby.ico",
@@ -141,8 +137,7 @@
141137
"styled_domain" : "LearnShell.org",
142138
"contact_email" : "[email protected]",
143139
"support_email" : "[email protected]",
144-
"logo" : "/static/img/learnshell.png",
145-
"jobs_logo" : "/static/img/learnshell-jobs.png",
140+
"logo" : "/static/img/logos/learnshell.png",
146141
"language_uppercase" : "Shell Programming",
147142
"twitter" : "@learnshell",
148143
"favicon" : "favicon-shell.ico",
@@ -165,8 +160,7 @@
165160
"styled_domain" : "Learn-PHP.org",
166161
"contact_email" : "[email protected]",
167162
"support_email" : "[email protected]",
168-
"logo" : "/static/img/learn-php.png",
169-
"jobs_logo" : "/static/img/learn-php-jobs.png",
163+
"logo" : "/static/img/logos/learn-php.png",
170164
"language_uppercase" : "PHP",
171165
"twitter" : "@learnphp",
172166
"favicon" : "favicon-learn-php.ico",
@@ -189,8 +183,7 @@
189183
"styled_domain" : "Learn-Perl.org",
190184
"contact_email" : "[email protected]",
191185
"support_email" : "[email protected]",
192-
"logo" : "/static/img/learn-perl.png",
193-
"jobs_logo" : "/static/img/learn-perl-jobs.png",
186+
"logo" : "/static/img/logos/learn-perl.png",
194187
"language_uppercase" : "Perl",
195188
"twitter" : "@learnperl",
196189
"favicon" : "favicon-learn-perl.ico",
@@ -201,4 +194,32 @@
201194
print 'Hello, World!';
202195
"""},
203196

197+
198+
LEARNCS_DOMAIN : {
199+
"language" : "c#",
200+
"analytics" : "UA-22741967-9",
201+
"namespace" : "learncs.org",
202+
"full_url" : "http://learncs.org",
203+
"sender" : "LearnCS.org <[email protected]>",
204+
"styled_domain" : "LearnCS.org",
205+
"contact_email" : "[email protected]",
206+
"support_email" : "[email protected]",
207+
"logo" : "/static/img/logos/learncs.png",
208+
"language_uppercase" : "C#",
209+
"twitter" : "@learncs",
210+
"favicon" : "favicon-learncs.ico",
211+
"copyright" : "Copyright &copy; LearnCS.org.",
212+
"default_code" : """// Welcome to the Interactive C# Tutorial.
213+
// Start by choosing a chapter and write your code in this window.
214+
215+
using System;
216+
217+
public class Hello1
218+
{
219+
public static void Main()
220+
{
221+
Console.WriteLine("Hello, World!");
222+
}
223+
}
224+
"""},
204225
}

0 commit comments

Comments
 (0)