var m = {
username: "Sally",
profile: {
name: "Sally Clourian",
address: {
city: "Austin",
state: "TX"
}
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
"use strict"; | |
const meow = require("meow"); | |
const chalk = require("chalk"); | |
const _ = require("lodash"); | |
const cli = meow({ | |
help: ["Usage", " $ convert [commands] [options]"] | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"designStyle":[ | |
{ | |
"id":3, | |
"label":"Contemporary" | |
}, | |
{ | |
"id":4, | |
"label":"Country" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "PublicReadGetObject", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:GetObject", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
199 # | |
httpd not running, trying to start | |
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80 | |
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80 | |
no listening sockets available, shutting down | |
AH00015: Unable to open logs | |
mdai@scml-mdai:~_www|⇒ sudo vi /private/etc/apache2/httpd.conf | |
mdai@scml-mdai:~_www|⇒ sudo apachectl restart | |
mdai@scml-mdai:~_www|⇒ sudo vi /private/etc/apache2/httpd.conf | |
mdai@scml-mdai:~_www|⇒ sudo apachectl restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const { google } = require('googleapis'); | |
const { sheets } = require('googleapis/build/src/apis/sheets'); | |
const app = express() | |
const port = 3000 | |
const { convertToExcelInput } = require('./util/formatter'); | |
const QUERY_ALL_QUESTIONS = "query problemsetQuestionList($categorySlug: String, $limit: Int, $skip: Int, $filters: QuestionListFilterInput) {\n problemsetQuestionList: questionList(\n categorySlug: $categorySlug\n limit: $limit\n skip: $skip\n filters: $filters\n ) {\n total: totalNum\n questions: data {\n questionId\n title\n titleSlug\n difficulty\n topicTags {\n slug\n }\n }\n }\n}\n " | |
const VARIABLES_ALL_QUESTIONS = {"categorySlug":"","filters":{},"limit":2436,"skip":0}; |