Skip to content

Instantly share code, notes, and snippets.

View clsource's full-sized avatar
💻
🥷🏼

Camilo clsource

💻
🥷🏼
View GitHub Profile
@clsource
clsource / juegoDisparo.java
Created August 14, 2012 02:06
Juego Tiro de Cañón
/**
* Juego que simula el disparo de un cañón hacia un objetivo.
* El jugador debe ingresar el ángulo para cada tiro del cañón.
*
* Código levemente basado en la obra "Cómo construir juegos de aventura"
* de Manuel Afonseca. ISBN 84-7688-019-7
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the WTFPL
@clsource
clsource / soundex.py
Created August 14, 2012 02:27
Extract all sound within SWF File
#!/usr/bin/env python
# Filename: soundex.py
# Based on the code by Jonathan Wong http://hawflakes.unoc.net/?p=182
# by ClSource
# requires swfextract
# This program takes a swf and extract all the sounds within.
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
@clsource
clsource / keys.html
Created July 21, 2014 19:54
Simple Presentation Server Controller
<table style="font-size:110px;padding:10px;margin:10px;margin-top:50px;">
<tr>
<th></th>
<th><a href="/up">UP</a></th>
<th></th>
</tr>
<tr>
<td><a href="/left">LEFT</a></td>
<td></td>
<td><a href="/right">RIGHT</a></td>
@clsource
clsource / 401-response.php
Created July 30, 2014 19:55
Helper for Creating REST Web Services with ProcessWire
<?php
/*
* 401 Response
*
* Sends a 401 Response Unauthorized
*
* @author Camilo Castro
*
* @date 29/07/2014
@clsource
clsource / substring.m
Last active August 29, 2015 14:07
Implement a Substring Closure within a Range in Objective C
// Substring Closure
// Similar for what found in other languages
// Usage
// substring(@"my-string", 2, 4);
// => -st
NSString * ( ^ substring ) (NSString *, int , int);
substring = ^(NSString * string, int from, int to) {
@clsource
clsource / Debug.php
Created December 8, 2015 19:51
Processwire Debug Helper
<?php
/**
* Copyright (c) 2015 - CLSource
* Helps with the debug log.
* see: https://processwire.com/talk/topic/4550-debugging-tips/
*
* @author : clsource <[email protected]>
* @license : MIT https://opensource.org/licenses/MIT
*
* usage:
@clsource
clsource / stardewvalley-1.2-items.json
Last active October 17, 2017 02:10
Stardew Valley 1.2 Item List and Bundles
This file has been truncated, but you can view the full file.
{
"data": {
"title": "Stardew Valley Items and Bundles",
"version": "1.2",
"bundles": {
"en": [{
"uid": "185b35ec7502ad3bdbe2c850331964e4",
"raw": "Pantry\/0",
"id": 0,
"title": "Spring Crops",

Keybase proof

I hereby claim:

  • I am clsource on github.
  • I am clsource (https://keybase.io/clsource) on keybase.
  • I have a public key ASBQSg_8J0u5uKo62oT8m5PpJoV0gZXp9fnuvXVnNhzjOAo

To claim this, I am signing this object:

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@clsource
clsource / README-Template.md
Created September 28, 2018 03:35 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites