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
# Allows us to print rainbow text to console | |
# Use puts Rainbow.new.colorize("Magical Text") | |
class Rainbow | |
PI_3 = Math::PI / 3 | |
def initialize | |
# colors calculation stolen from Minitest's Pride Plugin | |
# https://github.com/seattlerb/minitest | |
@colors = (0...(6 * 7)).map { |n| | |
n *= 1.0 / 6 |
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
# Makefile for porting MIUI | |
# | |
local-zip-file := stockrom.zip | |
local-out-zip-file := MIUI_YOURDEVICE.zip | |
local-previous-target-dir := | |
local-density := |