Skip to content

Instantly share code, notes, and snippets.

View sethwhitaker's full-sized avatar

Seth Whitaker sethwhitaker

View GitHub Profile
@sethwhitaker
sethwhitaker / iracing_forum_stylish_theme.css
Last active July 13, 2021 16:30
2021 iRacing Forum Stylish Theme
/* Variables */
:root {
--theme-spacing: 1rem 1.25rem;
--theme-font-size: 1rem;
--theme-border-radius: 7px;
--theme-box-shadow: rgb(0 0 0 / 22%) 0px 1px 3px 0px;
/* Colors */
--iracing-blue: #224289;
--iracing-red: #e2201c;
@GetUpKidAK
GetUpKidAK / iRacingPaintExporter.jsx
Last active March 28, 2023 01:11
iRacing Paint Exporter
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// iRacing paint exporter
//
// Created by Samuel Cordingly. (https://members.iracing.com/jforum/posts/list/3795673.page)
//
// Modified by Ash Kendall. ash.kendall(at)gmail.com
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// NOTES:
@a1ip
a1ip / youtube-video-thumbnails-sizes-and-formats.md
Created April 7, 2020 18:53
YouTube video thumbnails sizes and formats

Note: YouTube is serving thumbnails from 2 servers:

  • //img.youtube.com
  • //i.ytimg.com

Examples are with //i.ytimg.com server just because it’s shorter, no other particular reason. You can use both.

  • Player Background Thumbnail (480x360):

@jentanbernardus
jentanbernardus / vhost.md
Last active August 20, 2024 03:36
Setting Up Virtual Hosts in MAMP on Windows

1. Edit MAMP Apache configuration to include Virtual Hosts configuration

In File Explorer, go to C:\MAMP\conf\apache and open httpd.conf with your text editor.

Find this line:

# Virtual hosts
# Include conf/extra/httpd-vhosts.conf
@dfravel
dfravel / webpack.mix.js
Created August 9, 2019 17:20
Laravel Mix Webpack Setup for WordPress, Sage by Roots and Tailwind
const mix = require('laravel-mix');
const ImageminPlugin = require('imagemin-webpack-plugin').default;
require('laravel-mix-tailwind');
require('laravel-mix-purgecss');
const assetsPath = 'resources/assets';
const distPath = './dist';
const publicPath = '/wp-content/themes/THEME_NAME';
@kellymears
kellymears / webpack.mix.js
Created January 20, 2019 20:08
[Gutenberg Webpack Mix] #gutenberg #mix #js
const mix = require('laravel-mix');
const url = 'http://lab.tinypixel.test';
const app = './src';
const config = './config';
const resources = './resources';
const assets = './resources/assets';
const dist = './dist';
const externals = {
@samkatakouzinosracing
samkatakouzinosracing / iRacing Class IDs
Created January 12, 2019 06:56
Here is a json with a list of all iRacing default classes.
[
{
"Name": "Audi 90 GTO",
"ID": 83,
"CarsInClass": [
{
"Name": "Audi 90 GTO",
"ID": 76
}
]
@gemmadlou
gemmadlou / 01-introduction.md
Last active January 7, 2026 12:30
WordPress Composer Starter (Steps)

Develop WordPress as a Modern PHP Project with Composer


WordPress is popular because it's easy to setup without much technical know-how. However, to build a more robust PHP project with command line deployments, updates and ongoing maintenance, working with WordPress out-of-the-box raises specific challenges:


  • How can we make our WordPress projects portable between developers?
@jaredatch
jaredatch / mailhog-mamp.md
Created January 30, 2018 21:57
Install MailHog with MAMP Pro

Install MailHog with MAMP Pro, using HomeBrew.

MailHog

First let's make sure HB is updated. Open up terminal for the following steps.

$ brew update
anonymous
anonymous / nodejs.md
Created September 12, 2017 08:04
nodejs
/* 

Read a ini file

[Section1]
Param1=value1
[Section2]
Param2=value2