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
| # my list had word number and word on a single line, first script splits the huge sentence by numbers into words in each line | |
| cat 8word_list.txt | tr [:digit:] '\n' | sort | uniq | wc -l | |
| 29722 | |
| # this refines to identify words with 2 letters repeated | |
| cat 8word_list.txt | tr [:digit:] '\n' | sort | uniq | grep '\([[:alnum:]]\)\1' | wc -l | |
| 6784 |
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
| package main | |
| import ( | |
| "bytes" | |
| "encoding/hex" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net" |
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
| package main | |
| import ( | |
| "net" | |
| "os" | |
| ) | |
| const ( | |
| RECV_BUF_LEN = 1024 | |
| ) |
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
| # This Source Code Form is subject to the terms of the Mozilla Public | |
| # License, v. 2.0. If a copy of the MPL was not distributed with this | |
| # file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
| # Create a build and development environment for Firefox. | |
| FROM ubuntu:12.10 | |
| MAINTAINER Gregory Szorc "gps@mozilla.com" | |
| RUN apt-get update |
NewerOlder