You can follow these in order to get set-up
Docker
echo 'export HQO_REPOS_DIR="$HOME/hqo"' >> ~/.bash_profile; # add export HQO_REPOS_DIR="$HOME/hqo"
source ~./bash_profile;
docker-machine stop default;
docker-machine rm -f default;
#!/bin/bash | |
export CONFLUENCE_USERNAME="your_username" | |
export CONFLUENCE_PASSWORD="your_password" | |
function get_page_html() | |
{ | |
mkdir ~/confluence; | |
result=$(curl --request GET \ | |
--url "https://ventureapp.atlassian.net/wiki/rest/api/content/$1/?expand=body.export_view" \ | |
--user $CONFLUENCE_USERNAME:$CONFLUENCE_PASSWORD \ |
<?php | |
/** | |
* VentureApp | |
* https://www.ventureapp.com/ | |
* email: info@ventureapp.com | |
*/ | |
namespace App\Helpers; | |
class vaHelper |
user www-data; | |
worker_processes 4; # number of cores on machine | |
error_log /var/log/nginx/error.log; | |
events { | |
worker_connections 1024; | |
} | |
http { |
POST /api/v1/lane/subscriber/register HTTP/1.1 | |
Host: app.joinlane.com | |
Content-Type: application/json | |
Connection: keep-alive | |
Accept: application/json | |
x-lane-flavour: lane | |
Accept-Language: en-us | |
Content-Length: 93 | |
Accept-Encoding: br, gzip, deflate | |
User-Agent: Lane/45202 CFNetwork/975.0.3 Darwin/18.2.0 |
#!/bin/bash | |
# chmod a+x refreshDevApi.sh; | |
# ./refreshDevApi.sh; | |
# 1) get the latest prod data to the dev db | |
# 2) re-deploy dev api | |
# - kdm | |
# | |
# config | |
uname="YYYYY" | |
key="XXXXX" |
# | |
# Built From: https://github.com/CircleCI-Public/circleci-dockerfiles/blob/master/android/images/api-27-alpha/Dockerfile | |
# | |
FROM openjdk:8-jdk-slim | |
LABEL maintainer="marc@circleci.com" | |
# Initial Command run as `root`. | |
ADD https://raw.githubusercontent.com/circleci/circleci-images/master/android/bin/circle-android /bin/circle-android |
#! bin/bash | |
docker login; | |
# .... | |
docker pull circleci/android:api-27-alpha; | |
docker images; | |
# find IMAGE_ID column for the pulled docker hub repository, and copy-and-paste the value (ex, b24d6d30803b) | |
export IMAGE_ID=b24d6d30803b; | |
docker tag $IMAGE_ID kmccarth/circleciandroid27alpha; | |
# docker push kmccarth/circleciandroid27alpha; |
#!/bin/bash | |
echo "# grep with 5 lines after... "; | |
GREP_RESULTS=$(grep -r -H -A 5 "track({" ~/repos/hqo/react-native/app); | |
echo "$GREP_RESULTS"; |