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
$ git config --global core.autocrlf input # Configure Git on OS X to properly handle line endings | |
$ git rm --cached -r . && git reset --hard # Warning, your local changes will be lost, so commit FIRST |
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 | |
# Update me! | |
COMPUTER_NAME="Airfred" | |
COMPUTER_NETWORK_NAME="Airfred" | |
# Setup script for macOS. | |
# Download. Update variables above. Run `chmod 755 ./macos-setup.sh && ./macos-setup.sh`. | |
# Adapted from: https://gist.github.com/AlexanderSix/c0ac2d87abd205b9a9c9cdb8502c2f4e | |
# Also adapted from: https://gist.github.com/bradp/bea76b16d3325f5c47d4 |
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
adb shell settings put global settings_provider_model false | |
adb shell settings put secure sysui_qs_tiles "wifi,cell,$(adb shell settings get secure sysui_qs_tiles)" |
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
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
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
☐ 1. clone https://bitbucket.org/7Tablets/simplex-mobile/src/development/ | |
☐ 2. Run these commands in this order: | |
nvm use && npm i | |
sudo gem install cocoapods -v 1.10.0 | |
npm run pod:install | |
# if above pod install doesn't work then do : | |
npm run pod:install:update | |
☐ 3. Android keystores download from this link and move it to android/app folder | |
https://drive.google.com/drive/folders/11Z-trlfoxZdAZivOUwlbuIYAc892iSik?usp=sharing |
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
# Open port 22 (example) | |
# (RHEL/CentOS/Fedora) | |
sudo firewall-cmd --permanent --add-port=22/tcp | |
sudo firewall-cmd --reload | |
# (Debian/Ubuntu) | |
sudo ufw allow 22/tcp | |
sudo ufw reload |
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
# OLD INSTALLATION PROCESS | |
# NOTE: USE NEW PROCESS BELOW IF IT FAILS | |
cd ~ | |
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" | |
unzip awscli-bundle.zip | |
sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws | |
cat ~/.aws/config | |
aws configure --profile "<profile name>" | |
# Set all Access keys and secret keys |
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
# For local test: | |
# Install docker in your local system | |
# For EC2 follow following instructions | |
# https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-basics.html | |
sudo yum update -y | |
sudo amazon-linux-extras install docker -y | |
sudo usermod -a -G docker ec2-user | |
sudo service docker start | |
sudo service docker restart # If sudo issues arise |
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
# Create CodeDeploy in AWS IAM | |
# Follow: https://levelup.gitconnected.com/set-up-a-continuous-delivery-pipeline-from-bitbucket-to-aws-ec2-using-aws-code-deploy-a9777a3cbcad | |
sudo yum update -y \ | |
&& sudo yum install ruby wget -y \ | |
&& cd /home/ec2-user \ | |
&& wget https://aws-codedeploy-us-east-1.s3.us-east-1.amazonaws.com/latest/install \ | |
&& chmod +x ./install \ | |
&& sudo ./install auto \ |
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
1. Solr Server setup | |
----------------------------------------------------------------------------- | |
Use below link as a reference | |
https://www.webfoobar.com/node/16 | |
https://valuebound.com/resources/blog/installing-configuring-apache-solr-520-with-drupal-7-using-search-api-ubuntu-1404 | |
1. If Java is not installed, check the available versions of Java and install it: | |
yum list available java* | |
yum install java-1.8.0-openjdk.x86_64 | |
----------------------------------------------- |
NewerOlder