Skip to content

Instantly share code, notes, and snippets.

@wpconsulate
wpconsulate / git-deployment.md
Created September 7, 2017 08:40 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.

svg { border: 1px solid #000; margin: 1.5em; }
.slidable { cursor: w-resize; }
#include<iostream>
using namespace std;
//-----------------------------------------------
char white[9];
char red[9];
char orange[9];
char blue[9];
char green[9];
char yellow[9];
//----------------------------------
{"android":{"package":"com.org.androidApp","publishBundlePath":"android/app/src/main/assets/shell-app.bundle","publishManifestPath":"android/app/src/main/assets/shell-app-manifest.json"},"bundledAssets":["asset_744ce60078c17d86006dd0edabcd59a7.ttf","asset_5221f35630f5b71e53c3196d3ff681a1.ttf","asset_517bb9a13989451be6623299153f503f.ttf","asset_b06871f281fee6b241d60582ae9369b9.ttf","asset_e20945d7c929279ef7a6f1db184a4470.ttf","asset_74c652671225d6ded874a648502e5f0a.ttf","asset_1eccbc4c41d49fd81840aef3eaabe862.ttf","asset_a37b0c01c0baf1888ca812cc0508f6e2.ttf","asset_9e9dbe78c20054a6d71d9c10c939ba68.ttf","asset_d2285965fe34b05465047401b8595dd0.ttf","asset_5cdf883b18a5651a29a4d1ef276d2457.ttf","asset_7d40544b395c5949f4646f5e150fe020.png","asset_cdd04e13d4ec83ff0cd13ec8dabdc341.png","asset_a132ecc4ba5c1517ff83c0fb321bc7fc.png","asset_0ea69b5077e7c4696db85dbcba75b0e1.png","asset_f5b790e2ac193b3d41015edb3551f9b8.png","asset_755fce460f64aed4d3f3ac1a6249ceea.png","asset_004c2bbb035d8d06bb830efc4673c886.png","asset_232
08-08 23:18:36.582 28759-28759/? I/zygote: Late-enabling -Xcheck:jni
08-08 23:18:36.602 28759-28759/? W/zygote: Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
08-08 23:18:37.268 28759-28759/com.petmeds1800.androidApp W/zygote: /data/app/com.petmeds1800.androidApp-F1OAGGXPEy7ZXNajVJLXzw==/split_lib_dependencies_apk.apk has in excess of 100 dex files. Please consider coalescing and shrinking the number to avoid runtime overhead.
08-08 23:18:37.553 28759-28759/com.petmeds1800.androidApp I/MultiDex: VM with version 2.1.0 has multidex support
install
VM has multidex support, MultiDex support library is disabled.
08-08 23:18:37.636 28759-28759/com.petmeds1800.androidApp D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
08-08 23:18:37.646 28759-28759/com.petmeds1800.androidApp W/InstanceID/Rpc: Found 10017
08-08 23:18:37.649 28759-28759/com.petmeds1800.androidApp D/FirebaseApp: com.google.firebase.crash.FirebaseCr
08-11 17:35:38.783 19770-19770/? I/zygote: Late-enabling -Xcheck:jni
08-11 17:35:38.801 19770-19770/? W/zygote: Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
08-11 17:35:39.495 19770-19770/com.petmeds1800.androidApp W/zygote: /data/app/com.petmeds1800.androidApp-CW7R377kRHyfKbEozQgQIQ==/split_lib_dependencies_apk.apk has in excess of 100 dex files. Please consider coalescing and shrinking the number to avoid runtime overhead.
08-11 17:35:39.771 19770-19770/com.petmeds1800.androidApp I/MultiDex: VM with version 2.1.0 has multidex support
install
VM has multidex support, MultiDex support library is disabled.
08-11 17:35:39.854 19770-19770/com.petmeds1800.androidApp D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
08-11 17:35:39.864 19770-19770/com.petmeds1800.androidApp W/InstanceID/Rpc: Found 10017
08-11 17:35:39.867 19770-19770/com.petmeds1800.androidApp D/FirebaseApp: com.google.firebase.crash.FirebaseCr
Deepaks-MacBook-Pro:android deepak$ ./gradlew app:dependencies
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Parallel execution with configuration on demand is an incubating feature.
> Configure project :app
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/deepak/Library/Android/sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
08-13 22:10:24.974 13963-13963/? I/zygote: Late-enabling -Xcheck:jni
08-13 22:10:24.999 13963-13963/? W/zygote: Using default instruction set features for ARM CPU variant (cortex-a9) using conservative defaults
08-13 22:10:25.042 13963-13978/? E/zygote: Failed sending reply to debugger: Broken pipe
08-13 22:10:25.042 13963-13978/? I/zygote: Debugger is no longer active
08-13 22:10:25.681 13963-13963/? W/zygote: /data/app/com.petmeds1800.androidApp-FJnB9eI8_4L-QRZapXI3eg==/split_lib_dependencies_apk.apk has in excess of 100 dex files. Please consider coalescing and shrinking the number to avoid runtime overhead.
08-13 22:10:25.959 13963-13963/? I/MultiDex: VM with version 2.1.0 has multidex support
install
VM has multidex support, MultiDex support library is disabled.
08-13 22:10:26.042 13963-13963/? D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
08-13 22:10:26.052 13963-13963/com.petmeds1800.androidApp W/InstanceID/Rpc: Found 10017
@wpconsulate
wpconsulate / domain-to-aws-ec2-instance.md
Created October 9, 2018 18:11 — forked from keithweaver/domain-to-aws-ec2-instance.md
Point Domain to Amazon Web Services (AWS) EC2 Instance

Point Domain to Amazon Web Services (AWS) EC2 Instance

  1. Open the Amazon Route 53 console at https://console.aws.amazon.com/route53/.
  2. If you are new to Amazon Route 53, you see a welcome page; choose Get Started Now for DNS Management. Otherwise, choose Hosted Zones in the navigation pane.
  3. Choose Create Hosted Zone.
  4. For Domain Name, type your domain name.
  5. Choose Create.
  6. Click the Hosted Zone, edit record set.
  7. In the value, add ec2-54-152-134-146.compute-1.amazonaws.com.
  8. Change your DNS file to point to the IPv4 address (This would be in something like GoDaddy).
protected $table = 'listings';
public function contact()
{
return $this->BelongsTo('contacts');
}
public function specifications()
{
return $this->hasMany('listings_specifications');
}