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:
@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 June 2, 2025 22:06
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
@bryanwillis
bryanwillis / gravity-forms.scss
Created October 19, 2016 06:29
Gravity Forms SASS / SCSS
//--------------------------------------------------------------
// Gravity Forms
// Visit this link for CSS Targeting Examples - Very Helpful
// https://www.gravityhelp.com/documentation/article/css-targeting-examples/
//
// BASE STYLES
// FORM HEADER
// FORM FOOTER
// CONFIRMATION MESSAGE
// SELECTS