If you have a tag named '12345' then you would just do this:
git tag -d 12345
git push origin :refs/tags/12345
```
<?php | |
class Auth extends Laravel\Auth {} | |
/** | |
* @method static add(string $name, string $source, array $dependencies = array(), array $attributes = array()) | |
* @method static string styles() | |
* @method static string scripts() | |
*/ | |
class Asset extends Laravel\Asset {} | |
class Autoloader extends Laravel\Autoloader {} | |
class Bundle extends Laravel\Bundle {} |
RewriteEngine on | |
# if a directory or a file exists, use it directly | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# otherwise forward it to index.php | |
RewriteRule . index.php |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^(application|modules|system) - [F,L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule .* index.php/$0 [PT,L] |
<?php defined('SYSPATH') or die('No direct script access.'); | |
class HTML extends Kohana_HTML { | |
public static function scripts(array $scripts, $attributes=array(), $index = FALSE) | |
{ | |
$response = ''; | |
//Data sanitisation | |
$index = $index ? TRUE : false; | |
if ( !is_array($attributes) ) $attributes = array(); |
RewriteEngine on | |
# if a directory or a file exists, use it directly | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# otherwise forward it to index.php | |
RewriteRule . index.php | |
http://programming-motherfucker.com/ |
#!/usr/bin/env bash | |
# about :: | |
# the master form for deploys and rollbacks. | |
# there is the part that sits on one server (staging?) | |
# and the one on the server that needs to be deployed to (production?) | |
# Copyright (c) 2012 Dele Omotosho | |
# GPLv3 : http://www.gnu.org/licenses/gpl-3.0.html |
private function _twitter($tweet_count, $username) { | |
if (empty($username)) { | |
return false; | |
} | |
// $this->_fetch_tweet(); | |
$tweets = get_transient('recent_tweets_widget'); | |
if (!$tweets) { | |
$this->_fetch_tweets($tweet_count, $username); | |
} |