Skip to content

Instantly share code, notes, and snippets.

Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
APPLE.COM.ZON.COM
APPLE.COM.WWW.ZON.COM
APPLE.COM.WWW.BEYONDWHOIS.COM
APPLE.COM.WAS.PWNED.BY.M1CROSOFT.COM
$media-products-list: "only screen and (max-width : 499px)";
$media-products-grid: "only screen and (min-width : 500px)";
$media-products-grid-compact: "only screen and (min-width : 500px max-width 767px)";
$media-products-grid-compact-expanded: "only screen and (min-width : 768px)";
@mixin use-query($query) {
@media #{$query} {
@content;
}
}
@tomkrush
tomkrush / wp_mail_override.php
Created January 21, 2015 20:08
Override wp_mail
<?php
/**
CREATE TABLE `notifications` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`to` varchar(255) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`message` text,
`headers` text,
`date` datetime DEFAULT NULL,
@tomkrush
tomkrush / docker-compose.yml
Last active June 11, 2019 18:52
Vanilla WP Install
version: '2'
services:
webserver:
container_name: wordpress_webserver
build: .
ports:
- "3000:80"
volumes:
- ./wordpress:/var/www/html/
<?php
function formatJSONToPHP($value) {
$output = [];
if (is_array($value) === false) {
if (is_numeric($value)) {
$output[] = sprintf("%s,", $value);
} else {
$output[] = sprintf("'%s',", $value);
@tomkrush
tomkrush / init.lua
Created February 5, 2024 02:47
Code Editor (NeoVim + Tmux)
---------- My Neovim Configuration ----------
-- This file contains my neovim configuration
-- including plugins and settings.
---------------------------------------------
local Plug = vim.fn['plug#']
----------------- Plugin Setup --------------
-- Install plugins using vim-plug
---------------------------------------------