Skip to content

Instantly share code, notes, and snippets.

View rafaelpl07C3's full-sized avatar
🎯
Focusing

Rafael rafaelpl07C3

🎯
Focusing
  • Rio de Janeiro - RJ, Brasil
View GitHub Profile
#include <stdio.h>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(){
FILE *pont_arq;
char palavra[20];
@rafaelpl07C3
rafaelpl07C3 / 1 - requirements.sh
Last active September 27, 2015 19:43
Programando em Android
# Instalar JDK 6 ou superior. JDK é o acronimo de Java Development Kit, ou seja, Kit de desenvolvimento Java.
# Contém o seu compilador "javac" e suas bibliotecas nativas.
# Instalando o JDK 7 no Ubuntu 13.10 (Saucy Salamander) ou superior
# Requiriments for 64 bits version
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386 lib32ncurses5-dev lib32stdc++6 icedtea6-plugin

Working with PostgresSQL

Requirements

  • libpq-dev

Installing

$ sudo apt-get install -fy postgresql

Managening users and groups

Creating an user

$ sudo useradd -m <login>

-m option creates a home for it.

Removing an user

Woking With SSH Authentication

Dependencies

  • xclip

Creating folder

$ mkdir ~/.ssh

FTP

VSFTPD

Instalation

$ sudo apt-get install -fyu vsftpd

Configuration

RVM (Ruby Version Manager)

Required packages

  • sed
  • tar
  • curl
  • gnupg

Import the mpapis Public Key through GPG (GNU Privacy Guard)

@rafaelpl07C3
rafaelpl07C3 / Deploying a Rails app using RVM and Passenger.md
Last active May 24, 2018 22:26
Steps to deploy a Rails application with Passenger.

Deploying a Rails Application using RVM and Passenger

Instalations (via APT)

Required packages

  • curl
  • gnupg
  • build-essential
  • git
@rafaelpl07C3
rafaelpl07C3 / 1. PHP interpreter (on Windows).md
Last active October 9, 2024 04:51
Installing PHP interpreter

Downloading

Download the interpreter source code here.

After download the interpreter source code (preferable), set in the environment variables of the Windows.

Setting up the PHP interpreter in the environment variables

At Path key set the php interpreter path.

@rafaelpl07C3
rafaelpl07C3 / 1. Angular.md
Last active March 23, 2026 15:14
Front-end framework for web applications

See how to install a specific version of the nodeJS.

Installing

Globally

$ npm i -g @angular/cli

Manually