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 June 29, 2024 19:03
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 July 19, 2024 10:05
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
@flmbtt
flmbtt / MediaElementJs-Video-Bg.html
Last active October 29, 2018 17:15 — forked from jrue/gist:4980704
This gist is an example of using HTML5 video as the background of a <div> element. It uses MediaElement.js for better compatibility with older browsers. This works on iPad, but not iPhone as the iPhone launches a native player.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Page Title</title>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<!-- Download from http://mediaelementjs.com/ We only need the build folder -->
<script src="build/mediaelement-and-player.min.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="build/mediaelementplayer.min.css" type="text/css" media="screen" charset="utf-8">