In this post, I share some useful GIT commands for everyday use. After years of using GIT, I’ve found useful commands to make my developer’s life easier. This is the list of the most frequently used in my case.
I found using .filter().map() and .reduce()Array methods could help to reduce code complexity and simplify many typical array data processing tasks.Looking at http://kangax.github.io/compat-table/es5/#test-Array_methods, you can confirm these methods are compatible with almost any modern desktop/mobile browser.
A good approach to understand how to use .filter() .map() and .reduce() is to compare each one to SQL data operations in SELECT statements.
In this post we will learn how to deploy your web applications in Heroku, for free. Heroku is a CloudPlatform-as-a-Service (PAAS). This company provides the base platform server, network resources and endpoints to publish your applications. However, you need to provide the application code and the rest is created automatically for you.
Sometimes, we need to test or showcase a quick prototypeof a cloud based web application, REST API backend , or a static web application client. Heroku is a good solution to quickly host application at no cost. For example, they support the most popular languages and frameworks like Node.js, Ruby, Python, Java, PHP, Go, Scala, Clojure.
The general steps to deploy your application are:
Register in the Heroku platform
Install the Heroku CLI
Login locally to Heroku
Create your application and store it in a Git repository
Configure your application for Heroku deployment.
Register your application in Heroku
Associate your git repository with your Heroku app
Push your application to the Heroku application master repository
Access your application from https://your-app.herokuapp.com
The next step after creating your application, is to publish an iOS application in the AppStore. This is a “quick” guide to publish iOS applications, if we want to make them public to the world. The process could be long for the first time.
The main steps involved in this process are:
Create an Apple ID
Join the Apple’s Developer program
Create and build your application in Xcode
Create an archive of your signed application
Register your application in App Store Connect
Upload or export your application
Submit your application for Review
Your application will be verified and published in the App Store.
In this post I will show how to Install Cocoa Pods for Xcode projects. Cocoa Pods is a dependency manager for Swift and Objective-C Cocoa projects.
When you install XCode, you also get the gem (RubyGems, the Ruby package manager). This command allows you to install Cocoa Pods for Xcode, without any extra configuration. Execute the following command
sudo gem install cocoapods
After fetching a list of dependency packages, you can use cocoa pods calling the command pod. However, each command must be executed in theroot folderof your Xcode project:
pod init: To create an empty initial PodFile in your Xcode project folder.
pod install: To install packages defined in the PodFile
Otherwise, After starting with Git, GitHub, and open source projects, you will find a lot of projects using Node.js and Npm packages. Node.js is not only a tool to create web application backends. Also, is used as a development platform for large scale projects to manage dependencies and perform operations in the project lifecycle. His companion, Npm, is a package manager to make available a large ecosystem of modules and functionalities used in the development stage, in the project itself and in the development pipeline.
You need to install Java SDK on MacOS to allow a lot of applications and development tools to run in your machine. This post describes the most important installation steps to get a working Java development environment.