This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", | |
"logo": { | |
"padding": { | |
"top": 2, | |
"left": 1, | |
"right": 1 | |
} | |
}, | |
"display": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Hal's TMUX Config | |
unbind C-b | |
set -g prefix C-a | |
#source-file "${home}.tmux-themepack/powerline/block/blue.tmuxtheme" | |
source-file "${home}.tmux-themepack/powerline/block/cyan.tmuxtheme" | |
unbind r | |
bind r source-file ~/.tmux.conf | |
set -g base-index 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" size of a hard tabstop | |
set tabstop=4 | |
" size of an "indent" | |
set shiftwidth=4 | |
" a combination of spaces and tabs are used to simulate tab stops at a width | |
" other than the (hard)tabstop | |
set softtabstop=4 | |
"Bundle Scripts----------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.filter('dateFormat', function($filter) | |
{ | |
return function(input) | |
{ | |
if(input == null){ return ""; } | |
var _date = $filter('date')(new Date(input), 'MMM dd yyyy'); | |
return _date.toUpperCase(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>H1 Heading</h1> | |
<h2>H2 Heading</h2> | |
<h3>H3 Heading</h3> | |
<h4>H4 Heading</h4> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple WordPress Snippets | |
# for Atom Text Editor | |
# [email protected] | |
# robotsfollow.com/snippets | |
'.text.php': | |
'wp footer': | |
'prefix': 'wpfoot' | |
'body': '<?php wp_footer(); ?>' | |
'wp header': | |
'prefix': 'wphead' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I got this from Andrew Nelson. https://github.com/red-tux | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' | |
altscreen on | |
defscrollback 2000 | |
termcapinfo xterm ti@:te@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Description: Quick start PHP server in current directory or custom directory. | |
# By: Hal Borland of Southern Fried Pixels | |
# Usage: serve "port" "htdoc" | |
# Example: serve 8000 ./public | |
if [[ "$1" != "" ]]; then | |
PORT=$1 | |
else | |
PORT="8888" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class #CONTROLERNAME extends MY_Controller { | |
public function #ACTION() | |
{ | |
//code here .... | |
$this->load->view('welcome_message'); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
Options +FollowSymLinks | |
RewriteEngine on | |
# Send request via index.php | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond ^(.*)$ index.php/$1 [L] | |
</IfModule> |
NewerOlder