This proposal is not longer active. Context: https://twitter.com/siddharthkp/status/909818777314902016
This proposal is not longer active. Context: https://twitter.com/siddharthkp/status/909818777314902016
require('dotenv').config(); | |
const { GraphQLClient } = require('graphql-request'); | |
const client = new GraphQLClient(process.env.ENDPOINT, { headers: { | |
'Authorization': `Bearer ${process.env.ACCESS_TOKEN}` | |
}}); | |
const query = T => ` | |
query Get${T}s { | |
all${T}s { | |
id |
Public Function RecordSetFromSheet(sheetName As String)
Dim rst As New ADODB.Recordset
Dim cnx As New ADODB.Connection
Dim cmd As New ADODB.Command
'setup the connection
'[HDR=Yes] means the Field names are in the first row
With cnx
function slugify(text) { | |
return text.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - | |
.replace(/[^\w\-]+/g, '') // Remove all non-word chars | |
.replace(/\-\-+/g, '-') // Replace multiple - with single - | |
.replace(/^-+/, '') // Trim - from start of text | |
.replace(/-+$/, ''); // Trim - from end of text | |
} |
pink = #ff0198 // hollywood cerise | |
yellow = #ffb617 // my sin | |
purple = #6e27c5 // purple heart | |
orange = #ff6600 // blaze orange | |
blue = #01c1d6 // robin's egg blue | |
java = #1cbcd2 // java | |
sun = #fab319 // sun | |
affair = #69479e // affair | |
flamingo = #f16623 // flamingo | |
minsk = #2e2e86 // minsk |
#!/bin/bash | |
# this command finds all the `node_modules` folders under your current path and will prune them | |
find . | grep /node_modules$ | grep -v /node_modules/ | xargs rm -fR |