V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
quix
V2EX  ›  程序员

求最适合印在 T 恤上的代码

  •  
  •   quix · 2015-05-14 10:12:02 +08:00 · 14429 次点击
    这是一个创建于 3260 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有个设计师朋友爱上了Sublime Text 的一个配色方案 Cobalt2, 想让我找一些代码帮他做成 T恤图案. 个人感觉既然要用代码就得用各种语言开发者最有认同感的代码. 各位有什么想法吗? js php ruby c/cpp 等等都可以.

    第 1 条附言  ·  2015-05-14 18:41:44 +08:00

    试着做了个样子..
    161 条回复    2015-06-24 18:32:40 +08:00
    1  2  
    publicID001
        1
    publicID001  
       2015-05-14 10:16:37 +08:00   ❤️ 3
    <?php
    imt
        2
    imt  
       2015-05-14 10:18:51 +08:00   ❤️ 1
    截取一段汇编吧..连接这个世界
    mytharcher
        3
    mytharcher  
       2015-05-14 10:18:53 +08:00   ❤️ 2
    各种语言的“Hello world”。
    v2Panda
        4
    v2Panda  
       2015-05-14 10:19:00 +08:00   ❤️ 1
    最有认同感的代码?

    Hello World !
    ivenvd
        5
    ivenvd  
       2015-05-14 10:20:01 +08:00   ❤️ 1
    Python 3.4.3 (default, Mar 25 2015, 17:13:50)
    [GCC 4.9.2 20150304 (prerelease)] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import this
    morethansean
        6
    morethansean  
       2015-05-14 10:20:30 +08:00
    看了一下这个主题…… 那么丑!
    neilwong
        7
    neilwong  
       2015-05-14 10:20:36 +08:00   ❤️ 3
    Andiry
        8
    Andiry  
       2015-05-14 10:25:49 +08:00   ❤️ 1
    BUG: Unable to handle kernel NULL pointer dereference
    quix
        9
    quix  
    OP
       2015-05-14 10:26:21 +08:00
    catface
        10
    catface  
       2015-05-14 10:26:59 +08:00   ❤️ 1
    yum uninstall emacs
    lingo233
        11
    lingo233  
       2015-05-14 10:30:29 +08:00
    object not found
    goodbest
        12
    goodbest  
       2015-05-14 10:34:33 +08:00   ❤️ 10
    烫烫烫 锟斤拷
    catface
        13
    catface  
       2015-05-14 10:36:02 +08:00   ❤️ 1
    talk is cheap
    Shieffan
        14
    Shieffan  
       2015-05-14 10:36:08 +08:00   ❤️ 2
    no keyboard detected
    press f1 to resume
    linxy
        15
    linxy  
       2015-05-14 10:36:56 +08:00
    show me your code
    我只是接楼上的…
    est
        16
    est  
       2015-05-14 10:38:33 +08:00   ❤️ 1
    def pythonic():
     simple is better
    aroma
        17
    aroma  
       2015-05-14 10:39:41 +08:00   ❤️ 1
    hello world
    xx314327475
        18
    xx314327475  
       2015-05-14 10:40:49 +08:00   ❤️ 1
    object not found!
    TimLang
        19
    TimLang  
       2015-05-14 10:42:05 +08:00   ❤️ 1
    rm -rf /*
    t2doo
        20
    t2doo  
       2015-05-14 10:45:32 +08:00   ❤️ 1
    HTML (how to meet lady)
    tonynothing
        21
    tonynothing  
       2015-05-14 10:54:06 +08:00   ❤️ 1
    i = 0x5f3759df - ( i >> 1 );
    VirgilMing
        22
    VirgilMing  
       2015-05-14 10:59:27 +08:00 via iPhone
    @t2doo 不是 how to make love 吗
    yahoo21cn
        23
    yahoo21cn  
       2015-05-14 11:00:45 +08:00   ❤️ 1
    ERROR
    nijux
        24
    nijux  
       2015-05-14 11:03:53 +08:00   ❤️ 1
    很久以前的 /t/68265
    mortal
        25
    mortal  
       2015-05-14 11:04:57 +08:00   ❤️ 1
    Life is short!
    asj
        26
    asj  
       2015-05-14 11:05:40 +08:00   ❤️ 2
    Python:
    s = 's = %r\nprint(s%%s)'
    print(s%s)
    eae29qvc
        27
    eae29qvc  
       2015-05-14 11:06:05 +08:00   ❤️ 1
    eae29qvc
        28
    eae29qvc  
       2015-05-14 11:06:37 +08:00   ❤️ 1
    long
    q;;int o[
    2000],l ,x=0
    ,r[26], far*s=
    (int far* )(184L<<
    24),i,j,k; volatile
    long far*p =(+(long
    far*)(64L <<16|108
    ));void ma1n(int
    a,int b,int c){k=s[o[ a]];s[
    o[a]]=s[o[b]];s[o[b]]=k;if(
    !(++x%c)&&(k&255)-32){while(q==*p)
    ;q=*p;}}void Main(int a,int b,int c){if
    (a<(l/2))Main(a*2,b-2,c);do{for(i=c =0;
    i<l-a;i++){ if((s[o[i]]&255)<(s[o [i +a] ]&255
    ))ma1n(i,i+ (c =a),b);}}while(!!c);} void main(
    int a,int b,int c){if(a >0){for(i=l=0;i<2000;i++){r[(79+
    i)/80]=l;if((s[i]&255)!=68&&(s[i]&255)!=79&&(s[i]&255)!=78)
    o[l++]=i;}r[25]=l;main(-1,24,1);Main(1,24,-1);}else if(!a)
    {if(c> b){a=s[o[b]]&255; i = b ; j=c;while(i<=j
    ){while(i<c&&(s[o[i ] ] & + 255)<a)i
    ++;while(j>b&&(255&s[o[j ] ] ) > a)j--;if(-i
    >=-j ){ma1n(i,j,8);i++;j--;}}main ( 0 ,b,j);main(0,i,c);
    /*1999*/}}else{if(a>-25)main(a-1,0,0);main(0,r[25+a],r[26+a]-1);}}
    yuezhimsolo
        29
    yuezhimsolo  
       2015-05-14 11:06:51 +08:00   ❤️ 1
    Hello World 过时了,来个最需要的:I need a girlfriend!
    tideline
        30
    tideline  
       2015-05-14 11:06:53 +08:00   ❤️ 1
    int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\
    o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}

    eae29qvc
        31
    eae29qvc  
       2015-05-14 11:07:10 +08:00
    好吧,格式乱了
    b821025551b
        32
    b821025551b  
       2015-05-14 11:09:36 +08:00   ❤️ 1
    还是“404 NOT FOUND”比较拉风
    eric
        33
    eric  
       2015-05-14 11:10:18 +08:00   ❤️ 1
    </head>
    <body>
    Agromania
        34
    Agromania  
       2015-05-14 11:12:00 +08:00   ❤️ 1
    shutdown -p now
    thonatos
        35
    thonatos  
       2015-05-14 11:13:33 +08:00
    @lingo233

    23333!
    kokdemo
        36
    kokdemo  
       2015-05-14 11:13:34 +08:00   ❤️ 1
    </head>
    <body>
    <heart/>
    <lungs>
    <lung/><lung/>
    </lungs>
    <stomach/>
    <liver/>
    <gallbladder/>
    <kidneys>
    <kidney/><kidney/>
    </kidneys>
    <intestines></intestines>
    </body>


    自行加缩进吧
    chenshaoju
        37
    chenshaoju  
       2015-05-14 11:15:36 +08:00   ❤️ 2
    Linux <你的名字> 3.18.11+ #781 PREEMPT <T恤购买时间> human

    The programs included with the <你喜欢的发行版> GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    <你喜欢的发行版> GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: <你的生日> from <你的家乡>
    mymy
        38
    mymy  
       2015-05-14 11:28:30 +08:00   ❤️ 1
    “找不到对象” 虽然不是代码 不过通常会引起共鸣
    laotaitai
        39
    laotaitai  
       2015-05-14 11:30:34 +08:00
    @morethansean 确实丑! 太刺眼了. PS: 你有什么很酷, 不刺眼的主题?
    imWBB
        40
    imWBB  
       2015-05-14 11:33:56 +08:00 via iPhone
    @mymy
    創建個對象
    nuansediao
        41
    nuansediao  
       2015-05-14 11:33:56 +08:00
    印什么都不露脸,还是不印的好。
    morethansean
        42
    morethansean  
       2015-05-14 11:34:19 +08:00   ❤️ 1
    @laotaitai 人气颇高的 spacegray 怎么样? https://github.com/kkga/spacegray
    laotaitai
        43
    laotaitai  
       2015-05-14 11:39:01 +08:00
    @morethansean 这个我很早前就安装了, 还是不好看, 我觉得最好看的就是VIM的那种, 可惜没有100%一模一样的配色.
    halmstad
        44
    halmstad  
       2015-05-14 11:42:07 +08:00
    @ivenvd 就这个吧,让你翔印一个来卖
    ZhaoMiing
        45
    ZhaoMiing  
       2015-05-14 11:43:54 +08:00   ❤️ 1
    *{float: cloud!important;}
    wanjun
        46
    wanjun  
       2015-05-14 11:47:44 +08:00   ❤️ 1
    404
    wbingeek
        47
    wbingeek  
       2015-05-14 11:50:08 +08:00   ❤️ 1
    tomoya92
        48
    tomoya92  
       2015-05-14 11:50:31 +08:00
    @TimLang 前面加个sudo
    JayFang1993
        49
    JayFang1993  
       2015-05-14 11:51:45 +08:00   ❤️ 1
    必须 是 hello world 啊
    ibolee
        50
    ibolee  
       2015-05-14 11:53:09 +08:00   ❤️ 1
    echo 牛B!
    phx13ye
        51
    phx13ye  
       2015-05-14 11:54:47 +08:00   ❤️ 1
    VIM - Vi Improved
    Agromania
        52
    Agromania  
       2015-05-14 11:56:28 +08:00   ❤️ 1
    强迫症慎入

    <div></p>
    komisaki
        53
    komisaki  
       2015-05-14 12:01:25 +08:00   ❤️ 1
    随机快排、dijstra、kruskal、RBT、treap、KMP
    terax
        54
    terax  
       2015-05-14 12:03:42 +08:00 via iPhone   ❤️ 1
    <div class="girlfriend"> 404 NOT FOUND </div>
    emdoe
        55
    emdoe  
       2015-05-14 12:04:03 +08:00 via Android   ❤️ 1
    My another car is cdr.
    xxgirl2
        56
    xxgirl2  
       2015-05-14 12:11:48 +08:00   ❤️ 1
    SIGSEGV
    huang321hp
        57
    huang321hp  
       2015-05-14 12:12:03 +08:00 via iPhone   ❤️ 1
    import you
    import me
    print 'just you and me'
    llbgurs
        58
    llbgurs  
       2015-05-14 12:18:00 +08:00   ❤️ 1
    i++
    dallaslu
        59
    dallaslu  
       2015-05-14 12:20:51 +08:00   ❤️ 1
    Thirt t = new Thirt();
    hbin
        60
    hbin  
       2015-05-14 12:28:17 +08:00   ❤️ 2
    H(ow) T(0) M(ake) L(ove) 不谢
    betmin
        61
    betmin  
       2015-05-14 12:28:34 +08:00   ❤️ 1
    烫烫烫
    zhangbohun
        62
    zhangbohun  
       2015-05-14 12:30:26 +08:00   ❤️ 2
    #人生苦短
    simman
        63
    simman  
       2015-05-14 12:32:32 +08:00   ❤️ 1
    New Object
    molinxx
        64
    molinxx  
       2015-05-14 12:33:09 +08:00 via iPhone   ❤️ 1
    :(){ :|: & };:
    deljuven
        65
    deljuven  
       2015-05-14 12:36:25 +08:00   ❤️ 1
    console.log("I'm your father")
    mazk
        66
    mazk  
       2015-05-14 12:41:19 +08:00 via iPhone   ❤️ 1
    可以用css画个心?貌似css代码颜色多……

    其实大家方案也不错啊

    lz印出来卖我一件呗…lz可以在v2兜售
    c742435
        67
    c742435  
       2015-05-14 12:43:29 +08:00   ❤️ 1
    C:\_
    mrjoel
        68
    mrjoel  
       2015-05-14 12:51:51 +08:00   ❤️ 1
    Hello world ! request time out ! no found 404!
    justfindu
        69
    justfindu  
       2015-05-14 12:56:21 +08:00   ❤️ 1
    rm -f /
    itopidea
        70
    itopidea  
       2015-05-14 12:59:17 +08:00   ❤️ 1
    sudo rm -rf *
    jesse_luo
        71
    jesse_luo  
       2015-05-14 13:06:26 +08:00   ❤️ 1
    @catface give me your money^ ^
    @itopidea +1
    @justfindu +1
    mahone3297
        72
    mahone3297  
       2015-05-14 13:07:10 +08:00   ❤️ 1
    看了这么多大家的留言,感觉还是这个最好
    烫烫烫 锟斤拷
    cchange
        73
    cchange  
       2015-05-14 13:07:35 +08:00
    Hello World很喜感

    sudo rm -rf *很吐槽
    iam36
        74
    iam36  
       2015-05-14 13:10:12 +08:00
    代码的不知道 。。。

    不过suse的绿色壁虎 ,freebsd的红色小魔鬼 因在 T 恤上确实漂亮 ,taobao上搜索即可找到样板
    qiuai
        75
    qiuai  
       2015-05-14 13:10:53 +08:00
    "没找到对象"
    Cohen
        76
    Cohen  
       2015-05-14 13:18:39 +08:00
    这就是程序员的浪漫么- -还是无法理解。
    fullpowers
        77
    fullpowers  
       2015-05-14 13:24:00 +08:00
    <a href="http://www.longlongjin.com">Don‘t click it.</a>
    网站改成自己的。。
    deepreader
        78
    deepreader  
       2015-05-14 13:30:31 +08:00
    :(){ :|:& };:

    嗯,大家都懂的,fork bomb,爆爆服务器什么的。
    kingname
        79
    kingname  
       2015-05-14 13:30:45 +08:00
    import antigravity
    axe
        80
    axe  
       2015-05-14 13:34:11 +08:00
    Broken Pipe
    lucky2touch
        81
    lucky2touch  
       2015-05-14 13:44:48 +08:00
    各种语言输出"test"才是最常见的吧......
    ivenvd
        82
    ivenvd  
       2015-05-14 13:47:57 +08:00
    @catface 别闹…… yum 没有 uninstall 命令……
    vjnjc
        83
    vjnjc  
       2015-05-14 13:50:35 +08:00
    找不到对象...
    或者它的英文版
    angel
        84
    angel  
       2015-05-14 13:55:22 +08:00   ❤️ 1
    非代码(二维码):

    wheatcuican
        85
    wheatcuican  
       2015-05-14 14:10:10 +08:00
    404
    incompatible
        86
    incompatible  
       2015-05-14 14:11:55 +08:00   ❤️ 1
    看了一遍发现下面这个还没人说:

    RTFM = Read the Fucking Manual!
    ww
        87
    ww  
       2015-05-14 14:15:25 +08:00   ❤️ 2
    手持两把锟斤拷,口中疾呼烫烫烫。
    脚踏千朵屯屯屯,笑看万物锘锘锘
    Love4Taylor
        88
    Love4Taylor  
       2015-05-14 14:18:27 +08:00   ❤️ 1
    I AM YOUR FATHER
    Love4Taylor
        89
    Love4Taylor  
       2015-05-14 14:19:20 +08:00   ❤️ 1
    @Love4Taylor 不过这出去会被打
    xiazhichenjlu
        90
    xiazhichenjlu  
       2015-05-14 14:21:04 +08:00   ❤️ 1
    ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

    Brainfuck 的 "Hello World!"
    nyanpath
        91
    nyanpath  
       2015-05-14 14:21:15 +08:00 via Android   ❤️ 1
    HTML
    How To Make Love
    ynyounuo
        92
    ynyounuo  
       2015-05-14 14:26:43 +08:00   ❤️ 1


    function Understand() {
    this.this = 'loser';
    }

    function A() {
    this.girlfriend = true;
    };

    function Get() {
    this.a = new A();
    };

    var you = 'loser',
    understand = new Understand(),
    get = new Get();

    if(you == understand.this){
    get.a.girlfriend;
    }
    Delbert
        93
    Delbert  
       2015-05-14 14:47:30 +08:00   ❤️ 4
    powtop
        94
    powtop  
       2015-05-14 15:01:19 +08:00
    Love girl = new Love();
    davepkxxx
        95
    davepkxxx  
       2015-05-14 15:08:30 +08:00
    各种语言的helloworld
    cst4you
        96
    cst4you  
       2015-05-14 15:17:03 +08:00
    GFWed
    scriptfans
        97
    scriptfans  
       2015-05-14 15:18:33 +08:00
    <body>
    undeflife
        98
    undeflife  
       2015-05-14 15:28:16 +08:00   ❤️ 1
    sumhat
        99
    sumhat  
       2015-05-14 15:36:26 +08:00
    最后再加一句 “making the world a better place” 23333333
    xiaosen0624
        100
    xiaosen0624  
       2015-05-14 15:50:13 +08:00
    @xx314327475 这个好
    1  2  
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3825 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 04:21 · PVG 12:21 · LAX 21:21 · JFK 00:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.