Skip to content

Commit

Permalink
Add all these languages
Browse files Browse the repository at this point in the history
  • Loading branch information
CoWinkKeyDinkInc committed Mar 22, 2015
1 parent 1ef3566 commit be200d1
Show file tree
Hide file tree
Showing 16 changed files with 180 additions and 5 deletions.
1 change: 1 addition & 0 deletions +/AppleScript.applescript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
display dialog "This is AppleScript!"
18 changes: 18 additions & 0 deletions +/Arduino.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include <LiquidCrystal.h>

// LiquidCrystal display with:
// rs on pin 12
// rw on pin 11
// enable on pin 10
// d4, d5, d6, d7 on pins 5, 4, 3, 2
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);

void setup()
{
// Print a message to the LCD.
lcd.print("You've figured out that this is Arduino!");
}

void loop()
{
}
59 changes: 59 additions & 0 deletions +/Assembly.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
; MacOS X: /usr/local/bin/nasm -f macho64 *.s && ld -macosx_version_min 10.7 *.o
; Solaris/FreeBSD/DragonFly: nasm -f elf64 -D UNIX *.s && ld *.o
; NetBSD: nasm -f elf64 -D UNIX -D NetBSD *.s && ld *.o
; OpenBSD: nasm -f elf64 -D UNIX -D OpenBSD *.s && ld -static *.o
; OpenIndiana: nasm -f elf64 -D UNIX *.s && ld -m elf_x86_64 *.o
; Linux: nasm -f elf64 *.s && ld *.o

%ifdef NetBSD
section .note.netbsd.ident
dd 7,4,1
db "NetBSD",0,0
dd 200000000 ; amd64 supported since 2.0
%endif

%ifdef OpenBSD
section .note.openbsd.ident
align 2
dd 8,4,1
db "OpenBSD",0
dd 0
align 2
%endif

section .text

%ifidn __OUTPUT_FORMAT__, macho64 ; MacOS X
%define SYS_exit 0x2000001
%define SYS_write 0x2000004

global start
start:
%elifidn __OUTPUT_FORMAT__, elf64
%ifdef UNIX ; Solaris/OI/FreeBSD/NetBSD/OpenBSD/DragonFly
%define SYS_exit 1
%define SYS_write 4
%else ; Linux
%define SYS_exit 60
%define SYS_write 1
%endif

global _start
_start:
%else
%error "Unsupported platform"
%endif

mov rax,SYS_write
mov rdi,1 ; stdout
mov rsi,msg
mov rdx,len
syscall
mov rax,SYS_exit
xor rdi,rdi ; exit code 0
syscall

section .data

msg db "Assembly in all it's glory!",10
len equ $-msg
8 changes: 8 additions & 0 deletions +/C#.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// C#.cs
public class Chashtag
{
public static void Main()
{
System.Console.WriteLine("This is C#!");
}
}
7 changes: 7 additions & 0 deletions +/C++.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// This is C++
#include <iostream>

int main()
{
std::cout << "This is C++ you smegheads";
}
8 changes: 8 additions & 0 deletions +/C.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//This is C
#include <stdio.h>

int main()
{
printf("Welcome to C nerds\n");
return 0;
}
3 changes: 3 additions & 0 deletions +/CoffeeScript.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
alert "This is CoffeeScript!"

x=666
5 changes: 5 additions & 0 deletions +/HTML.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<h1>Hi there</h1>

<p>This is HTML</p>

<a href="https://github.com/CoWinkKeyDinkInc">CoWinkKeyDinkInc was hear and created all these files.</a>
5 changes: 5 additions & 0 deletions +/Java.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Welcome to Java, where using Maven is impossible!"); // Display the string.
}
}
1 change: 1 addition & 0 deletions +/Javascript.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alert("This is Javascript.")
16 changes: 16 additions & 0 deletions +/Less.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
h1
background: white;


a
color: rainbow-sherbert
font: Comic
}

p
font: Comic


/* This is LESS than nothing!
https://www.youtube.com/watch?v=6zXDo4dL7SU */
1 change: 1 addition & 0 deletions +/Ruby.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
puts 'This is Ruby!'
14 changes: 14 additions & 0 deletions +/Sass.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
h1
background: white


a
color: rainbow-sherbert
font: Comic


p
font: Comic


/* This is Sass */
15 changes: 15 additions & 0 deletions +/XML.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<author>CoWinkKeyDinkInc</author>
<reasons>
<fun>
<funstuff>Wasting time</funstuff>
<funstuff>Screwing around</funstuff>
<funstuff>Enjoying life</funstuff>
</fun>
</reasons>
<wants>
<people>
<request>Get rid of the spammers for goodness sakes YouTube, and stop the copyright crap</request>
</people>
</wants>

<!-- This is XML, like HTML but not quite -->
14 changes: 14 additions & 0 deletions +/css.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
h1 {
background: white;
}

a {
color: rainbow-sherbert;
font: Comic;
}

p {
font: Comic;
}

/* This is CSS you dolt! */
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@

```
  _______ 
 /        \ _ ____ _____ ___________ _________
 \   ・   ・ \ | | /| / / // / _ /_ __/ __/ | / / __/ _ \
 /        \ _ ____ _____ ___________ ________
 \   ・   ・ \ | | /| / / // / _ /_ __/ __/ | / / __/ _ \
  \     \   \ | |/ |/ / _ / __ |/ / / _/ | |/ / _// , _/
   \  :   ̄  : \ |__/|__/_//_/_/ |_/_/ /___/ |___/___/_/|_|
   \  :   ̄  : \ |__/|__/_//_/_/ |_/_/ /___/ |___/___/_/|_|
    \    ̄    | ------------------------------------------------
     \___  _/
         \ \_______/)-
         \ \________ /)-
         /     _    _三;
        /        \ ̄ ̄ ̄ ̄
       /  /\      \
   (L _/  /  \      \
    (L_/  /  \      \
   :三___/     \      \
    ~          \      \
Expand Down

0 comments on commit be200d1

Please sign in to comment.