Skip to content

Instantly share code, notes, and snippets.

View La-comadreja's full-sized avatar

Rebecca Anne Sealfon La-comadreja

View GitHub Profile
@La-comadreja
La-comadreja / byrd_metropolitan_medical_group_python
Last active September 23, 2023 17:53
Create the organization Byrd Metropolitan Medical Group for airSlate Document Automation Hub API tutorial
import http.client
conn = http.client.HTTPSConnection("api.airslate.io")
payload = "{\n \"name\": \"Byrd Metropolitan Medical Group\",\n \"subdomain\": \"byrd-metropolitan-medical\",\n \"category\": \"HEALTH_CARE\",\n \"size\": \"0-5\"\n}"
headers = {
'Content-Type': "application/json",
'Accept': "application/json",
'Authorization': "Bearer (Copy access token here)"
@La-comadreja
La-comadreja / byrd_metropolitan_medical_group_curl
Last active September 23, 2023 17:51
Create the organization Byrd Metropolitan Medical Group for airSlate Document Automation Hub API tutorial
curl --request POST \
--url https://api.airslate.io/v1/organizations \
--header 'Accept: application/json' \
--header 'Authorization: Bearer (Copy access token here)' \
--header 'Content-Type: application/json' \
--data '{
"name": "Byrd Metropolitan Medical Group",
"subdomain": "byrd-metropolitan-medical",
"category": "HEALTH_CARE",
"size": "0-5"
%FORMAT String Description
%A full weekday name
%a abbreviated weekday name
%B full month name
%b abbreviated month name
%C (year / 100) as decimal number; single digits preceded by zero
%c national representation of time and date
%D is equivalent to “%m/%d/%y”
%d day of the month as a decimal number (01-31)
%E* %O* POSIX locale extensions
%FORMAT String Description
%% a literal %
%a locale’s abbreviated weekday name (e.g. Sun)
%A locale’s full weekday name (e.g. Sunday)
%b locale’s abbreviated month name (e.g. Jan)
%B locale’s full month name (e.g. January)
%c locale’s date and time (e.g. Thu Mar 3 23:05:25 2005)
%C century; like %Y except omit last two digits (e.g. 21)
%d day of month (e.g. 01)
%D date; same as %m/%d/%y
@La-comadreja
La-comadreja / Error from "heroku logs"
Created July 19, 2012 20:09
Error from "heroku logs"
2012-07-19T20:04:56+00:00 heroku[web.1]: State changed from crashed to starting
2012-07-19T20:04:58+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e $RAILS_ENV -p 9815`
2012-07-19T20:04:58+00:00 app[web.1]: bash: bundle: command not found
2012-07-19T20:04:59+00:00 heroku[web.1]: Process exited with status 127
2012-07-19T20:04:59+00:00 heroku[web.1]: State changed from starting to crashed