Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *xx= "De"
- "ar %" "s:n"
- "Consta" "nts ar"
- "e red, " "variable"
- "s are blue.nIf lo"
- "ve had a syntax, I"
- "'d highlight you"
- ".n",n[9];main(
- ){printf(xx,
- gets(n))
- ;xx;
- }
- $ echo Ilana | ./vanentine
- Dear Ilana:
- Constants are red, variables are blue.
- If love had a syntax, I'd highlight you.
- java that_day <The name of your girlfriend/boyfriend>
- v
- v _ v _v# 1<
- >~:"!"-^ >10g1+:10p0p:^>" "37*2+2p"v"63*2+:"g"2p2+2p" "10p^
- | -" "<
- v <
- > 92+:*91+9*v v:+19*2*5+<
- v*66*5+2*37*<>7+v v1*<>*91+9*7v^29<
- v3<>*7+89*v 4 <>9v v+<>*3^ >+9v^*<
- v<>9^ v,_@^8*:+<>v v<>9^ >1v^<
- v*+ *>:^ ^<>v v<>^ +.^
- >v^< ^<>v v<>^ v<>^
- >v^1< ^1<**>4^ v4<>^
- >+v^9< v*<>4^
- >9v^*7< v+3<>+^
- >1+v^*< v2<>*1^
- >:v^44< v8*<>7^
- >*1v^*< v4<>*4^
- >+v^7*< v9*<>7^
- >92v^4< v2<>5*^
- >+v^4< v+<>3^
- >5v^*:<>*^
- >*v>2^
- >^
- eval's unable to compute a hint,
- when I write perl, I think of you;
- I think of you at every '. print'
- just be with me, since I love you
- '
- ;;@_= split//,
- $@;$"=$^I, $_=0.00.106.
- 117.115.116.032.0115.0105.
- 110.99.101.32.116.104.101.
- 32.118.105.111.108.101.116
- .115.32.97.114.0101.032.
- 98.108.117.101.10."@_[
- 14,11] @_[20,49] @_[
- 46,1,6,11,2,4,33
- ,02,013], @{[
- shift]}$/"
- ,print
- $ perl valentine.pl $NAME
- just be with me, since I love you
- just since the violets are blue
- be my valentine, $NAME
- +[->,10-]>>5+[-<6+>] <++.........>8+[-<8+
- >]<-.>7+[-<7->]<.-.6-.>9+[-<10+ >]<3-......>5+[-<6->]<.>7+[-<7->]<--
- .+.>7+[-<7+>]<.>9+[-<9->]<4-.>4+[-<5+> ]<++........>4+[-<4+>]<-.>4+[-<4->]<+......>
- 9+[-<10+>]<++..>9+[-<10->]<--......>7+[-< 8+>]<4+.>9+[-<9->]<-.>4+[-<5+>]<++.......>4+[-<
- 4+>]< -.>4+[-<4->]<+.......>9+[-<10+>]<++..>9+[-<10->]<--.......>7+[-<8+>]<4+.>7+[-<8->]<4-...
- .....>6+[-<6+>]<.>5+[-<6+>]<3+.4-.>4+[-<4+>]<+.>9+[-<9->]<-.[-]<<[11+<]>[.>]10+.>4+[-<5+>]<++.
- .....>9+[-<10+>]<++.>9+[-<10->]<--........>9+[-<10+>]<++..>9+[-<10->]<--........>9+[-<10+>]<++.>
- 10+[-<11->]<4-.>4+[-<5+>]<++......>9+[-<10+>]<++.>9+[-<10->]<--.>8+[-<8+>]<-.......>5+[-<6+>]<-.
- .>5+[-<6->]<+.......>8+[-<8->]<+.>9+[-<10+>]<++.>10+[-<11->]<4-.>4+[-<5+>]<++......>9+[-<10+>]<+
- +.>8+[-<9->]<5-.>4+[-<4->]<+.13+.....13-.>7+[-<8+>]<4+.>6+[-<7->]<3-.>4+[-<4->]LOVEME<+.13+.....
- 13-.>7+[-<8+>]<4+.>5+[-<6+>]<++.>9+[-<10->]<--.......>6+[-<7+>]<.>6+[-<6+>]<+.6-.5+.>9+[-<9->]<3+.
- >8+[-<9+>]<5+.8-.>8+[-<9->]<3+.>8+[-<8+>]<+.13+.10-.>8+[-<8->]<4-.>9+[-<9+>]<3+.5-.8-.--.>4+[-<4+>
- ]<-.12-.3-.13+.>10+[-<10->]<4-.>4+[-<5+>]<++.....>4+[-<4+>]<-.>4+[-<4->]<+..8+.8-.....9+.9-..8+.8-
- .....9+.9-..>7+[-<8+>]<4+.>7+[-<8->]<4-......>9+[-<10+>]<3-.>4+[-<4->]<--.>8+[-<9->]<3+.>9+[-<9+>]
- <++.11-.7-.11+..>8+[-<9->]<4-.>9+[-<9+>]<+.3+.9-.7-.>8+[-<9->]<3+.>9+[-<9+>]<3+.12-.3-.>8+[-<9->]<
- 3+.>8+[-<9+>]<-.6-.11+.11-.>4+[-<5+>]<3+.+.>9+[-<10->]<++.-.>4+[-<5->]<--.>4+[-<5+>]<++....>4+[-
- <4+>]<-.>4+[-<4->]<+.>7+[-<8+>]<4+.>7+[-<8->]<4-..13+.....13-.8+.+.9-.13+.....13-..>4+[-<4+>]<-.
- >4+[-<4->]<+.>7+[-<8+>]<4+.>9+[-<9->]<-.>4+[-<5+>]<++...>4+[-<4+>]<-.>4+[-<4->]<+...>7+[-<8+>]
- <4+.>7+[-<8->]<4-......>4+[-<4+>]<-.>8+[-<9+>]<5+..>5+[-<6->]<--.>7+[-<8->]<4-......>4+[-<4+>]
- <-.>4+[-<4->]<+...>7+[-<8+>]<4+.>9+[-<9->]<-.>4+[-<5+>]<++..>4+[-<4+>]<-.>4+[-<4->]<+.....>@
- 7+[-<8+>]<4+.>7+[-<8->]<4-....>4+[-<4+>]<-.>8+[-<9+>]<5+....>5+[-<6->]<--.>7+[-<8->]<4-..
- ..>4+[-<4+>]<-.>4+[-<4->]<+.....>7+[-<8+>]<4+.>9+[-<9->]<-.>4+[-<5+>]<++.>4+[-<4+>]<-.>
- 4+[-<4->]<+.......>7+[-<8+>]<4+.>7+[-<8->]<4-..>4+[-<4+>]<-.>8+[-<9+>]<5+......>5+[-<
- 6->]<--.>7+[-<8->]<4-..>4+[-<4+>]<-.>4+[-<4->]<+.......>7+[-<8+>]<4+.>9+[-<9->]<-.>
- 6+[-<6+>]<+.>7+[-<7+>]<-.>8+[-<8->]<+........>7+[-<8+>]<4+.>4+[-<5+>]<-.>7+[-<7->
- ]<-........>7+[-<7+>]<+.>8+[-<8->]<.>4+[-<4->]<+........>8+[-<8+>]<-.3-.>9+[
- -<9->]<-.>4+[-<5+>]<++..>8+[-<8+>]<.>7+[-<7->]<--..+...>7+[-<7+>]<..>
- 5+[-<6+>]<-.>5+[-<6->]<++.>7+[-<7->]<--.+.>7+[-<7+>]<.>8+[-<8->
- ]<+..>8+[-<8+>]<-.>7+[-<7->]<.-.6-.>9+[-<9+>]<4+.>5+[-<6-
- >]<+..>7+[-<7->]<...-..6-.>5+[-<6->]<+.>4+[-<5+>]<
- ++..........>9+[-<10+>]<++.>9+[-<10->]
- <--....>8+[-<8+>]<.>7+[-<8->]<
- -.7-....>9+[-<10+>]<++.
- >10+[-<11->
- ]<4-.
- bf ebf.bf < valentine.ebf > valentine.bf
- echo "Code Golf" | bf valentine.bf
- _.-'~~~~~~`-._
- / ||
- / || Dear Code Golf
- | || |
- | _______||_______ |
- |/ ----- / ----- | Join me and together
- / ( ) ( ) we shall rule the galaxy!
- / ----- () ----- /
- / /|| /
- / /|||| /
- / /|||||| /
- /_ o========o/ _
- `--...__|`-._ _.-'|__...--'
- | `' |
- public static final int px=25;
- public static final int ht=500, wth=500;
- public static final int rectRad = 3;
- PFont font;
- public boolean[][] used = new boolean[wth/px][ht/px];
- public int[] heart = {
- 65, 66, 67, 72, 73, 74,
- 84, 85, 86, 87, 88, 91, 92, 93, 94, 95,
- 103,104,105,106,107,108,109,110,111,112,113,114,115,116,
- 122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,
- 142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,
- 162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,
- 183,184,185,186,187,188,189,190,191,192,193,194,195,196,
- 204,205,206,207,208,209,210,211,212,213,214,215,
- 224,225,226,227,228,229,230,231,232,233,234,235,
- 245,246,247,248,249,250,251,252,253,254,
- 266,267,268,269,270,271,272,273,
- 287,288,289,290,291,292,
- 308,309,310,311,
- 329,330
- };
- void setup( ) { size(ht, wth);
- background(255); stroke(190+1);
- strokeWeight(1.75); fill(0); font=createFont("Purisa",28,true);
- textFont(font,28);int i,j;for(i=0;i<wth/px;i++)for(j=0;j<ht/px;
- j++) used[i][j] = false; } void keyReleased() { if(key!=CODED){
- switch(key) { case BACKSPACE: name=name.substring(0,max(0,name.
- length() - 1) ) ; break; case
- 10:case RETURN: firstDraw=1==0;
- background(255);break;
- case ESC: case DELETE: break ;
- default:name+=key;}}}boolean firstDraw=
- true;String name="";boolean noLoopFlag=false;
- void draw(){int i,j,unusedCount = 0;if(firstDraw){
- background(255);text("Please enter a name:", 35, 30);
- text(name,35, 70);return;} for(i=0;i<ht/px;i++)for(
- j=0;j<wth/px;j++)if(!used[i][j])unusedCount++;do{
- i=(int) random(0,wth/px); j=(int) random(0,ht/px);}
- while(used[i][j]&&unusedCount>0); used[i][j]=true;if(
- noLoopFlag) {noLoop();return; }if(unusedCount==0){
- fill(31 +32 +32);text("Dear "+name+",",10,50)
- ;text("Happy Valentine's Day!",80,200);
- text("Love,nAce",10,430);delay
- (500);noLoopFlag=true;
- return;} int R=(int)random(64,255-64);int G=(int)
- random(128,255);int B=(int)random(128,255);int alpha
- =(int)random(55,85);int hash=j*wth/px+i;if(java.util.
- Arrays.binarySearch(
- heart,hash)>=0) {R=
- (int)random(128+64,
- 255);G=(int)random(
- 0,63);B=(int)random
- (0,63);alpha=(int)random(70,100);}fill(R,G,B,alpha);
- rect(i*px, j*px, px, px, rectRad, rectRad, rectRad,
- rectRad); delay(20); }///////////////////////////
- ;((((((((((((((((((((()))))))))))))))))))))
- (((even to know my programming language) ;(())
- (to (my programming language) 'Lisp);(((((())))))
- (to (know |I love |) 'parentheses);(((((((())))))))
- (to (even you more than there are) c);(((((())))))
- (to (know |parentheses in my heart ()()()|)));()
- (~ w (c "(c w))) p " c 'Dear (r));((((()))))
- jitbf zozotez.bf
- Dear Max Love
- I love you more than there are
- parentheses in my heart ()()()
- public class
- Vale {public static void
- main( String []args)
- {int a; char c,d,r,g;
- String s ="hi";//
- double x,y,z=0;
- System .out.print ("hi ");
- String[ ]parts=s.split( "///////");
- String string="This is -for- ";double w;
- System .out.print ("") ;int g1,a1;
- System .out.println( ); System.out
- .print(string);System. out.print("")
- ; System. out.println
- ("you and me,two heart"
- +" combine together "
- +"always till "
- +"end of life"
- );}}
- hi This is -for- you and me,two heart combine together always till end of life
- var t = '<span class'+ '="t">░</span>', r =
- '<span class="r">▓</span>', b = '<span class="b">█'+
- '</span>', w = '<span class="w">'+ '▒</span>', n = '<br>', heart = [ t,
- t, t, t, t, t, t, t, t, t, t, t, t, t, t, n, t, t, t, b, b, b, t, t, t, b, b, b, t,
- t, t, n, t, t, b, r, r, r, b, t, b, r, r, r, b, t, t, n, t, b, r, w, w, r, r, b, r, r, r,
- r, r, b, t, n, t, b, r, w, r, r, r, r, r, r, r, r, r, b, t, n, t, b, r, r, r, r, r, r, r, r, r, r,
- r, b, t, n, t, t, b, r, r, r, r, r, r, r, r, r, b, t, t, n, t, t, t, b, r, r, r, r, r, r, r, b, t, t,
- t, n, t, t, t, t, b, r, r, r, r, r, b, t, t, t, t, n, t, t, t, t, t, b, r, r, r, b, t, t, t, t, t, n,
- t, t, t, t, t, t, b, r, b, t, t, t, t, t, t, n, t, t, t, t, t, t, t, b, t, t, t, t, t, t, t, n, t,
- t, t, t, t, t, t, t, t, t, t, t, t, t, t, n ], space = function(n, c){ var a = [], i = 0; while
- ( i < n ){a.push(c);++i;} return a.join(''); }, card = function(name){ var e = name.length
- % 2, sp = (13 - name.length) / 2; return space(15, t) + n + space(sp, w) + name.
- toUpperCase() + ' I' + space(sp + (e?1:0), w) + n + heart.join('') + space(6, w)
- + 'YOU!' + space(6, w) + n + space(15, t) + n; }, out = document.getElementById
- ('card'), inp = document.getElementById('name'), plot = function(){out.
- innerHTML = card(inp.value)}; inp.addEventListener('change',
- plot); out.style['font-family'] = 'monospace';
- out.style['text-align'] = 'center';
- out.style['line-height'] =
- '12px'; out.style
- ['font-size']
- = '15px';
- plot
- ()
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement