Merge remote-tracking branch 'upstream/master'

This commit is contained in:
thathexa
2018-07-02 17:09:52 +03:00
50 changed files with 202 additions and 240 deletions

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Mike Donaghy [leachim6]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -10,9 +10,11 @@ Thanks to everyone who continues to contribute, new languages are created every
Make sure to see CONTRIBUTING.md for instructions on contributing to the project! Make sure to see CONTRIBUTING.md for instructions on contributing to the project!
Spin-Off project smartly suggested and implemented by [@zenware](https://github.com/zenware): Spin-Off project smartly suggested and implemented by [@zenware](https://github.com/zenware):
Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-world](https://github.com/leachim6/hello-world). Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-world](https://github.com/leachim6/hello-world).
* [Hello Html](e/elm.elm)
### This repository currently contains "Hello World" programs in the following languages: ### This repository currently contains "Hello World" programs in the following languages:
* [0815](%23/0815.0815) * [0815](%23/0815.0815)
* [1C Enterprise](%23/1c-enterprise) * [1C Enterprise](%23/1c-enterprise)
@@ -67,9 +69,11 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Assembler 6502C64](a/assembler_6502c64.asm) * [Assembler 6502C64](a/assembler_6502c64.asm)
* [Assembler 6809Vectrex](a/assembler_6809vectrex.asm) * [Assembler 6809Vectrex](a/assembler_6809vectrex.asm)
* [Assembler 8048 Videopac](a/assembler_8048_videopac.asm) * [Assembler 8048 Videopac](a/assembler_8048_videopac.asm)
* [Assembler Arm](a/assembler_arm.s)
* [Assembler Atari2600](a/assembler_atari2600.asm) * [Assembler Atari2600](a/assembler_atari2600.asm)
* [Assembler Dcpu16](a/assembler_DCPU16.asm) * [Assembler Dcpu16](a/assembler_DCPU16.asm)
* [Assembler Fasm Dos](a/assembler_fasm_dos.asm) * [Assembler Fasm Dos](a/assembler_fasm_dos.asm)
* [Assembler Hla](a/assembler_hla.hla)
* [Assembler Ibm360](a/assembler_ibm360.asm) * [Assembler Ibm360](a/assembler_ibm360.asm)
* [Assembler Intel](a/assembler_intel.asm) * [Assembler Intel](a/assembler_intel.asm)
* [Assembler Lc 3](a/assembler_lc-3.asm) * [Assembler Lc 3](a/assembler_lc-3.asm)
@@ -82,14 +86,17 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Assembler Nasm Freebsd](a/assembler_nasm_freebsd.asm) * [Assembler Nasm Freebsd](a/assembler_nasm_freebsd.asm)
* [Assembler Nasm Linux](a/assembler_nasm_linux.asm) * [Assembler Nasm Linux](a/assembler_nasm_linux.asm)
* [Assembler Nasm Linux64](a/assembler_nasm_linux64.asm) * [Assembler Nasm Linux64](a/assembler_nasm_linux64.asm)
* [Assembler Nasm Win32](a/assembler_nasm_win32.asm)
* [Assembler Tasm Dos](a/assembler_tasm_dos.asm) * [Assembler Tasm Dos](a/assembler_tasm_dos.asm)
* [Assembler Tms9900 Ti99 4A](a/assembler_tms9900_ti99_4a.asm) * [Assembler Tms9900 Ti99 4A](a/assembler_tms9900_ti99_4a.asm)
* [Assembler Vax Ultrix](a/assembler_vax_ultrix.asm) * [Assembler Vax Ultrix](a/assembler_vax_ultrix.asm)
* [Assembler Z80 Knightos](a/assembler_z80_knightos.asm) * [Assembler Z80 Knightos](a/assembler_z80_knightos.asm)
* [Assembler Z80 Ti83Calculator](a/assembler_z80_ti83calculator.asm) * [Assembler Z80 Ti83Calculator](a/assembler_z80_ti83calculator.asm)
* [Assembler Z80 Zxspectrum](a/assembler_z80_zxspectrum.asm) * [Assembler Z80 Zxspectrum](a/assembler_z80_zxspectrum.asm)
* [Attache](a/Attache.@)
* [Autohotkey](a/autohotkey.ahk) * [Autohotkey](a/autohotkey.ahk)
* [Autoit](a/autoit.au3) * [Autoit](a/autoit.au3)
* [Awful](a/awful.yuk)
* [Awk](a/awk.awk) * [Awk](a/awk.awk)
* [B](b/B.b) * [B](b/B.b)
* [Bash](b/bash.bash) * [Bash](b/bash.bash)
@@ -109,8 +116,8 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Blitz3D](b/blitz3d.bb) * [Blitz3D](b/blitz3d.bb)
* [Blub](b/blub.blub) * [Blub](b/blub.blub)
* [Boo](b/boo.boo) * [Boo](b/boo.boo)
* [Brainf Ck 2D](b/brainf-ck-2d.bf2d) * [Brainfuck 2D](b/brainfuck-2d.bf2d)
* [Brainf Ck](b/brainf-ck.bf) * [Brainfuck](b/brainfuck.bf)
* [Brainloller](b/Brainloller.png) * [Brainloller](b/Brainloller.png)
* [Broccoli](b/broccoli.brocc) * [Broccoli](b/broccoli.brocc)
* [Brzrk](b/BRZRK.brzrk) * [Brzrk](b/BRZRK.brzrk)
@@ -147,9 +154,10 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Crystal](c/crystal.cr) * [Crystal](c/crystal.cr)
* [Csh](c/csh.csh) * [Csh](c/csh.csh)
* [Csharp](c/csharp.cs) * [Csharp](c/csharp.cs)
* [Cson](c/cson.cson)
* [Css](c/css.css) * [Css](c/css.css)
* [Curry](c/curry.curry)
* [Cypherneo4J](c/cypherNeo4j.cypher) * [Cypherneo4J](c/cypherNeo4j.cypher)
* [Hello World](c/hello-world.curry)
* [D](d/d.d) * [D](d/d.d)
* [Dark](d/dark.txt) * [Dark](d/dark.txt)
* [Dart](d/Dart.dart) * [Dart](d/Dart.dart)
@@ -176,19 +184,20 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Eiffel](e/Eiffel.eiff) * [Eiffel](e/Eiffel.eiff)
* [Elixir](e/elixir.ex) * [Elixir](e/elixir.ex)
* [Elixir](e/elixir.exs) * [Elixir](e/elixir.exs)
* [Elm](e/elm.elm)
* [Emacslisp](e/EmacsLisp.el) * [Emacslisp](e/EmacsLisp.el)
* [Emmental](e/emmental.emmental) * [Emmental](e/emmental.emmental)
* [Emojicode](e/emojicode.emojic) * [Emojicode](e/emojicode.emojic)
* [Emoticon](e/emoticon.emoticon) * [Emoticon](e/emoticon.emoticon)
* [Eoool](e/EOOOL.eoool) * [Eoool](e/EOOOL.eoool)
* [Erlang Hw](e/erlang_hw.erl) * [Erlang Hw](e/erlang_hw.erl)
* [Hello Html](e/hello-html.elm)
* [Factor](f/factor.factor) * [Factor](f/factor.factor)
* [Falcon](f/falcon.fal) * [Falcon](f/falcon.fal)
* [False](f/false.f) * [False](f/false.f)
* [Fancy](f/fancy.fy) * [Fancy](f/fancy.fy)
* [Fantom](f/fantom.fan) * [Fantom](f/fantom.fan)
* [Ferite](f/ferite.fe) * [Ferite](f/ferite.fe)
* [Fetlang](f/fetlang.fet)
* [Fish](f/fish.fish) * [Fish](f/fish.fish)
* [Fjoelnir](f/fjoelnir.fjo) * [Fjoelnir](f/fjoelnir.fjo)
* [Fob](f/fob.fob) * [Fob](f/fob.fob)
@@ -209,12 +218,14 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Geojson](g/geojson.geojson) * [Geojson](g/geojson.geojson)
* [Gibberish](g/gibberish.gibberish) * [Gibberish](g/gibberish.gibberish)
* [Glass](g/glass.glass) * [Glass](g/glass.glass)
* [Gml](g/gml.gml)
* [Go](g/go.go) * [Go](g/go.go)
* [Golfscript](g/golfscript.golfscript) * [Golfscript](g/golfscript.golfscript)
* [Golo](g/golo.golo) * [Golo](g/golo.golo)
* [Googleappscript](g/googleappscript.gs) * [Googleappscript](g/googleappscript.gs)
* [Gosu](g/gosu.gosu) * [Gosu](g/gosu.gosu)
* [Gosu](g/gosu.gs) * [Gosu](g/gosu.gs)
* [Gravity](g/gravity.gravity)
* [Green Marl](g/Green-Marl.gm) * [Green Marl](g/Green-Marl.gm)
* [Gri](g/gri.gri) * [Gri](g/gri.gri)
* [Gridscript](g/GridScript.gridscript) * [Gridscript](g/GridScript.gridscript)
@@ -259,7 +270,6 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Java](j/Java.java) * [Java](j/Java.java)
* [Javascript](j/javascript.js) * [Javascript](j/javascript.js)
* [Jess](j/jess.cpl) * [Jess](j/jess.cpl)
* [Jsf*Ck](j/JSF%2Ack.js)
* [Json](j/json.json) * [Json](j/json.json)
* [Jsoniq](j/JSONiq) * [Jsoniq](j/JSONiq)
* [Jsx](j/jsx.js) * [Jsx](j/jsx.js)
@@ -269,7 +279,6 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Kiml](k/KimL.kiml) * [Kiml](k/KimL.kiml)
* [Kipple](k/kipple.kipple) * [Kipple](k/kipple.kipple)
* [Kitten](k/kitten.ktn) * [Kitten](k/kitten.ktn)
* [Kotlin](k/kotlin)
* [Kotlin](k/kotlin.kt) * [Kotlin](k/kotlin.kt)
* [Ksh](k/ksh.ksh) * [Ksh](k/ksh.ksh)
* [Labyrinth](l/labyrinth.labyrinth) * [Labyrinth](l/labyrinth.labyrinth)
@@ -315,6 +324,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Mushcode](m/mushcode.mush) * [Mushcode](m/mushcode.mush)
* [Myrddin](m/myrddin.myr) * [Myrddin](m/myrddin.myr)
* [Mysql](m/mysql.sql) * [Mysql](m/mysql.sql)
* [Mathematica](n/mathematica.nb)
* [Neko](n/neko.neko) * [Neko](n/neko.neko)
* [Nemerle](n/nemerle.n) * [Nemerle](n/nemerle.n)
* [Newtonscript](n/newtonscript.nwt) * [Newtonscript](n/newtonscript.nwt)
@@ -380,6 +390,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Pyret](p/pyret.arr) * [Pyret](p/pyret.arr)
* [Python](p/python.py) * [Python](p/python.py)
* [Python3](p/python3.py) * [Python3](p/python3.py)
* [Q](q/q.q)
* [Qbasic](q/Qbasic.bas) * [Qbasic](q/Qbasic.bas)
* [Qore](q/qore.q) * [Qore](q/qore.q)
* [Qu](q/qu.qu) * [Qu](q/qu.qu)
@@ -392,12 +403,14 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Radixal](r/radixal.radixal) * [Radixal](r/radixal.radixal)
* [Ratfor](r/ratfor.ratfor) * [Ratfor](r/ratfor.ratfor)
* [React](r/react.js) * [React](r/react.js)
* [Readlink](r/readlink.readlink)
* [Reason](r/reason.re) * [Reason](r/reason.re)
* [Rebol](r/rebol.r) * [Rebol](r/rebol.r)
* [Recurse](r/recurse.recurse) * [Recurse](r/recurse.recurse)
* [Restructuredtext](r/reStructuredText.rst) * [Restructuredtext](r/reStructuredText.rst)
* [Rexx](r/rexx.rexx) * [Rexx](r/rexx.rexx)
* [Richtea](r/richtea.tea) * [Richtea](r/richtea.tea)
* [Ring](r/ring.ring)
* [Roco](r/roco.roco) * [Roco](r/roco.roco)
* [Roy](r/roy.roy) * [Roy](r/roy.roy)
* [Ruby](r/ruby.rb) * [Ruby](r/ruby.rb)
@@ -432,6 +445,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Soupscript](s/soupscript.script) * [Soupscript](s/soupscript.script)
* [Sparql](s/sparql.sparql) * [Sparql](s/sparql.sparql)
* [Spoon](s/spoon.spoon) * [Spoon](s/spoon.spoon)
* [Spss](s/spss.spss)
* [Sql](s/sql.sql) * [Sql](s/sql.sql)
* [Squirrel](s/squirrel.nut) * [Squirrel](s/squirrel.nut)
* [Standard Ml](s/standard-ml.sml) * [Standard Ml](s/standard-ml.sml)
@@ -483,7 +497,9 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Visualbasicscript](v/visualbasicscript.vbs) * [Visualbasicscript](v/visualbasicscript.vbs)
* [Visualfoxpro](v/visualfoxpro.prg) * [Visualfoxpro](v/visualfoxpro.prg)
* [Vms](v/vms.vms) * [Vms](v/vms.vms)
* [Vowels](v/Vowels.vw)
* [Vrml](v/vrml.wrl) * [Vrml](v/vrml.wrl)
* [Vue](v/vue.js)
* [Wheat](w/wheat.wheat) * [Wheat](w/wheat.wheat)
* [Whenever](w/whenever.whenever) * [Whenever](w/whenever.whenever)
* [Whirl](w/whirl.wr) * [Whirl](w/whirl.wr)
@@ -506,6 +522,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
* [Y](y/Y.y) * [Y](y/Y.y)
* [Yaml](y/yaml.yaml) * [Yaml](y/yaml.yaml)
* [Yolang](y/yolang.yo) * [Yolang](y/yolang.yo)
* [YoptaScript](y/yoptascript.js)
* [Zbd](z/zbd) * [Zbd](z/zbd)
* [Zepto](z/zepto.zp) * [Zepto](z/zepto.zp)
* [Zetaplex](z/zetaplex.zeta) * [Zetaplex](z/zetaplex.zeta)

View File

@@ -12,3 +12,5 @@ Make sure to see CONTRIBUTING.md for instructions on contributing to the project
Spin-Off project smartly suggested and implemented by [@zenware](https://github.com/zenware): Spin-Off project smartly suggested and implemented by [@zenware](https://github.com/zenware):
Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-world](https://github.com/leachim6/hello-world). Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-world](https://github.com/leachim6/hello-world).
* [Hello Html](e/elm.elm)

1
a/Attache.@ Normal file
View File

@@ -0,0 +1 @@
Print["Hello, World!"]

14
a/assembler_arm.s Normal file
View File

@@ -0,0 +1,14 @@
.data
message: .asciz "Hello World\n"
.text
.global main
main:
mov r0, #1 @ file descriptor 1
ldr r1, =message @ load address of message
mov r7, #4 @ system call write
swi #0 @ display message
mov r0, #0
bx lr

22
a/assembler_bootsect.asm Normal file
View File

@@ -0,0 +1,22 @@
[ORG 0x7C00]
mov si,HelloWorld
call print_string
jmp $
HelloWorld db "Hello world!",0xD,0xA,0
print_string:
mov ah,0xE
.repeat:
lodsb
cmp al,0
je .done
int 0x10
jmp .repeat
.done:
ret
times 510-($-$$) db 0
dw 0xAA55

7
a/assembler_hla.hla Normal file
View File

@@ -0,0 +1,7 @@
program HelloWorld;
#include( "stdlib.hhf" );
begin HelloWorld;
stdout.put( "Hello, world!", nl );
end HelloWorld;

View File

@@ -0,0 +1,10 @@
BITS 32
global _main
extern _printf
section .text
push msg
call _printf
add esp,4
ret
section .data
msg: db "Hello world",0Ah,0

3
a/awful.yuk Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/awful
:writeln s"Hello world!"

4
b/BIRL.c Normal file
View File

@@ -0,0 +1,4 @@
HORA DO SHOW // main code block
CE QUER VER ESSA PORRA? ("Hello, World!\n"); // print "Hello, World!""
BORA CUMPADE 0; // end function
BIRL

0
b/batch.bat Executable file → Normal file
View File

0
b/battlestar.bts Executable file → Normal file
View File

1
b/bolgefuck.bf Normal file
View File

@@ -0,0 +1 @@
wimpmodesHpsepslpslpsops psWpsopsrpslpsdpH //hello world without moving pointers in wimpmode

View File

@@ -1 +1 @@
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

View File

@@ -1,9 +1,9 @@
#include <iostream> #include <iostream> // include API
using namespace std; using namespace std;
int main() int main() // the main code portion of a C++ program
{ {
cout << "Hello World" << endl; cout << "Hello World" << endl; //print Hello World on the screen
return 0; return 0; // conventional
} }

View File

@@ -1 +1 @@
console.log "Hello, World!" alert "Hello, World!"

0
c/csh.csh Executable file → Normal file
View File

1
c/cson.cson Normal file
View File

@@ -0,0 +1 @@
{'hello': 'world'}

1
f/fetlang.fet Normal file
View File

@@ -0,0 +1 @@
Make slave scream "Hello World!"

0
f/fish.fish Executable file → Normal file
View File

0
f/fog.fog.md Executable file → Normal file
View File

2
g/gml.gml Normal file
View File

@@ -0,0 +1,2 @@
// Draws "Hello, world!" onto the screen at position 1, 1
draw_text(1, 1, "Hello, world!");

3
g/gravity.gravity Normal file
View File

@@ -0,0 +1,3 @@
func main() {
System.print("Hello World");
}

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +0,0 @@
package hello
fun main(args : Array<String>) {
println("Hello, world!")
}

View File

@@ -1,15 +1,15 @@
// Hello World in Lisaac // Hello World in Lisaac
Section Header Section Header
+ name := HELLO_WORLD; + name := HELLO_WORLD;
Section Inherit Section Inherit
- parent_object:OBJECT := OBJECT; - parent_object:OBJECT := OBJECT;
Section Public Section Public
- main <- - main <-
( (
"Hello world !\n".print; "Hello world !\n".print;
); );

View File

@@ -1 +0,0 @@

0
list_langs.py Executable file → Normal file
View File

1
n/mathematica.nb Normal file
View File

@@ -0,0 +1 @@
Print["Hello world"]

View File

@@ -1,5 +1,5 @@
program HelloWorld(output); program HelloWorld(output);
begin begin
writeln('Hello World'); writeln('Hello World');
readln readln;
end. end.

View File

@@ -1 +1 @@
Write-Output 'Hello World' 'Hello World'

1
q/q.q Normal file
View File

@@ -0,0 +1 @@
"Hello World!"

0
q/qore.q Executable file → Normal file
View File

19
q/qsharp/Driver.cs Normal file
View File

@@ -0,0 +1,19 @@
using Microsoft.Quantum.Simulation.Simulators;
namespace Quantum.HelloWorld
{
class Driver
{
static void Main(string[] args)
{
using (var sim = new QuantumSimulator())
{
var res = HelloWorld.Run(sim).Result;
System.Console.WriteLine(
$"{res}");
}
System.Console.WriteLine("Press any key to continue...");
System.Console.ReadKey();
}
}
}

10
q/qsharp/qsharp.qs Normal file
View File

@@ -0,0 +1,10 @@
namespace Quantum.HelloWorld
{
operation HelloWorld () : (String)
{
body
{
return ("Hello, World!");
}
}
}

View File

@@ -1 +0,0 @@
Hello world

1
r/readlink.readlink Normal file
View File

@@ -0,0 +1 @@
Hello world

1
r/ring.ring Normal file
View File

@@ -0,0 +1 @@
see "Hello, World!"

0
s/sed.sed Executable file → Normal file
View File

3
s/spss.spss Normal file
View File

@@ -0,0 +1,3 @@
BEGIN PROGRAM.
print "Hello, world!"
END PROGRAM.

View File

@@ -1,204 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>All programming hello world code</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<style type="text/css" media="screen">
#main {
margin-top: 10px;
padding-top: 10px;
min-width: 725px;
min-height: 100px;
border: 1px #eee solid;
border-radius: 4px 4px 0 0;
}
.nav>li>a {
padding: 3px 6px;
}
.tab-content {
margin-top: 4px;
}
</style>
</head>
<body>
<div id="main" class="container">
<div id="helloword">
<!-- Nav tabs -->
<ul id="langgroups" class="nav nav-tabs" role="tablist">
<li class="active"><a href="#aboutTab" role="tab" data-toggle="tab">About</a></li>
</ul>
<!-- Tab panes -->
<div id="langcodegroups" class="tab-content">
<div class="tab-pane fade in active" id="aboutTab">
<ul class="list-group">
<li class="list-group-item">
<h4 id="about-heading" class="list-group-item-heading">Hello world in every programming language.</h4>
<div id="about-text" class="list-group-item-text">
</div>
</li>
</ul>
</div>
</div>
</div>
<p>
&copy; 2014 Powered by <a href="jquery.com">jQuery</a>, <a href="http://getbootstrap.com">Boostrap</a> and <a href="https://developer.github.com/v3/">Github APIs</a>.
</p>
</div>
<script type='text/javascript' src='http://ajax.useso.com/ajax/libs/jquery/1.11.1/jquery.min.js'></script>
<!-- Latest compiled and minified JavaScript -->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script type="text/javascript">
// curl -i https://api.github.com/repos/pingjiang/hello-world/readme
// curl -i https://api.github.com/repos/pingjiang/hello-world/contents/
jQuery(document).ready(function($) {
var REPOS_USER = 'leachim6';// leachim6
var REPOS_NAME = 'hello-world';
var GITHUB_API = 'https://api.github.com/repos/' + REPOS_USER + '/' + REPOS_NAME + '/contents';
$('#about-text').html('<dl class="dl-horizontal"><dt>User</dt><dd><a href="https://github.com/' + REPOS_USER + '">' + REPOS_USER
+ '</a></dd><dt>Repository</dt><dd><a href="https://github.com/' + REPOS_USER + '/' + REPOS_NAME + '">' + REPOS_NAME
+ '</a></dd><dt>Contents API</dt><dd><a href="' + GITHUB_API + '">' + GITHUB_API + '</a></dd></dl>');
function onGithubError(data) {
$('#about-heading').text('Github Error');
$('#about-text').html('<p>'
+ data.message + '</p><p>Documentation reference <a href="'
+ data.documentation_url + '">'
+ data.documentation_url + '</a>.</p><p>Please refresh later.</p>');
}
function htmlEncode(value){
return $('<div/>').text(value).html();
}
function htmlDecode(value){
return $('<div/>').html(value).text();
}
function loadContent(self_url, onSuccess) {
$.ajax({
type: "POST",
url: self_url + '&callback=?',
crossDomain: true,
statusCode: {
403: function(data) {
onGithubError(data);
}
},
success: function (data) {
var result = data.data;
if (result.content == undefined || result.content == null) {
onSuccess('Fetch content of code ' + self_url + ' failed.');
return;
}
var content = atob(result.content);
onSuccess(content);
},
dataType: 'jsonp'
});
}
function loadLanguages(langGroupName, appendToId, langGroup, onSuccess) {
$.ajax({
type: "POST",
url: langGroup + '&callback=?',
crossDomain: true,
statusCode: {
403: function(data) {
onGithubError(data);
}
},
success: function (data) {
var entries = data.data;
if (!(entries instanceof Array)) {
onGithubError(entries);
return;
}
$.each(entries, function(i, entry) {
if (entry.type == 'file') {
var codeCssClass = 'code-' + entry.name.split('.')[0].toLowerCase();
loadContent(entry._links.self, function(content) {
// console.log(content);
$('<li class="list-group-item"><h4 class="list-group-item-heading">' + entry.name
+ '</h4><div class="list-group-item-text"><pre class="code">' + htmlEncode(content) + '</pre><p>Code: <a class="langcode" href="' + entry.html_url + '">'
+ entry.html_url + '</a></p></div></li>').appendTo(appendToId);
});
}
});
if (entries == undefined || entries == null || entries.length == 0) {
$('<li class="list-group-item"><a class="list-group-item langcode" href="#">None</a></li>').appendTo(appendToId);
}
onSuccess();
},
dataType: 'jsonp'
});
}
$.ajax({
type: "POST",
url: GITHUB_API + '?callback=?',
crossDomain: true,
statusCode: {
403: function(data) {
onGithubError(data);
}
},
success: function (data) {
var entryGroups = data.data;
if (!(entryGroups instanceof Array)) {
onGithubError(entryGroups);
return;
}
var entryCache = {};
$.each(entryGroups, function(i, entryGroup) {
entryCache[entryGroup.name] = entryGroup._links.self;
if (entryGroup.name != '#' && entryGroup.type == 'dir') {
$('<li><a class="langgroup" href="#' + entryGroup.name
+ 'Tab" data-loadlink="' + entryGroup._links.self + '" role="tab" data-toggle="tab">'
+ entryGroup.name + '</a></li>').appendTo('#langgroups');
$('<div class="tab-pane fade" id="' + entryGroup.name
+ 'Tab"><ul class="list-group langcodes" class="nav nav-tabs" role="tablist"></ul></div>').appendTo('#langcodegroups');
}
});
$('.langgroup').click(function() {
var entryGroupName = $(this).text();
var tabId = $(this).attr('href');
var tab = $(tabId);
var selected = $(this);
var langcodes = $(tabId + '>ul.langcodes>li');
if (langcodes == undefined || langcodes.length == 0) {
loadLanguages(entryGroupName, tabId + '>ul.langcodes', entryCache[entryGroupName], function() {
selected.tab('show');
});
} else {
selected.tab('show');
}
});
},
dataType: 'jsonp'
});
});
</script>
</body>
</html>

0
t/tibasic.ti Executable file → Normal file
View File

17
v/Vowels.vw Normal file
View File

@@ -0,0 +1,17 @@
ue
yeouo
euea
euai
euai
euoa
eaiu
eaao
eioo
euoa
euou
euai
euee
eaai
eeoe
eeee
y

0
v/vhdl.vhdl Executable file → Normal file
View File

0
v/visualbasic.vb Executable file → Normal file
View File

11
v/vue.js Normal file
View File

@@ -0,0 +1,11 @@
<div id="app">
<p>{{ message }}</p>
</div>
<script>
new Vue({
el: '#app',
data: {
message: 'Hello World!'
}
})
</script>

1
y/yoptascript.js Normal file
View File

@@ -0,0 +1 @@
ксива.малява(" Оно работает ") нах

0
z/zsh.zsh Executable file → Normal file
View File