Skip to content

Instantly share code, notes, and snippets.

View MikeiLL's full-sized avatar

Mike iLL Kilmer MikeiLL

View GitHub Profile
@MikeiLL
MikeiLL / .stylelintrc
Created May 20, 2023 19:22
Bootstrap 5 Ignores
{
"plugins": ["stylelint-scss"],
"customSyntax": "postcss-scss",
"extends": [
"@roots/bud-sass/stylelint-config",
"@roots/sage/stylelint-config"
],
"rules": {
"no-descending-specificity": null,
"selector-class-pattern": null,
@MikeiLL
MikeiLL / gist:7b0e1ff30f909a6194908c025234e3a3
Last active March 11, 2024 13:27
Make Pike output on osX
```
Configure arguments:
Use `make CONFIGUREARGS="..." ...' to change them.
They will be retained in the build directory.
Making all in build/darwin-22.6.0-x86_64
#### Making static: modules/CommonLog
#### Making static: modules/DVB
#### Making static: modules/FSEvents
#### Making static: modules/Fuse
@MikeiLL
MikeiLL / GMPconfig.log
Created March 12, 2024 02:14
More Pike Install Build Modules (manually added -lgmp in both linker_options)
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.72. Invocation command line was
$ /Users/mikekilmer/pike/src/modules/Gmp/configure --disable-option-checking --prefix=/usr/local 'LDFLAGS=-L/usr/local/opt/postgresql@15/lib -L/usr/local/opt/icu4c/lib -L/usr/local/lib -L/usr/local/Cellar/gmp/6.3.0/lib' 'CPPFLAGS=-I/usr/local/opt/ruby/include -I/usr/local/opt/postgresql@15/include -I/usr/local/opt/icu4c/include -I/usr/local/include -I/usr/local/opt/ruby/include' --cache-file=/dev/null --srcdir=/Users/mikekilmer/pike/src/modules/Gmp
## --------- ##
## Platform. ##
@MikeiLL
MikeiLL / app.js
Last active March 23, 2024 23:32
import {Loader} from '@googlemaps/js-api-loader';
class Map {
constructor() {
this.$el = document.querySelectorAll('.acf-map');
this.map = null;
this.loader = new Loader({
apiKey: 'my_key',
@MikeiLL
MikeiLL / gist:6e734b0712b773a67264cda8f811bac1
Created August 27, 2025 01:06
Tuesdays and Thursdays in specified date range
from datetime import date, timedelta
sdate = date(2024, 9, 3) # start date
edate = date(2025, 5, 31) # end date
while sdate < edate:
if (sdate.weekday() != 1) and (sdate.weekday() != 3): # not tuesday or thursday
sdate += timedelta(days=1)
continue
# It is tuesday or thursday
print(sdate.strftime("%a %b %d %Y"))
if sdate.weekday() == 1: