This file contains 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
{ | |
"openapi": "1.0.0", | |
"info": { | |
"title": "Google Ads API Web Service", | |
"version": "1.0" | |
}, | |
"servers": [ | |
{ "url": "https://api.server.test/v1" } | |
], | |
"paths": { |
This file contains 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
version: '3' | |
networks: | |
services_development: | |
external: true | |
services: | |
rmdc_app: | |
container_name: rmdc_app | |
build: | |
context: . | |
dockerfile: Dockerfile.dev |
This file contains 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
ImagePicker.openPicker({ | |
width: 200, | |
height: 200, | |
cropping: true, | |
cropperCircleOverlay: true, | |
}).then(image => { | |
let options = { | |
headers: { | |
Accept: "application/json", | |
"Content-Type": "multipart/form-data", |
This file contains 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
class Endpoint < ApplicationRecord | |
#:user_id,:user_type, :devise_id, :signed_in | |
belongs_to :user | |
after_create :set_as_signed_in | |
def set_as_signed_in | |
device_endpoints = Endpoint.where(device_id: device_id) | |
device_endpoints.update_all(signed_in: false) if device_sns_endpoints.count > 1 | |
update_column(:signed_in, true) |
This file contains 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) locate your jdk bin folder: | |
`/usr/libexec/java_home` | |
2) navigate to your jdk bin folder | |
`cd /usr/libexec/java_home` | |
3) to generate a signing key | |
`sudo keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000` | |
-- will ask you to add password and information |