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
function checkPalindrome(string) { | |
function reverseString(str) { | |
return (str === '') ? '' : reverseString(str.substr(1)) + str.charAt(0); | |
} | |
return string === reverseString(string) | |
} |
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/bash | |
CLOUD_SERVICE = mega | |
ROM = Derp | |
function setvars { | |
if [ ROM = Derp ] | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<remote name="sdm660" fetch="https://github.com/xiaomi-sdm660/"/> | |
<!-- kernel --> | |
<project name="android_kernel_xiaomi_clover" path="kernel/xiaomi/sdm660" remote="sdm660" revision="kernel.lnx.4.4.r38-rel-wifi"/> | |
<!-- clover --> | |
<project name="android_device_xiaomi_clover" path="device/xiaomi/clover" remote="sdm660" revision="bliss"/> | |
<!-- Common--> | |
<project name="android_device_xiaomi_sdm660-common" path="device/xiaomi/sdm660-common" remote="sdm660" revision="bliss"/> |
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
sudo apt -y install repo m4 fontconfig zip openssl megatools && | |
mkdir ~/bliss && | |
sudo mkfs.ext4 /dev/vdb && | |
sudo mount /dev/vdb ~/bliss && | |
sudo chmod 777 -R ~/bliss && | |
cd ~/bliss && | |
git config --global user.email "[email protected]" && | |
git config --global user.name "BedrockDigger" && |
NewerOlder