This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. ## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [connection : Announce which user was selected] *************************** | |
39447 1630547938.14962: sending task start callback | |
39447 1630547938.14965: entering _queue_task() for 192.168.50.5/debug | |
39447 1630547938.14967: Creating lock for debug | |
39447 1630547938.15122: worker is 1 (out of 1 available) | |
39447 1630547938.15166: exiting _queue_task() for 192.168.50.5/debug | |
39447 1630547938.15228: done queuing things up, now waiting for results queue to drain | |
39447 1630547938.15231: waiting for pending results... | |
39470 1630547938.15392: running TaskExecutor() for 192.168.50.5/TASK: connection : Announce which user was selected | |
39470 1630547938.15497: in run() - task 787b8ab3-5afa-c129-75a7-000000000016 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i input.aif -i image.png -filter_complex \ | |
"[0:a] showwaves=mode=cline:s=1600x900:colors=Magenta|Azure|White[sw]; \ | |
color=s=1600x900:c=#f40b0f[bg]; \ | |
[bg] [1:v] overlay=(1600-820)/2:(900-770)/2:enable='between(t,0,20)'[mid]; \ | |
[mid] [sw] overlay=format=auto:shortest=1,format=yuv420p[v]" \ | |
-map "[v]" -map 0:a -c:a copy output.mkv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Jupyter Notebook code to generate a stream of matplotlib canvas plots | |
based on PyAudio data for a wav file. | |
original source https://stackoverflow.com/a/6951154/2223106 | |
Also need to brew install portaudio on OSX or in an ENV perhaps | |
pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio | |
# ffmpeg -i song.mp3 -acodec pcm_u8 -ar 22050 song.wav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use Node's blc to check broken links | |
# see: https://github.com/stevenvachon/broken-link-checker | |
# this might make gettext available in env | |
PATH=$PATH:/Applications/Poedit.app/Contents/MacOS | |
PATH=/usr/local/lib:/usr/local/bin:/usr/local/sbin:~/bin | |
PATH=$PATH:/Library/Python/2.7/site-packages/ | |
PATH="$HOME/.npm-packages/bin:$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aliases here for zsh | |
# COMMANDS | |
alias random='openssl rand -base64 32 | pbcopy' | |
alias s3ltv='s3cmd -c ~/.s3cfg-ltv' | |
alias s3ofn='s3cmd -c ~/.s3cfg-ofn' | |
alias zippit="bash ~/Shed/managed-directory-compressor/managed_directory_compressor.sh" | |
alias affinity="open -a Affinity\ Designer.app" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* Repeatable Custom Fields in a Metabox | |
* Author: Helen Hou-Sandi | |
* | |
* From a bespoke system, so currently not modular - will fix soon | |
* Note that this particular metadata is saved as one multidimensional array (serialized) | |
*/ | |
function hhs_get_sample_options() { |
NewerOlder