Skip to content

Instantly share code, notes, and snippets.


Camilo clsource

View GitHub Profile

Install Homebrew

/usr/bin/ruby -e “$(curl -fsSL"

Install fish

clsource /
Created Nov 23, 2018 — forked from heiswayi/
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName

Docker Container Name

A one paragraph description about the container.

Getting Started

These instructions will cover usage information and for the docker container


clsource /
Created Sep 28, 2018 — forked from PurpleBooth/
A template to make good

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.




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

Keybase proof

I hereby claim:

  • I am clsource on github.
  • I am clsource ( on keybase.
  • I have a public key ASBQSg_8J0u5uKo62oT8m5PpJoV0gZXp9fnuvXVnNhzjOAo

To claim this, I am signing this object:

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,
clsource / Debug.php
Created Dec 8, 2015
Processwire Debug Helper
View Debug.php
* Copyright (c) 2015 - CLSource
* Helps with the debug log.
* see:
* @author : clsource <>
* @license : MIT
* usage:
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) {