Skip to content

Instantly share code, notes, and snippets.

@wormeyman
wormeyman / settings.json
Last active November 8, 2017 20:05
settings.json for VSCODE
{
"editor.rulers": [
80
],
"editor.tabSize": 2,
"editor.multiCursorModifier": "alt",
"editor.renderWhitespace": "all",
"editor.insertSpaces": true,
"editor.trimAutoWhitespace": true,
"files.trimFinalNewlines": true,
<?php
add_action( 'wp_enqueue_scripts', 'kale_child_enqueue_styles' );
function kale_child_enqueue_styles() {
$parent_style = 'kale-style';
$deps = array('bootstrap', 'bootstrap-select', 'font-awesome', 'owl-carousel');
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' , $deps);
wp_enqueue_style( 'kale-style-child', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') );
}
@wormeyman
wormeyman / mcm.html
Last active February 10, 2017 02:20
<h3 style="text-align: left;"><strong>I am hosting Mini Chef Mondays along with 4 fabulous bloggers, find out more about the <a href="https://www.courtneyssweets.com/mini-chef-mondays-team/" target="_blank">Mini Chef Mondays Team</a>!</strong>
<strong>Join our <a href="https://www.facebook.com/groups/1690162761238968/" target="_blank" rel="nofollow">facebook group</a> to find even more recipes and share recipes too!</strong></h3>
<div>
<div><strong><span>Get featured and follow us too!</span></strong></div>
</div>
<div>
<ul>
<li><span><a href="https://www.pinterest.com/courtneyssweets/mini-chef-mondays/" target="_blank" rel="nofollow">Pinterest</a>: Check out our Mini Chef Mondays board</span></li>
<li><span><a href="https://www.instagram.com/minichefmondays/" target="_blank" rel="nofollow">Instagram</a>: Use our hashtag #MiniChefMondays so we can repost your mini chef</span></li>
<li><span><a href="https://twitter.com/minichefmondays" target="_blank" rel="nofollow">Twitter
@wormeyman
wormeyman / sources.list
Created January 23, 2014 19:25
eOS luna sources.list
# deb cdrom:[elementary OS 0.2 _Luna_ - Stable i386 (20130810)]/ precise main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirror.pnl.gov/ubuntu/ precise main restricted
deb-src http://mirror.pnl.gov/ubuntu/ precise main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.pnl.gov/ubuntu/ precise-updates main restricted
'Start The Script
Dim SetWshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
Set wsc = WScript.CreateObject("WScript.Shell")
Set lnk = wsc.CreateShortcut(wsc.SpecialFolders("desktop") & "\Go-Global.LNK")
'Commands
lnk.targetpath = "C:\Program Files\GraphOn\GO-Global\Client\gg-client.exe"
lnk.arguments = "-h hosted.logoscms.com -c -u " & WshNetwork.UserName & " -p Password"
lnk.description = "DB Access"
lnk.workingdirectory = "C:\Program Files\GraphOn\GO-Global\Client"
<span style="color:#cf1f28">THE TITLE ALL CAPS</span><br />
<span style="color:#cf1f28">Sunday &bull; Month DD &bull; 9:00 &amp; 10:45am</span><br />
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vel finibus felis.
@wormeyman
wormeyman / Install.ps1
Last active August 29, 2015 14:18
http://Chocolatey.org packages to install.
$source = "https://gist.githubusercontent.com/wormeyman/60e716e197e724ce83a4/raw/a8c108c4915b0f214fad5e184f0180118da3fe06/packages.config"
$Filename = [System.IO.Path]::GetFileName($source)
$dest = "$env:TEMP\$Filename"
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($source, $dest)
Start-Process cinst.exe -FilePath $dest -ArgumentList -y
@wormeyman
wormeyman / enableAdmin.ps1
Last active August 29, 2015 14:07
Enable Local Administrator account on Vista/7/8/10
# Run this command in an elevated (PowerShell) prompt.
# You may have to run the commands in reverse order.
# The first command activates the admin account
net user administrator /active:yes
# The second command gives it the password of "pass" without the quotes
net user administrator pass
@wormeyman
wormeyman / removeWindows8AppsFromAllCurrentUsersAndFutureUsers.ps1
Last active August 29, 2015 14:07
This PowerShell script removes all modern/metro apps that can be removed on a windows 8/8.1 system
Get-AppxPackage -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online
@wormeyman
wormeyman / removeWIN8ModernApps.ps1
Last active August 29, 2015 14:06
Remove all Windows 8 mondern apps that can be removed.
Get-AppxPackage -AllUsers | Remove-AppxPackage; Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online