Skip to content

Instantly share code, notes, and snippets.

View Kolesias123's full-sized avatar

Iván Bravo Bravo Kolesias123

View GitHub Profile
var i = 0;
function time(){return Math.floor(new Date().getTime()/1000);}
function Vote()
{
$.ajax({
type: "GET",
url: "http://www.oye897.com.mx/o1/modulos/hitazos2.php",
data: {'a':'Vk9UQUhJVEFaTw==','w':'NTM5','key': time()},
contentType: "application/x-www-form-urlencoded",
@Kolesias123
Kolesias123 / View.php
Created February 14, 2013 11:35
BeatRock 3 - Permite la carga de vistas.
<?
#####################################################
## BeatRock ##
#####################################################
## Framework avanzado de procesamiento para PHP. ##
#####################################################
## InfoSmart © 2013 Todos los derechos reservados. ##
## http://www.infosmart.mx/ ##
#####################################################
## http://beatrock.infosmart.mx/ ##
<!DOCTYPE html>
<html lang="es">
<head>
<title>Inix Engine</title>
<meta charset="utf-8" />
<link href="./inix/css/init.css" rel="stylesheet" />
<script src="./inix/external/gl-matrix-min.js"></script>
<script src="./inix/three.min.js"></script>
@Kolesias123
Kolesias123 / mtv.server.js
Created February 2, 2013 01:08
Servidor en NodeJS y Socket.IO usado para enviar votos a MTV.
/**
* MTV - Servidor de envio de votos.
*
* InfoSmart. Todos los derechos reservados.
* Copyright 2013 - Iván Bravo Bravo.
*
* http://tools.infosmart.mx/ - http://nodejs.org/ - http://socket.io/
**/
// Versión del servidor
// jQuery: Ejecutar en cuanto este listo el sitio web...
$(document).on('ready', function()
{
// Ejecutamos la función UpdateBroadcaster() cada 5 segundos.
setInterval(UpdateBroadcaster, 5000);
// La ejecutamos ahora solo para actualizar el mensaje.
UpdateBroadcaster();
});
var i = 0;
function Vote()
{
$.ajax({
type: "POST",
url: SITE_URL+"_ajax_votar.php",
data: {'fecha':16,'tema':307},
contentType: "application/x-www-form-urlencoded",
dataType: "html",
// Ajustamos el modelo de una "mujer"
in_player_model "models/player/female.mdl"
// No habra armas, por lo tanto no necesitamos ningun efecto.
in_beginner_weapon 0
// No habra traje de protección por lo tanto usaremos la linterna sin el.
in_flashlight_require_suit 0
// Necesitamos regeneración de salud.
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Zombi clasico: Lento y con solo ataques de cuerpo a cuerpo.
//
//=============================================================================//
#include "cbase.h"
#include "doors.h"
#include "simtimer.h"
WeaponData
{
"printname" "#HL2_Crowbar"
"viewmodel" "models/weapons/v_crowbar.mdl"
"playermodel" "models/weapons/w_crowbar.mdl"
"anim_prefix" "crowbar"
"bucket" "0"
"bucket_position" "0"
WeaponData
{
"printname" "#HL2_RPG"
"viewmodel" "models/weapons/v_rpg.mdl"
"playermodel" "models/weapons/w_rocket_launcher.mdl"
"anim_prefix" "missile launcher"
"bucket" "4"
"bucket_position" "1"