Skip to content

Instantly share code, notes, and snippets.

Maximiliano Burgos maxwellnewage

Block or report user

Report or block maxwellnewage

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
maxwellnewage / provinces.json
Last active Sep 20, 2019
Lista de Provincia - Localidad de Argentina con su localidad en JSON.
View provinces.json
"name" : "BUENOS AIRES",
"locations": [
"25 DE MAYO",
maxwellnewage / APIController.php
Created Jul 10, 2018
generic class for resources controllers on Laravel
View APIController.php
namespace App\Http\Controllers;
use Illuminate\Database\QueryException;
use Illuminate\Http\Request;
class APIController extends Controller
public static function index($model, $relation = null)
View LTexture.h
#ifdef _H_LTEXTURE
#define _H_LTEXTURE
#include <SDL.h>
#include <iostream>
* \brief Create a texture with our modifications
class LTexture
//method for move a button on the screen (min API 19)
public void moveButton(){
View buttonAnimation = findViewById(;
RelativeLayout.LayoutParams positionRules = new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);
positionRules.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM, RelativeLayout.TRUE);
positionRules.addRule(RelativeLayout.ALIGN_PARENT_RIGHT, RelativeLayout.TRUE);
maxwellnewage / show_hide_campo.js
Created Jan 14, 2013
oculta y muestra el campo texto con un boton
View show_hide_campo.js
maxwellnewage / select_option.js
Created Jan 14, 2013
en base a una seleccion del select option, imprime un mensaje en el div
View select_option.js
$("#selector").on('change', function(){
switch($("#selector option:selected").val()) {
case "1":
$("#mensaje").html("buena opcion");
case "2":
$("#mensaje").html("medianamente buena opcion");
maxwellnewage / suma_resta.js
Created Jan 14, 2013
suma y resta con dos botones y los muestra en un div
View suma_resta.js
var cont = 0;
maxwellnewage / dialog-confirm.js
Last active Dec 11, 2015
borra entradas mediante jquery ui dialog
View dialog-confirm.js
$().ready(function () {
$("a.borrar").live('click', function (e) {
tag_camp = $(this).parent("h3").parent(".info_suc_config");
resizable: true,
height: 140,
modal: true,
show: "slow",
title: "Desea borrar la entrada?",
maxwellnewage / listbox_dinamico.js
Created Oct 31, 2012
Listbox que genera otro listbox
View listbox_dinamico.js
//escucha el cambio de provincia y guarda dicho valor en una variable. Luego la envia con metodo post a otro
//script php que trabaja la informacion y la devuelve generando las opciones de otro listbox
$("#provincia").change(function () {
$("#provincia option:selected").each(function () {
$.post("comprobar_registro.php", { elegido: elegido }, function(data){
You can’t perform that action at this time.