• 请不要在回答技术问题时复制粘贴 AI 生成的内容
quix
V2EX  ›  程序员

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

  •  
  •   quix · May 14, 2015 · 17982 views
    This topic created in 4198 days ago, the information mentioned may be changed or developed.

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

    Supplement 1  ·  May 14, 2015

    试着做了个样子..
    161 replies  •  2015-06-24 18:32:40 +08:00
    1  2  
    ❮ ❯
    publicID001
    publicID001
    May 14, 2015❤️3
    1
    <?php
    imt
    imt
    May 14, 2015❤️1
    2
    截取一段汇编吧..连接这个世界
    mytharcher
    mytharcher
    May 14, 2015❤️2
    3
    各种语言的“Hello world”。
    v2Panda
    v2Panda
    May 14, 2015❤️1
    4
    最有认同感的代码?

    Hello World !
    ivenvd
    ivenvd
    May 14, 2015❤️1
    5
    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
    morethansean
    May 14, 2015
    6
    看了一下这个主题…… 那么丑!
    Andiry
    Andiry
    May 14, 2015❤️1
    8
    BUG: Unable to handle kernel NULL pointer dereference
    quix
    quix
    OP
    May 14, 2015
    9
    catface
    catface
    May 14, 2015❤️1
    10
    yum uninstall emacs
    lingo233
    lingo233
    May 14, 2015
    11
    object not found
    goodbest
    goodbest
    May 14, 2015❤️10
    12
    烫烫烫 锟斤拷
    catface
    catface
    May 14, 2015❤️1
    13
    talk is cheap
    Shieffan
    Shieffan
    May 14, 2015❤️2
    14
    no keyboard detected
    press f1 to resume
    linxy
    linxy
    May 14, 2015
    15
    show me your code
    我只是接楼上的…
    est
    est
    May 14, 2015❤️1
    16
    def pythonic():
     simple is better
    aroma
    aroma
    May 14, 2015❤️1
    17
    hello world
    xx314327475
    xx314327475
    May 14, 2015❤️1
    18
    object not found!
    TimLang
    TimLang
    May 14, 2015❤️1
    19
    rm -rf /*
    t2doo
    t2doo
    May 14, 2015❤️1
    20
    HTML (how to meet lady)
    tonynothing
    tonynothing
    May 14, 2015❤️1
    21
    i = 0x5f3759df - ( i >> 1 );
    VirgilMing
    VirgilMing
    May 14, 2015 via iPhone
    22
    @t2doo 不是 how to make love 吗
    yahoo21cn
    yahoo21cn
    May 14, 2015❤️1
    23
    ERROR
    nijux
    nijux
    May 14, 2015❤️1
    24
    很久以前的 /t/68265
    mortal
    mortal
    May 14, 2015❤️1
    25
    Life is short!
    asj
    asj
    May 14, 2015❤️2
    26
    Python:
    s = 's = %r\nprint(s%%s)'
    print(s%s)
    eae29qvc
    eae29qvc
    May 14, 2015❤️1
    28
    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
    yuezhimsolo
    May 14, 2015❤️1
    29
    Hello World 过时了,来个最需要的:I need a girlfriend!
    tideline
    tideline
    May 14, 2015❤️1
    30
    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
    eae29qvc
    May 14, 2015
    31
    好吧,格式乱了
    b821025551b
    b821025551b
    May 14, 2015❤️1
    32
    还是“404 NOT FOUND”比较拉风
    eric
    eric
    May 14, 2015❤️1
    33
    </head>
    <body>
    Agromania
    Agromania
    May 14, 2015❤️1
    34
    shutdown -p now
    SuYia
    SuYia
    May 14, 2015
    35
    @lingo233

    23333!
    kokdemo
    kokdemo
    May 14, 2015❤️1
    36
    </head>
    <body>
    <heart/>
    <lungs>
    <lung/><lung/>
    </lungs>
    <stomach/>
    <liver/>
    <gallbladder/>
    <kidneys>
    <kidney/><kidney/>
    </kidneys>
    <intestines></intestines>
    </body>


    自行加缩进吧
    chenshaoju
    chenshaoju
    May 14, 2015❤️2
    37
    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
    mymy
    May 14, 2015❤️1
    38
    “找不到对象” 虽然不是代码 不过通常会引起共鸣
    laotaitai
    laotaitai
    May 14, 2015
    39
    @morethansean 确实丑! 太刺眼了. PS: 你有什么很酷, 不刺眼的主题?
    imWBB
    imWBB
    May 14, 2015 via iPhone
    40
    @mymy
    創建個對象
    nuansediao
    nuansediao
    May 14, 2015
    41
    印什么都不露脸,还是不印的好。
    morethansean
    morethansean
    May 14, 2015❤️1
    42
    @laotaitai 人气颇高的 spacegray 怎么样? https://github.com/kkga/spacegray
    laotaitai
    laotaitai
    May 14, 2015
    43
    @morethansean 这个我很早前就安装了, 还是不好看, 我觉得最好看的就是VIM的那种, 可惜没有100%一模一样的配色.
    halmstad
    halmstad
    May 14, 2015
    44
    @ivenvd 就这个吧,让你翔印一个来卖
    ZhaoMiing
    ZhaoMiing
    May 14, 2015❤️1
    45
    *{float: cloud!important;}
    wanjun
    wanjun
    May 14, 2015❤️1
    46
    404
    wbingeek
    wbingeek
    May 14, 2015❤️1
    47
    zael
    zael
    May 14, 2015
    48
    @TimLang 前面加个sudo
    JayFang1993
    JayFang1993
    May 14, 2015❤️1
    49
    必须 是 hello world 啊
    ibolee
    ibolee
    May 14, 2015❤️1
    50
    echo 牛B!
    phx13ye
    phx13ye
    May 14, 2015❤️1
    51
    VIM - Vi Improved
    Agromania
    Agromania
    May 14, 2015❤️1
    52
    强迫症慎入

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

    其实大家方案也不错啊

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

    sudo rm -rf *很吐槽
    iam36
    iam36
    May 14, 2015
    74
    代码的不知道 。。。

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

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

    wheatcc
    wheatcc
    May 14, 2015
    85
    404
    incompatible
    incompatible
    May 14, 2015❤️1
    86
    看了一遍发现下面这个还没人说:

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

    Brainfuck 的 "Hello World!"
    nyanpath
    nyanpath
    May 14, 2015 via Android❤️1
    91
    HTML
    How To Make Love
    ynyounuo
    ynyounuo
    May 14, 2015❤️1
    92


    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
    Delbert
    May 14, 2015❤️4
    93
    powtop
    powtop
    May 14, 2015
    94
    Love girl = new Love();
    davepkxxx
    davepkxxx
    May 14, 2015
    95
    各种语言的helloworld
    cst4you
    cst4you
    May 14, 2015
    96
    GFWed
    scriptfans
    scriptfans
    May 14, 2015
    97
    <body>
    undeflife
    undeflife
    May 14, 2015❤️1
    98
    sumhat
    sumhat
    May 14, 2015
    99
    最后再加一句 “making the world a better place” 23333333
    xiaosen0624
    xiaosen0624
    May 14, 2015
    100
    @xx314327475 这个好
    1  2  
    ❮ ❯
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1242 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 254ms · UTC 23:47 · PVG 07:47 · LAX 15:47 · JFK 18:47
    ♥ Do have faith in what you're doing.