É difícil falar de Ruby sem mencionar seu framework web mais famoso, Ruby on Rails. Mas não adianta muito encarar o framework sem um prévio estudo da linguagem (o que de fato já observei acontecer inúmeras vezes). Esse post tem como intuito auxiliar na aprendizagem tanto da linguagem como do framework, para evitar que erros comuns como esse tornem a utilização de ambos um desastre.
Ruby é uma linguagem de programação que apareceu para o mundo em 1995, criada por Yukihiro "Matz" Matsumoto. Tem como características o fato de ser uma linguagem de uso geral, com tipagem dinâmica e forte, orientada a objetos e que incorpora diversos paradigmas de programação, como o funcional e o imperativo.
- Ruby in Twenty Minutes - É o que o nome diz: um pequeno tutorial que promete não tomar mais do que 20 minutos do seu tempo. Se encarrega de mostrar como baixar e instalar o Ruby. Faz grande uso da IRB (Int
# 1) Create your private key (any password will do, we remove it below) | |
$ cd ~/.ssh | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
Obs: All test are made after first boot with any apps installed with exeption of Antutu Benchmark.
OS Name | Android Version | OS Version | Status | Last Update | Size | Link |
---|---|---|---|---|---|---|
ViperOS | N 7.1.2 | v3.1.1 | Stable | 2018/02/07 | 320.8MB | unofficial |
ViperOS | N 7.1.2 | v3.0.0 | Stable | 2017/08/12 | 325.1MB | OFFICIAL |
AospExtended | x | v5.1 | Beta | 2017/12/29 | 326.7MB | OFFICIAL |
dotOS | 7.1.2 | V1.2 | status | 2018/01/14 | 333.3MB | OFFICIAL |
yaourt --m-arg "--skippgpcheck" -S {{ package }} | |
### | |
--skipinteg | |
Do not perform any integrity checks (checksum and PGP) | |
on source files. | |
--skipchecksums | |
Do not verify checksums of source files. |
First, Create a folder inside of lib
called seeds
Put your CSV file example.csv
into the lib/seeds
folder. In the example below, the file is called real_estate_transactions.csv
Make sure you've created a resource with the appropriate columns to match your seed data. The names don't have to match up.
playonlinux
lib32-libldap
(multilib needed)- Battle.Net client from this webpage https://us.battle.net/account/download/ (windows version)
- Open PlayOnLinux
- Click on
Install
and selectInstall a non-listed program
This is a sample script for uploading local file to Google Drive without the authorization using HTML form. A selected file in your local PC using HTML form is uploaded to Google Drive and saved to Google Drive.
When you use this, at first, please deploy Web Apps. The script is doPost()
of following scripts.
function doPost(e) {
var data = Utilities.base64Decode(e.parameters.data);