Code Sample
package main
import "fmt"
import "runtime"
func main() {
fmt.Printf("Hello %s/%s\n", runtime.GOOS, runtime.GOARCH)
}
| seq 1 1000 | parallel -j20 do_something |
| //Install Macports. | |
| //Install aircrack-ng: | |
| sudo port install aircrack-ng | |
| //Install the latest Xcode, with the Command Line Tools. | |
| //Create the following symlink: | |
| sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport | |
| //Figure out which channel you need to sniff: | |
| sudo airport -s | |
| sudo airport en1 sniff [CHANNEL] |
Code Sample
package main
import "fmt"
import "runtime"
func main() {
fmt.Printf("Hello %s/%s\n", runtime.GOOS, runtime.GOARCH)
}
| import itertools | |
| import unittest | |
| def permutation_solution(list_object): | |
| result_set = set() | |
| permuation_generator = itertools.permutations(list_object) | |
| for each_ele in permuation_generator: |
| import fnmatch | |
| import os | |
| import re | |
| import fileinput | |
| def collect_files_lst(rootPath, patternList): | |
| file_collection_lst = [] | |
| for each_pattern in patternList: | |
| for root, dirs, files in os.walk(rootPath): |
| import fnmatch | |
| import os | |
| import re | |
| import fileinput | |
| def collect_files_lst(rootPath, patternList): | |
| file_collection_lst = [] | |
| for each_pattern in patternList: | |
| for root, dirs, files in os.walk(rootPath): |
| import fnmatch | |
| import os | |
| import re | |
| import fileinput | |
| def collect_files_lst(rootPath, patternList): | |
| file_collection_lst = [] | |
| for each_pattern in patternList: | |
| for root, dirs, files in os.walk(rootPath): |
| import os | |
| from docx import Document | |
| import uuid | |
| def getDocList(rootFoldr): | |
| filelst = [] | |
| for(dirpath, _, files) in os.walk(rootFoldr): | |
| for filename in files: | |
| filepath = os.path.join(dirpath, filename) |
| import re | |
| import os | |
| import fileinput | |
| import uuid | |
| def getDocList(rootFoldr): | |
| filelst = [] | |
| for(dirpath, _, files) in os.walk(rootFoldr): | |
| for filename in files: |
| import os | |
| from docx import Document | |
| import uuid | |
| def getDocList(rootFoldr): | |
| filelst = [] | |
| for(dirpath, _, files) in os.walk(rootFoldr): | |
| for filename in files: | |
| filepath = os.path.join(dirpath, filename) |