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
<?php | |
class hunspell { | |
private $language = "en_US"; // en_US, ar, etc | |
private $encoding = "en_US.utf-8"; | |
private $raw; | |
private $hunspellVersion; | |
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
<?php | |
error_reporting(0); | |
// Array of appstore ID's to always look up | |
$idArray = array( | |
"428243918", | |
"442713833" | |
); | |
$arguments = array_merge($idArray, array_slice($argv, 1) ); |
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
function generate_app_icons { | |
icons=(29 40 50 57 58 72 76 80 87 100 120 114 120 144 152 180) | |
for i in "${icons[@]}" | |
do | |
resize_image $1 $i | |
done | |
} | |
function resize_image { |
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
struct Style<View: UIView> { | |
let styles: [(View) -> Void] | |
init(_ style: @escaping (View) -> Void) { | |
self.styles = [style] | |
} | |
init(_ styles: [(View) -> Void]) { | |
self.styles = styles |