Skip to content

Instantly share code, notes, and snippets.

View stephaniewilkinson's full-sized avatar
🐧

Stephanie stephaniewilkinson

🐧
View GitHub Profile
<!-- Google Tag Manager -->
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({
'contactNumber': 'foo',
'accountNumber': 'bar',
});
<script>
/services/data/v42.0/query/?q=SELECT+nais_contact_number__c,
+Email,
+FirstName,
+LastName,
+title,
+MailingStreet,
+MailingCity,
+MailingState,
+MailingCountry,
+MailingPostalCode,
2019-11-25T11:54:11-08:00 DEBUG metabase.middleware.log GET /api/session/properties 200 11.6 ms (1 DB calls) Jetty threads: 6/50 (4 idle, 0 queued) (57 total active threads) Queries in flight: 0
2019-11-25T11:54:11-08:00 DEBUG metabase.middleware.log GET /api/user/current 200 528.3 ms (3 DB calls) Jetty threads: 6/50 (4 idle, 0 queued) (57 total active threads) Queries in flight: 0
2019-11-25T11:54:11-08:00 DEBUG metabase.middleware.log GET /api/user/current 200 291.9 ms (3 DB calls) Jetty threads: 5/50 (4 idle, 0 queued) (57 total active threads) Queries in flight: 0
2019-11-25T11:54:12-08:00 DEBUG metabase.middleware.log GET /api/database 200 39.2 ms (4 DB calls) Jetty threads: 6/50 (4 idle, 0 queued) (57 total active threads) Queries in flight: 0
2019-11-25T11:54:12-08:00 DEBUG metabase.middleware.log GET /api/setting 200 5.1 ms (0 DB calls) Jetty threads: 6/50 (4 idle, 0 queued) (57 total active threads) Queries in flight: 0
2019-11-25T11:54:12-08:00 DEBUG metabase.middleware.log GET /api/collection
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfUserInfo xmlns="http://sso.nais.org/SsoDataWebService">
<UserInfo>
<UserNumber>string</UserNumber>
<Username>string</Username>
<FirstName>string</FirstName>
<LastName>string</LastName>
<EmailAddress>string</EmailAddress>
<Title>string</Title>
<AddressLine1>string</AddressLine1>
{
"attributes": {
"type": "Contact",
"url": "/services/data/v42.0/sobjects/Contact/0030n00000fjWPnAAM"
},
"Id": "0030n00000fjWPnAAM",
"IsDeleted": false,
"MasterRecordId": null,
"AccountId": "0010n00000zKmXaAAK",
"LastName": "TesterGuid",
{
"attributes": {
"type": "Account",
"url": "/services/data/v42.0/sobjects/Account/0010n00000wT51BAAS"
},
"Id": "0010n00000wT51BAAS",
"IsDeleted": false,
"MasterRecordId": null,
"Name": "The Sample School",
"Type": "Member",
AllCops:
TargetRubyVersion: 2.5.1
EnabledByDefault: true
#################### Bundler ##############################
Bundler/DuplicatedGem:
Enabled: true
Bundler/OrderedGems:

Unicorn Config

/root/api/config/unicorn.rb

My Nginx Config

/etc/nginx/default.d/default.conf

Default nginx config

@stephaniewilkinson
stephaniewilkinson / mssql.md
Created April 24, 2018 23:36
Connecting to Microsoft SQL Server 2008 with Ecto and Phoenix

There are two Ecto Adapters for MSSQL feautured on the Ecto Github.

[ +140 ms] [/Users/steph/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +140 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/alpha
[ ] [/Users/steph/flutter/] git ls-remote --get-url origin
[ +10 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/Users/steph/flutter/] git log -n 1 --pretty=format:%H
[ +11 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ +2 ms] 701d534ba93eaa3452f5e6b8b73ad8bd5a48847b
[ +2 ms] [/Users/steph/flutter/] git log -n 1 --pretty=format:%ar