| F# | C# | Scala | Clojure | Python | Ruby | Haskell | SQL | OCaml | Common Lisp | Erlang | Smalltalk | Scheme | Ecmascript 5 | Perl 5 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| map | Select | map | map | map | collect | map | Select | map | mapcar | map | collect: | map | map | map |
| filter | Where | filter | filter | filter | select | filter | Where | filter | remove-if-not | filter | select: | filter | filter | grep |
| fold | Aggregate | foldLeft | reduce | reduce | inject | foldl |
This file contains hidden or 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
| # LaTeX Files | |
| *.aux | |
| *.glo | |
| *.idx | |
| *.log | |
| *.toc | |
| *.ist | |
| *.acn | |
| *.acr | |
| *.alg |
This file contains hidden or 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
| import socket | |
| import threading | |
| import os | |
| import subprocess | |
| Port = 123 #Shadowsocks 的端口 | |
| ShadowsocksPath = "/home/ss" #Shadowsocks 的路径 | |
| def CheckService(): | |
| sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
This file contains hidden or 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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import chardet | |
| BROTHER_ENCODINGS = [ | |
| ('GB2312', 'GBK', 'GB18030'), | |
| ] |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int convert_file(char *szSourceFile, int bIsFastConv) | |
| { | |
| char szNewFileName[256] = {0}; | |
| int buffer[0x400]; | |
| int i; | |
| char flag; | |
| char data; |
This file contains hidden or 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
| #!/usr/bin/ruby | |
| # encoding: US-ASCII | |
| # Convert a Markdown README to HTML with Github Flavored Markdown | |
| # Github and Pygments styles are included in the output | |
| # | |
| # Requirements: json gem (`gem install json`) | |
| # | |
| # Input: STDIN or filename | |
| # Output: STDOUT | |
| # Arguments: "-c" to copy to clipboard (or "| pbcopy"), or "> filename.html" to output to a file |
This file contains hidden or 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
| <section data-background-transition='zoom' data-transition='concave' data-background='http://fdorg.qiniudn.com/galaxy-10996_1280.jpg' data-state='blackout'> | |
| <h1>在云端的泡泡糖</h1> | |
| <h4>slides.fdzh.org</h4> | |
| <p>请按 空格 或点击 右下角方向键 继续演示...</p> | |
| </section> | |
| <section data-background-transition='zoom' data-transition='linear'> | |
| <h2>如何使用?</h2> | |
| <p>仅需 Fork 一份 Gist </p> | |
| <a href='https://gist.github.com/tvvocold/30e2848f2ba2a294ab28'>https://gist.github.com/tvvocold/30e2848f2ba2a294ab28</a></p> |
This file contains hidden or 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
| #lang racket | |
| (require racket/serialize) | |
| (require racket/cmdline) | |
| (require "./messages.rkt") | |
| (define (rand-number pred ran) | |
| (let loop () | |
| (let ([r (random ran)]) | |
| (if (pred r) (loop) r)))) |
This file contains hidden or 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
| diff --git a/Utilities/VTK/Applications/gdcmviewer.cxx b/Utilities/VTK/Applications/gdcmviewer.cxx | |
| index 57facd6..a74c1f5 100644 | |
| --- a/Utilities/VTK/Applications/gdcmviewer.cxx | |
| +++ b/Utilities/VTK/Applications/gdcmviewer.cxx | |
| @@ -118,7 +118,7 @@ public: | |
| double GetOverlayVisibility() { return 0; } | |
| void SetOverlayVisibility(double vis) {(void)vis;} | |
| }; | |
| -vtkCxxRevisionMacro(vtkGDCMImageViewer, "$Revision: 1.30 $") | |
| +//vtkCxxRevisionMacro(vtkGDCMImageViewer, "$Revision: 1.30 $") |
This file contains hidden or 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
| #lang racket | |
| (require net/http-client) | |
| (require net/url) | |
| (require json) | |
| (require net/uri-codec) | |
| (require racket/cmdline) | |
| (define lg (make-logger 'currency-logger)) | |
| (current-logger lg) |
OlderNewer