Skip to content

Instantly share code, notes, and snippets.

View stevewithington's full-sized avatar
⛑️
solving problems

Steve Withington stevewithington

⛑️
solving problems
View GitHub Profile
@stevewithington
stevewithington / SAP-Tables-Columns-and-Descriptions.sql
Last active October 28, 2022 13:47
SAP: Query recordset of SAP tables, columns/fields, and their descriptions
USE {YOUR-SAP-DBNAME-GOES-HERE};
GO
SELECT
D3L.POSITION AS SOURCE_COLUMN_POSITION
, D2L.TABNAME AS SOURCE_TABLE_NAME
, D2T.DDTEXT AS SOURCE_TABLE_DESC
, D3L.FIELDNAME AS SOURCE_COLUMN_NAME
, D4T.DDTEXT AS SOURCE_COLUMN_DESC
, D4T.REPTEXT AS SOURCE_COLUMN_HEADER
@stevewithington
stevewithington / powershell-create-system-dsn-via-csv-import.md
Last active January 13, 2023 06:12
Powershell: Create/Add Windows System DSN via .CSV Import

Powershell: Create/Add Windows System DSN via .CSV Import

You can create/add/update/get a Windows System DSN pretty easily with Powershell.

Example dsn.csv file

Database, SystemDSN, Server
AAA, AAA_DSN, SomeIP\User
@ChristopherA
ChristopherA / brew-bundle-brewfile-tips.md
Last active July 22, 2024 22:01
Brew Bundle Brewfile Tips

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

Continent_Name Continent_Code Country_Name Two_Letter_Country_Code Three_Letter_Country_Code Country_Number
Asia AS Afghanistan, Islamic Republic of AF AFG 4
Europe EU Albania, Republic of AL ALB 8
Antarctica AN Antarctica (the territory South of 60 deg S) AQ ATA 10
Africa AF Algeria, People's Democratic Republic of DZ DZA 12
Oceania OC American Samoa AS ASM 16
Europe EU Andorra, Principality of AD AND 20
Africa AF Angola, Republic of AO AGO 24
North America NA Antigua and Barbuda AG ATG 28
Europe EU Azerbaijan, Republic of AZ AZE 31
@croaky
croaky / App.tsx
Last active July 25, 2021 19:55
Parcel + TypeScript + React
import * as React from 'react'
// routing, etc.
import { Reset } from '~/ui/shared/Reset'
export class App extends React.Component {
public render() {
return (
<div>
<title>Dashboard</title>
@berkedel
berkedel / flow-error-icu4c-not-loaded.md
Created April 4, 2018 14:13
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib

How to solve dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib

brew uninstall --ignore-dependencies node icu4c
brew install node
@stevewithington
stevewithington / tracking-form.cfm
Created February 26, 2018 23:02
Mura: example illustrating how to use a custom form and post the data to a .CFC and then update the display with the results.
<!---
save this file somewhere under your theme (e.g, custom/tracking-form.cfm),
then use [m]$.dspThemeInclude('custom/tracking-form.cfm')[/m] to display it
--->
<form id="trackingform" method="post">
<div class="form-group">
<label for="trackingnumber">Tracking Number</label>
<input type="text" name="trackingnumber" class="form-control" placeholder="Enter tracking number ..." />
</div>
@stevewithington
stevewithington / mura-form-scripts.js
Last active April 27, 2018 19:05
Mura CMS: How to add custom scripts to Mura forms loaded asynchronously
/*
Mura forms are loaded asynchronously. So, if you wish to run some scripts, you need
to use a special method to `reopen` the form, and add your scripts using
`Mura.DisplayObject.Form.reopen({})`
The most commonly needed examples are described below.
*/
@mattlevine
mattlevine / README.md
Last active April 2, 2018 23:59
Super Simple CaaS example

Super Simple CaaS Example

This is just an example to build upon and in no way represents best practice. You most like would use a web component framework like React.js or Vue.js with Mura.js rather than vanilla js.

For this to work:

  1. You must be on Mura 7.1.137 or greater

  2. set your site's contentRenderer.cfc's this.hashURLs=true;

DOCKER FIRST (Webinar)

7.1 was designed with a Docker first work flow in mind.

Docker allows increased support for Continuous Deployment and Testing, Multi-Cloud Platforms, Environment Standardization and Version Control. As well as better Isolation and Security (stolen from https://dzone.com/articles/5-key-benefits-docker-ci)