Skip to content

Instantly share code, notes, and snippets.

View pscoutosoares's full-sized avatar
🏠
Working from home

Pedro Soares pscoutosoares

🏠
Working from home
View GitHub Profile
@Ema4rl
Ema4rl / MY_Upload.php
Last active May 28, 2018 05:31
CodeIgniter MY_Upload Extension to create filepath directory if not exist and make it really writable
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* File Uploading Class Extension
*
* @package CodeIgniter
* @subpackage Libraries
* @category Uploads
* @author Harrison Emmanuel (Eharry.me)
@danielestevez
danielestevez / gist:2044589
Last active April 13, 2025 23:35
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}