Skip to content

Instantly share code, notes, and snippets.

notepad++ issue where NppFTP disappears
http://tckidd.wordpress.com/2013/04/16/notepad-and-nppftp-plugin-issues/
go to \Users\MyName\AppData\Romaing\Notepad++\plugins\ etc...
C:\Users\MyName\AppData\Roaming\Notepad++\plugins\Config\NppFTP
<?php
//FROM
//http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/
//http://webstractions.com/wordpress/remove-recent-comments-inline-styl/
//http://wpengineer.com/1438/wordpress-header/
//https://github.com/boldperspective/Whiteboard-Framework
//REMOVE ADMIN BAR
add_filter( 'show_admin_bar', '__return_false' );
/*
$(document).ready(function(){
if($(window).width() < 500){
$('head').append('<meta name="viewport" content="width=device-width, initial-scale=.33, maximum-scale=1">');
} else {
$('head').append(' <meta name="viewport" content="width=device-width, initial-scale=.66, maximum-scale=1">');
}
});*/
//VARS
c:\Users\{Name}\AppData\Roaming\Notepad++\plugins\Config\NppFTP\
http://www.seangw.com/wordpress/2011/01/notepad-unknown-exception-on-launch-with-nppftp/
@jafstar
jafstar / gist:5722340
Created June 6, 2013 15:19
wordpress template trace file used
<?php
print_r(debug_backtrace());
?>
@jafstar
jafstar / Wordpress Register Fields
Created May 10, 2013 18:35
add Seo fields to your templates
<?php
**
* Register Field Groups
*
* The register_field_group function accepts 1 array which holds the relevant data to register a field group
* You may edit the array as you see fit. However, this may result in errors if the array is not compatible with ACF
*/
if(function_exists("register_field_group"))
@jafstar
jafstar / Mac OSx MySQL + XAAMP
Created April 18, 2013 15:51
How to shutdown mysql
sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
@jafstar
jafstar / sass1.txt
Created March 21, 2013 18:34
sass stuff
http://padolsey.github.com/SIML/?utm_source=html5weekly&utm_medium=email
http://grids.heroku.com/
http://compass-style.org/
http://www.cssportal.com/css-hacks/#in_css-important
http://mhs.github.com/scout-app/
http://compass.handlino.com/
http://fireapp.handlino.com/
http://sass-lang.com/
http://compass-style.org/help/tutorials/command-line/
http://wynnnetherland.com/journal/font-face-made-easy-with-font-squirrel
http://guides.macrumors.com/Viewing_hidden_files_on_a_Mac
defaults write com.apple.finder AppleShowAllFiles -bool true
defaults write com.apple.finder AppleShowAllFiles -bool false
<?php
/*
Plugin Name: Demo
Plugin URI: http://demo.com
Description: Demo Plugin
Version: 1.0
Author: Demo LLC
Author URI: http://demo.com
License: GPL2
*/