I hereby claim:
- I am zachlankton on github.
- I am zacharylankton (https://keybase.io/zacharylankton) on keybase.
- I have a public key ASAhjfjR1vMXRJ46caMfmKtMmhnyFiEV3rXdzeoJmrr2bAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Copyright 2020 Zach Lankton | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHE |
| <?php | |
| /* | |
| Plugin Name: CUSTOM Odoo RFQ Integration | |
| Plugin URI: | |
| description: CUSTOM: Pushes data from the RFQ form into the Odoo CRM | |
| Version: 1.0 | |
| Author: Zach Lankton | |
| Author URI: | |
| License: GPL2 | |
| */ |
This write-up details the steps required to get emacs on ubuntu 20.04 setup with the erlang_ls extension and enable code reloading and debugging.
I'm hoping these instructions should be nearly identical for setup on a Mac.
CouchDB uses long names and the erlang_ls extension defaults to using short names. There is a bug that appends a dot
.to the end of the node hostname when using long names and PR to fix it is pending, until then we will need to build the erlang extension from the PR repo so that we can connect ErlangLS to[email protected]
| // This code mostly stolen and modified from: | |
| // https://github.com/nickgraffis/tailwind-color-generator/blob/main/logics.js | |
| "use strict"; | |
| exports.__esModule = true; | |
| exports.shade = void 0; | |
| var hexToHSL = function (hex) { | |
| var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); | |
| var r = parseInt(result[1], 16); | |
| var g = parseInt(result[2], 16); |
import { noop } from "lodash";
import { twMerge } from "tailwind-merge";
function testTWMerge() {
const variantClasses =
"inline-flex justify-center rounded-md border border-transparent bg-primary py-2 px-4 text-sm font-medium text-primaryText shadow-sm hover:ring-2 hover:ring-textShade-900 focus:outline-none focus:ring-2 focus:ring-secondary focus:ring-offset-2 dark:bg-dPrimary dark:text-dPrimaryText dark:hover:ring-dTextShade-900";This gist gives you quickest way to get started creating your own prisma generators in your own projects.
If you want to get a little more fancy/advanced and package your generator for the community check out: https://github.com/YassinEldeeb/create-prisma-generator
| const Convert: any = {}; | |
| //Converts a base32 string into a hex string. The padding is optional | |
| Convert.base32toHex = function (data: string) { | |
| //Basic argument validation | |
| if (typeof data !== typeof '') { | |
| throw new Error('Argument to base32toHex() is not a string'); | |
| } | |
| if (data.length === 0) { | |
| throw new Error('Argument to base32toHex() is empty'); |
| @echo off | |
| @echo Downloading VFP 9.0 Runtime... | |
| curl -o VFP9SP2RT.exe https://raw.githubusercontent.com/VFPX/VFPRuntimeInstallers/master/VFP9SP2RT.exe | |
| @echo Downloading VFP ODBC Driver... | |
| curl -o VFPODBC.msi https://raw.githubusercontent.com/VFPX/VFP9SP2Hotfix3/master/VFPODBC.msi | |
| @echo Downloading VFP OLEDB Driver... | |
| curl -o VFPOLEDBSetup.msi https://raw.githubusercontent.com/VFPX/VFP9SP2Hotfix3/master/VFPOLEDBSetup.msi |