sh -c "$(curl https://gist.githubusercontent.com/HazemKhaled/21714668bff421120a50ee2389b749af/raw/setup.sh)"
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
import java.util.Arrays; | |
import java.util.Random; | |
/** | |
* SortAlgorithms - A comprehensive implementation and comparison of sorting algorithms | |
* | |
* This code demonstrates two fundamental divide-and-conquer sorting algorithms: | |
* - Merge Sort: Stable, O(n log n) time complexity, O(n) space complexity | |
* - Quick Sort: In-place, average O(n log n), worst-case O(n^2) time complexity | |
* |
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
#!/bin/sh | |
# install dependencies | |
sudo apt-get install -yqq libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 | |
# download and unpack Android SDK | |
wget http://dl.google.com/android/android-sdk_r24.3.3-linux.tgz | |
mkdir /home/runner/android-sdk-linux | |
tar xf android-sdk_r24.3.3-linux.tgz -C /home/runner/ | |
rm android-sdk_r24.3.3-linux.tgz | |
# install necessarry componenets |
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
language: objective-c | |
notifications: | |
email: | |
- [email protected] | |
env: | |
matrix: | |
- PLATFORM="ios" | |
- PLATFORM="android" ANDROID_VERSION="19" |
This [Alloy Build Configuration File](http://docs.appcelerator.com/titanium/3.0/#!/guide/Build_Configuration_File_(alloy.jmk) automatically generates non-retina and Android XXHDPI, XHDPI, HDPI and MDPI images for all new and changed retina (@3x
) images before each compile.
Read more about it at: http://fokkezb.nl/2013/07/29/generate-non-retina-images/