Skip to content

Instantly share code, notes, and snippets.

Available for Hire

Houston McClung hmcclungiii

Available for Hire
Block or report user

Report or block hmcclungiii

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
hmcclungiii / functions.php
Created Jan 19, 2016
Adds a custom stylesheet to your WordPress Login Page.
View functions.php
/* You can remove the above opening php tag
when pasting this code inside your
functions.php file.
/* The following code adds your custom stylesheet
to the wordpress login screen, allowing you to
customize the background, colors and fonts of the
page to match your custom theme.
CADbloke / VisualStudioProjectNPPStyler.xml
Last active Feb 13, 2018
Notepad++ Syntax highlighting Visual Studio Project Files (.csproj & .vbproj) and also .vstemplate files. I'm sure I didn't catch every keyword so you may have a little adding to do. Just make sure you add enough closing braces in the Styler. Also, no I'm not colour-blind. I'm not a designer either. Nyah.Instructions for the styler at http://udl…
View VisualStudioProjectNPPStyler.xml
<UserLang name="VS Projects" ext="csproj vbproj vstemplate targets proj" udlVersion="2.1">
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="yes" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="yes" />
<Keywords name="Comments">00 01 02 03&lt;!-- 04--&gt;</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
CADbloke / VisualStudioSolutionSLNstyler.xml
Last active Jul 3, 2018
Notepad++ Syntax Highlighting for visual Studio .sln Solution files. Exported from NP++ 6.3.2To use, save this gist as an XML file, NP++ Language menu ==> Define your Language ==> click Import in the window that just popped up...then change the colo(u)rs in the pop-up window dialogues to something that offends you less.
View VisualStudioSolutionSLNstyler.xml
<UserLang name="SLN" ext="sln" udlVersion="2.1">
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
<Keywords name="Comments">03 04 00# 01 02</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
SimonSimCity / pagination.html.twig
Last active Dec 26, 2019
A gist for pagination in Twig, based on the total number of pages, the current page and some URL-settings.
View pagination.html.twig
Updated by: Simon Schick <>
* currentFilters (array) : associative array that contains the current route-arguments
* currentPage (int) : the current page you are in
* paginationPath (string) : the route name to use for links
* showAlwaysFirstAndLast (bool) : Always show first and last link (just disabled)
* lastPage (int) : represents the total number of existing pages
adhipg / countries.sql
Created Jan 12, 2012
Sql dump of all the Countries, Country Codes, Phone codes.
View countries.sql
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
You can’t perform that action at this time.