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
[Google Drive] - Ref: https://www.google.com/drive/pricing/ | |
100 GB - $1.99 / month | |
1TB - $9.99 / month | |
10 TB - $99.99 / month | |
15 GB - FREE | |
[DropBox] - Ref: https://www.dropbox.com/business/pricing | |
2TB - $12.50 / month | |
As much space as you - $20 / month | |
4GB - FREE | |
[OneDrive] - Ref: https://onedrive.live.com/about/en-US/plans/ |
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
alias vlc="/Applications/VLC.app/Contents/MacOS/VLC" |
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
ffmpeg -i http://embed.wistia.com/deliveries/blahBlahYadaYada.m3u8 -c copy -bsf:a aac_adtstoasc output.mp4 |
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
The issues: MPC-HC is hang when playing mp4 files on Windows 10 Creator | |
Quick-fix: Go to Options (O) -> Playback -> Output -> Change 'Directshow Video' to 'Video Mixing Renderer 9 (renderless)' |
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
1. Concepts: | |
System Integrity Protection (SIP) | |
"Apple has enabled a new default security oriented featured called System Integrity Protection, often called rootless, | |
in Mac OS from versions 10.11 onward. The rootless feature is aimed at preventing Mac OS X compromise by malicious code, | |
whether intentionally or accidentally, and essentially what SIP does is lock down specific system level locations in the file | |
system while simultaneously preventing certain processes from attaching to system-level processes." | |
- OSXDaily [http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/] |
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
@Basic | |
@Column(name = "created_date", nullable = true) | |
@Type(type="org.jadira.usertype.dateandtime.joda.PersistentLocalDateTime") | |
public DateTime getCreatedDate() { | |
return createdDate; | |
} | |
public void setCreatedDate(DateTime createdDate) { | |
this.createdDate = createdDate; | |
} |
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
* Use Json Web Token (JWT) for authorization [https://jwt.io/] | |
- Flickr | |
Request Format: GET or POST [https://www.flickr.com/services/api/request.rest.html] | |
Successful Responses: | |
{ | |
"stat": "ok", | |
"blogs": { | |
"blog": [ | |
{ |
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
LightHouse aka Audit 2.0 (https://github.com/GoogleChrome/lighthouse) - Lighthouse analyzes web apps and web pages, collecting modern performance metrics and insights on developer best practices. |
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
# Modify this file accordingly for your specific requirement. | |
# http://www.thegeekstuff.com | |
# 1. Delete all existing rules | |
iptables -F | |
# 2. Set default chain policies | |
iptables -P INPUT DROP | |
iptables -P FORWARD DROP | |
iptables -P OUTPUT DROP |
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
# Fix mysqld start fail: (when backup server) | |
vim /etc/mysql/my.cnf --> | |
[mysqld] | |
innodb_force_recovery = 3 | |
# Backup: | |
mysqldump -u root -p[password] [database_name] > dumpfilename.sql | |
# Restore: | |
mysql -u root -p[password] [database_name] < dumpfilename.sql | |
# Create user | |
CREATE USER 'finley'@'localhost' IDENTIFIED BY 'some_pass'; |