Skip to content

Instantly share code, notes, and snippets.

View CarlosX's full-sized avatar
🐺
Working

CarlosX CarlosX

🐺
Working
View GitHub Profile
@CarlosX
CarlosX / ejemplo_cajero.js
Created June 17, 2016 08:03
Ejemplo Cajero
var arc = [[10, 10, 10, 10, 10],
[20, 20, 20, 20, 20],
[50, 50, 50, 50, 50],
[100, 100, 100, 100, 100],
[200, 200, 200, 200, 200]];
function verf(arr, x) {
for(var y = 0; y < 5; y++)
if(arr[x][y] !== 0)
return y;
@CarlosX
CarlosX / cloudSettings
Last active January 8, 2017 02:08
Visual Studio code settings
{"lastUpload":"2017-01-08T02:08:08.306Z"}
@CarlosX
CarlosX / autoupdate.bat
Last active August 29, 2015 14:05
Auto Pull git basic test
@echo off
title AutoPull Git - 1 minute
echo loop start!
C:
cd \xampp\htdocs\
set /a x = 0
:loop
start "" "%SYSTEMDRIVE%\Program Files (x86)\Git\bin\sh.exe" --login -i -c "git pull origin"
timeout /t 60
goto loop
@CarlosX
CarlosX / gist:1205450
Created September 9, 2011 03:48 — forked from LordJZ/gist:995263
MemoryStream stream = new MemoryStream();
try
{
m_packets.Clear();
int count = m_packetCount;
if (count > 0)
m_packets.Capacity = count;
RawChunkHeader header;