Skip to content

Instantly share code, notes, and snippets.

@Prithvirajbilla
Created February 16, 2014 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Prithvirajbilla/9036342 to your computer and use it in GitHub Desktop.
Save Prithvirajbilla/9036342 to your computer and use it in GitHub Desktop.
valentine's special
# abap
REPORT TEST.
WRITE 'I <3 you'.
#ada
procedure Hello is
begin
Put_Line ("I <3 you");
end Hello;
#applescript
display dialog "I <3 you"
#as3
package com.example
{
import flash.text.TextField;
import flash.display.Sprite;
public class Greeter extends Sprite
{
public function Greeter()
{
var txtHello:TextField = new TextField();
txtHello.text = "I <3 you";
addChild(txtHello);
}
}
}
#awk
BEGIN { if ( NF == 0 ) print "I <3 you" }
//c
#include <stdio.h>
int main() {
void* message = "I <3 you";
puts(message);
return 0;
}
//clojure
(defn -main [& args]
(println "I <3 you"))
//coffeescript
love = ->
alert "I <3 you"
love()
//common lisp
(defun foo ()
(format t "I <3 you"))
(with-output-to-string (*standard-output*)
(foo))
//context
\starttext
i love you
\stoptext
//cpp
# include <iostream>
int main()
{
std::cout << "I <3 you\n";
}
//javscript
var love = function () {
alert("I <3 you");
};
love();
#python
print "I <3 you"
//java
class WorldApp {
public static void main(String[] args) {
System.out.println("i <3 you");
}
}
//R
cat('I <3 you\n')
//Ruby
puts "I <3 you"
//eifel
class
LOVE
create
make
feature
make
do
print ("I <3 you%N")
end
end
//GO
package main
import "fmt"
func main() {
fmt.Println("I <3 you")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment