For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
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
-- Error Message: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline. | |
-- | |
-- our table name that has this issue is XYZ | |
-- | |
SET GLOBAL innodb_file_format=Barracuda; | |
SET GLOBAL innodb_file_per_table=ON; | |
ALTER TABLE XYZ ROW_FORMAT=COMPRESSED; |
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
-- Error Message: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline. | |
-- | |
-- our table name that has this issue is XYZ | |
-- | |
SET GLOBAL innodb_file_format=Barracuda; | |
SET GLOBAL innodb_file_per_table=ON; | |
ALTER TABLE XYZ ROW_FORMAT=COMPRESSED; |
This is largely based off of this article by Hulu and their roku-dev-cli tool.
Requirements:
The main requirement is a Mac with 2 available network interfaces WIFI <-> WIFI, LAN <-> WIFI, etc. This should work on other platforms as well but isn't covered here.
Setup
The first thing we need is Homebrew. If you've never used it before it's a great package manager for macOS that makes installing programs easier. Open Terminal and paste
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and hit enter
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
1. Goto http://dev.mysql.com/downloads/mysql/ | |
2. Select Platform: "Mac OS X" | |
3. Download mysql-5.5.11-osx10.6-x86.tar.gz | |
(Mac OS X ver. 10.6 (x86, 32-bit), Compressed TAR Archive) | |
4. Unzip it | |
5. Copy include folder into /Applications/MAMP/Library | |
6. Copy lib/* files into /Applications/MAMP/Library/lib | |
---- | |
1. Goto http://sourceforge.net/projects/mysql-python/ |
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
from fabric.api import * | |
""" | |
Base configuration | |
""" | |
env.project_name = '$(project)' | |
env.database_password = '$(db_password)' | |
env.site_media_prefix = "site_media" | |
env.admin_media_prefix = "admin_media" | |
env.newsapps_media_prefix = "na_media" |