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
# Export the path to enviroment | |
export ANDROID_HOME=/home/ec2-user/environment/android-sdk | |
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/platform-tools | |
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/tools/bin | |
export PATH=$PATH:$ANDROID_HOME/cmdline-tools |
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 | |
/** | |
* Author: git@ashbeats | |
* Date: 6/12/2019 | |
* Time: 10:46 PM | |
*/ | |
$testCases = [ | |
'123Adggaaabaaaaaaabbc' => 'a', | |
'aaabbb' => 'a', // a |
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 | |
/** | |
* Author: git@ashbeats | |
* Date: 12/2/2018 | |
* Time: 2:45 AM | |
*/ | |
/** | |
* Late night code after stumbling on https://youtu.be/IWvbPIYQPFM?t=537 and a ton of beers. |
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 | |
/*** | |
This script runs a local image against the image labeler. | |
~/tensorflow/bazel-bin/tensorflow/examples/label_image/label_image \ | |
--graph=$graph_model --labels=$labels \ | |
--output_layer=final_result \ | |
--image=$image_path | |
Make sure you build 'label_image' first and copy it + the models into this folder. |
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 | |
/** | |
* Created by PhpStorm. | |
* User: Ash64bit | |
* Date: 29-Jul-16 | |
* Time: 9:38 PM | |
*/ | |
namespace App\CustomLibs\JohnChristos\Vidx; |
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 | |
/** | |
* | |
* @param array $paths_media_inputs | |
* @param string $paths_media_output | |
* @param int $default_video_stream_index | |
* @param int $default_audio_stream_index | |
* @return string | |
*/ |
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 | |
/** | |
* Created by PhpStorm. | |
* User: Ash ([email protected]) | |
* Date: 23-Apr-16 | |
* Time: 4:31 PM | |
*/ | |
// வார்த்தைகள் | |
/* வார்த்தைகள் */ |
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 | |
function tamil_consonant() | |
{ | |
$consonants = [ | |
["Sound" => "AK", "hex" => "0B83", "text" => "ஃ"], | |
["Sound" => "KA", "hex" => "0B95", "text" => "க"], | |
["Sound" => "NGA", "hex" => "0B99", "text" => "ங"], | |
["Sound" => "CA", "hex" => "0B9A", "text" => "ச"], |