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 FormData = require('form-data') | |
const axios = require('axios') | |
const getUserKey = async ({ | |
api_dev_key, | |
api_user_name, | |
api_user_password, | |
}) => { | |
const formData = new FormData() | |
formData.append('api_dev_key', api_dev_key) |
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 jszip = new require('jszip') | |
const zip = new jszip() | |
const fs = require('fs') | |
const csv = require('csvtojson') | |
const exec = async (templateFileName, sourceFileName) => { | |
const data = fs.readFileSync(templateFileName) | |
const content = await zip.loadAsync(data) | |
const targetFile = 'xl/sharedStrings.xml' | |
const doc = await content.files[targetFile].async('string') |
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
PRIVATE_TOKEN=XXXXXXXXXXXX | |
API=https://XXXXXX/api/v4 |
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
import React, {useCallback, useRef, useState} from 'react'; | |
import {Drawer, makeStyles} from '@material-ui/core'; | |
const useStyles = makeStyles((theme) => ({ | |
dragger: { | |
height: '4px', | |
cursor: 'ns-resize', | |
padding: '0 4px', | |
borderLeft: '1px solid #ddd', | |
position: 'absolute', |
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
export PS1="\[\e[36;1m\]\u@\[\e[31;1m\]\W:\033[36m\]`__git_ps1`\[\033[0m\]$ " |
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
{ | |
"document": { | |
"id": "0:0", | |
"name": "Document", | |
"type": "DOCUMENT", | |
"children": [ | |
{ | |
"id": "0:1", | |
"name": "Page 1", | |
"type": "CANVAS", |
Javascript glitch synth
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
package main | |
import ( | |
"bufio" | |
"io" | |
"net" | |
) | |
type Server struct { | |
listener net.Listener |