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
deploy_to_lightsail: | |
stage: deploy | |
services: | |
- name: docker:dind | |
entrypoint: ['env', '-u', 'DOCKER_HOST'] | |
command: ['dockerd-entrypoint.sh'] | |
before_script: | |
# 1. Install AWSCLIv2 (https://stackoverflow.com/questions/60298619/awscli-version-2-on-alpine-linux#answer-61268529) |
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
UIViewController *vc = [[UIViewController alloc] init]; | |
UIView *superview = vc.view; | |
// Width constraint | |
[superview addConstraint:[NSLayoutConstraint constraintWithItem: superview | |
attribute:NSLayoutAttributeWidth | |
relatedBy:NSLayoutRelationEqual | |
toItem:nil | |
attribute: NSLayoutAttributeNotAnAttribute | |
multiplier:1 |
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
{ | |
"name": "feedback-mobile_api", | |
"version": "0.0.1", | |
"description": "Feedback mobile API", | |
"repository": "https://github.com/mercadolibre/feedback-mobile_api.git", | |
"main": "feedback-mobile_api.js", | |
"scripts": { | |
"start": "export NODE_ENV=development; export NODE_ICU_DATA=node_modules/full-icu; ./node_modules/mobile-adk/bin/start.js feedback-mobile_api.js | ./node_modules/bunyan/bin/bunyan -o short", | |
"cluster": " export NODE_ICU_DATA=node_modules/full-icu; ./node_modules/mobile-adk/bin/start_cluster.js feedback-mobile_api.js", | |
"debug": "export NODE_ENV=development; export NODE_ICU_DATA=node_modules/full-icu; node --inspect --debug-brk ./node_modules/mobile-adk/bin/start.js feedback-mobile_api.js", |
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
Pod::Spec.new do |s| | |
s.name = 'meliDevSDK' | |
s.version = '0.1.0' | |
s.summary = 'A short description of meliDevSDK.' | |
s.resources = "LibraryComponents/Classes/**/*.xib" | |
s.source_files = "LibraryComponents/Classes/**/*.{h,m}" | |
s.homepage = 'https://github.com/igiagante/meliDevSDK' | |
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' | |
s.license = { :type => 'MIT', :file => 'LICENSE' } |
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
var createProcessImageFiles = function(folderName, files, createProcessImageFilesCallback) { | |
var flow = { | |
// Persist each new image file | |
createImageDirectory: async.apply(createImageDirectory, folderName), | |
// Update images data from the model | |
persistImageFiles: ['createImageDirectory', function(callback) { |