- Online Courses: Power Searching and Advanced Power Searching online courses (Power Searching With Google)
- Online Course: Advanced Power Searching By Skill (Power Searching With Google)
- Cheat Sheet: Google Search Operators (Google Support)
- Cheat Sheet: Google Hacking and Defense Cheat Sheet (SANS)
- Cheat Sheet: Google Searchable Filetypes (Google Support)
- Cheat Sheet: Google Search Punctuation Operators (Google Support)
- Cheat Sheet: Google Power Searching Quick Reference Guide (Power Searching With Google)
- Database: [Google Hacking
This file contains 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
<project | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> | |
<!-- 父项目的坐标。如果项目中没有规定某个元素的值,那么父项目中的对应值即为项目的默认值。 坐标包括group ID,artifact ID和 version。 --> | |
<parent> | |
<!-- 被继承的父项目的构件标识符 --> | |
<artifactId /> | |
<!-- 被继承的父项目的全球唯一标识符 --> |
This file contains 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
const path = require('path'); | |
const fs = require('fs'); | |
const crypto = require('crypto'); | |
const YOUR_FILE_PATH = '{YourFileWithPath}'; // POPULATE THIS | |
function hashFile(file, algorithm = 'sha512', encoding = 'base64', options) { | |
return new Promise((resolve, reject) => { | |
const hash = crypto.createHash(algorithm); | |
hash.on('error', reject).setEncoding(encoding); |
This file contains 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 is an adoption from Oh My Zsh for Google Cloud Shell | |
# author - bobvanluijt | |
# source - https://github.com/bobvanluijt/google-cloud-shell-pro-zsh | |
## | |
main() { | |
# Install zsh | |
sudo apt-get -qq update |
This file contains 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
Remove package's dependencies (does not remove package): | |
brew deps [FORMULA] | xargs brew remove --ignore-dependencies | |
Remove package: | |
brew remove [FORMULA] | |
Reinstall missing libraries: | |
brew missing | cut -d: -f2 | sort | uniq | xargs brew install |
This file contains 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
'use strict' | |
const Crawler = require('crawler') | |
class MCrawler { | |
constructor(newConfig, callback) { | |
this.c = this.createCrawler(newConfig, callback) | |
} | |
/** | |
* 初始化爬虫配置 |
This file contains 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
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
This file contains 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
"复制无上限 | |
set viminfo='1000,<800 | |
" 不要使用vi的键盘模式,而是vim自己的 | |
set nocompatible | |
" 语法高亮 | |
set syntax=on | |
" 去掉输入错误的提示声音 |
##分布式系统(Distributed System)资料
介绍:这是一篇介绍在动态网络里面实现分布式系统重构的paper.论文的作者(导师)是MIT读博的时候是做分布式系统的研究的,现在在NUS带学生,不仅仅是分布式系统,还有无线网络.如果感兴趣可以去他的主页了解.
This file contains 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
alias py=python | |
## open with mou/macdown,to write markdown | |
#alias md="/Applications/Mou.app/Contents/MacOS/Mou" | |
alias md=openmd | |
openmd(){ | |
if [ -f $@ ] ; then | |
open $@ | |
else | |
touch $@ |
NewerOlder