Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
🥷🏼

Camilo clsource

💻
🥷🏼
View GitHub Profile
@clsource
clsource / keys.html
Created Jul 21, 2014
Simple Presentation Server Controller
View keys.html
<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 / substring.m
Last active Aug 29, 2015
Implement a Substring Closure within a Range in Objective C
View substring.m
// 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 / juegoDisparo.java
Created Aug 14, 2012
Juego Tiro de Cañón
View juegoDisparo.java
/**
* 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 Aug 14, 2012
Extract all sound within SWF File
View soundex.py
#!/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 / Debug.php
Created Dec 8, 2015
Processwire Debug Helper
View Debug.php
<?php
/**
* Copyright (c) 2015 - CLSource
* Helps with the debug log.
* see: https://processwire.com/talk/topic/4550-debugging-tips/
*
* @author : clsource <camilo@ninjas.cl>
* @license : MIT https://opensource.org/licenses/MIT
*
* usage:
@clsource
clsource / stardewvalley-1.2-items.json
Last active Oct 17, 2017
Stardew Valley 1.2 Item List and Bundles
View stardewvalley-1.2-items.json
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,
View keybase.md

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:

View Good-CONTRIBUTING.md-template.md

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 Sep 28, 2018 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.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

View Template-README-for-containers.md

Docker Container Name

A one paragraph description about the container.

Getting Started

These instructions will cover usage information and for the docker container

Prerequisities