There are some useful git commands:
Setup a repository:
git init --bare
Copy an existing repository:
git clone drive:
Add file to repository:
git add file
git commit
git push
Get updated files from repository:
git fetch
Merge updated files to my workspace:
git merge
Tuesday, August 23, 2016
Tuesday, August 9, 2016
Web Application Firewall (WAF)
By definition, WAF is going to filter out web request containing SQL injection, cross-site scripting, etc.
Ref: https://www.owasp.org/index.php/Web_Application_Firewall
Ref: https://www.owasp.org/index.php/Web_Application_Firewall
Subscribe to:
Posts (Atom)
Sync multiple git repo at once
Use the following command in Linux will do the job: ls -d RepoNames* | xargs -I{} git -C {} pull
-
When Office2003 couldn't find file SKU011.CAB: regedit -> [HKEY_LOCAL_MACHINE] -> [SOFTWARE] -> [Microsoft] -> [Office] -&...
-
The resolution can be changed by editing the BlueStack's registry: HKLM\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height and ...
-
To count the number lines of files / stdout in Linux, we uses "wc -l" to achieve. In Windows, we use the following instead: find...