Test Credit Card Account Numbers:
American Express: 378282246310005
American Express: 371449635398431
American Express Corporate: 378734493671000
Australian BankCard: 5610591081018250
Test Credit Card Account Numbers:
American Express: 378282246310005
American Express: 371449635398431
American Express Corporate: 378734493671000
Australian BankCard: 5610591081018250
How to generrate simple blog with rails engine: | |
```bash | |
$ rails plugin new blorgh --mountable | |
$ cd blorgh/ | |
$ rails generate scaffold article title:string text:text | |
``` | |
Add to gem file `gem 'blorgh', path: "/path/to/blorgh"` |
How to solve the curl port 443: Network is unreachable problem:
joridos@localhost:~/Documents/github$ opam init
default Downloading https://opam.ocaml.org/urls.txt
'opam init' failed.
# opam-version 1.1.1
# os linux
Cannot download https://opam.ocaml.org/urls.txt, please check your connection settings.
joridos@localhost:~/Documents/github$ curl https://opam.ocaml.org/urls.txt
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin master |
Updated for Rails 4.0.0+
Set up the bower
gem.
Follow the Bower instructions and list your dependencies in your bower.json
, e.g.
// bower.json
{
apt-get install php5-mcrypt | |
mv -i /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/ | |
php5enmod mcrypt | |
service apache2 restart | |
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl | |
sudo service apache2 restart | |
################################################################################################ | |
# | |
# Autor: Leonardo Setti | |
# Data: 22/09/2014 (PT-BR Date Format) | |
# Fonte: Internet (sim...) | |
# Nota: Este arquivo de repositórios pode e deve ser sempre atualizado | |
# | |
############################################# Debian 7.0 Wheezy ################################ | |
########## Seção de Chaves GPG ################################################################# |
var gulp = require('gulp'); | |
var jade = require('gulp-jade'); | |
var browserify = require('browserify'); | |
var source = require('vinyl-source-stream'); | |
var uglify = require('gulp-uglify'); | |
var streamify = require('gulp-streamify'); | |
var gulpif = require('gulp-if'); | |
var sass = require('gulp-sass'); | |
var connect = require('gulp-connect'); | |
var plumber = require('gulp-plumber'); |
Page with charts
![index with chart][1]
I change page
![changed page][2]
Return the chart page
defmodule Example do | |
def main(args) do | |
args |> parse_args |> process | |
end | |
def parse_args(args) do | |
options = OptionParser.parse(args, switches: [help: :boolean], | |
aliases: [h: :help]) | |
case options do |