forked from tomekw/whatever
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ef3566
commit be200d1
Showing
16 changed files
with
180 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
display dialog "This is AppleScript!" |
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
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() | ||
{ | ||
} |
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
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 |
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
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#!"); | ||
} | ||
} |
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
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"; | ||
} |
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
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; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
alert "This is CoffeeScript!" | ||
|
||
x=666 |
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
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> |
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
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. | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alert("This is Javascript.") |
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
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 */ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
puts 'This is Ruby!' |
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
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 */ |
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
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 --> |
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
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! */ |
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