Messing around with canvas.
Forked from Jack Rugile's Pen Abstract Canvas Visualization.
Forked from Jack Rugile's Pen Abstract Canvas Visualization.
A Pen by Captain Anonymous on CodePen.
def suma_e_imprime(val1, val2): | |
print "EL RESULTADO ES ", val1 + val2 | |
suma_e_imprime(678, 890.7) |
Messing around with canvas.
Forked from Jack Rugile's Pen Abstract Canvas Visualization.
Forked from Jack Rugile's Pen Abstract Canvas Visualization.
A Pen by Captain Anonymous on CodePen.
<?php | |
class ArticuloController extends BaseController { | |
public function index() | |
{ | |
$articulos = Articulo::orderBy('created_at', 'DESC')->get(); | |
$total = Articulo::count(); | |
// load the view and pass the nerds | |
return View::make('articulos.index')->with(array('articulos' => $articulos, 'total' => $total)); |
# ---------------------------------------------------------------------- | |
# ROOT/ folder .htaccess | |
# ---------------------------------------------------------------------- | |
# Laravel Note: | |
# Note: Laravel is designed to protect your application code, | |
# and local storage by placing only files that are necessarily | |
# public in the public folder. It is recommended that you either | |
# set the public folder as your site's documentRoot (also known as a web root) | |
# or to place the contents of public into your site's root directory | |
# and place all of Laravel's other files outside the web root. |
//: Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
print("El valor de numero es ") | |
let y: Int = 120 |
//: Playground - noun: a place where people can play | |
import UIKit | |
//Iterar | |
// ForEach recomendado para colecciones | |
// rangos define una coleccion, en este caso de enteros | |
for i in 1...3 { | |
print("hola \(i)") |
//: Playground - noun: a place where people can play | |
import UIKit | |
// condiciones | |
var puntos = 0 | |
if puntos > 0{ | |
print("Ganaste") |
//: Playground - noun: a place where people can play | |
import UIKit | |
// switch | |
let personaje: String = "Lobo Estepario" | |
switch personaje{ | |
case "Caballero": |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; | |
use App\MayestroModels\Ticket; |
/* | |
* New Ticket Jquery | |
* Is a file for get content of div#new-ticket | |
* And send to backend with laravel. | |
**/ | |
$(document).on('ready', begin); | |
function begin() | |
{ |