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
{ | |
"user_id": "ce34953c40f3bc931bbf9b76a0f48e35f6337651", | |
"email": "[email protected]", | |
"email_verified": true, | |
"nickname": "Test name", | |
"first_name": "John", | |
"last_name": "Smith", | |
"is_coastline_user": true, | |
"courses": [ | |
"ca_traffic_school" |
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
{ | |
"course1": true, | |
"course2": true, | |
"courses": [ | |
"test1", | |
"test2" | |
], | |
"created_at": "2024-11-12T22:33:31.410Z", | |
"email": "[email protected]", | |
"email_verified": true, |
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
function EditCard({title, description, onConfirm, onCancel}) { | |
return ( | |
<div> | |
<div> | |
<Icon> | |
<DocumentSVG /> | |
</Icon> | |
<h1>{title}</h1> | |
<IconButton onClick={onCancel}> | |
<CloseSVG /> |
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
#!/bin/bash | |
mongoimport --host=127.0.0.1 -d dbName -c collectionName --type csv --file filename.csv --headerline --columnsHaveTypes |
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
#!/bin/bash | |
sudo libreoffice --headless --convert-to csv filename.xlsx --outdir csv |
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": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Program", | |
"program": "${workspaceFolder}/src/index.js", | |
"runtimeExecutable": "~/.nvm/versions/node/v8.11.3/bin/node" | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<link href="https://unpkg.com/normalize.css@^7.0.0" rel="stylesheet" /> | |
<link href="https://unpkg.com/@blueprintjs/core@^3.0.0/lib/css/blueprint.css" rel="stylesheet" /> | |
<link href="https://unpkg.com/@blueprintjs/icons@^3.0.0/lib/css/blueprint-icons.css" rel="stylesheet" /> |
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
var scan = (function(attributes){ | |
var hashes = {}, | |
counter = 100000, | |
CUSTOM_ID_ATTR = 'custom-id-attr-' + (Math.random() * 10000) | |
function scan(root) { | |
// if no root element provided then use the body element | |
root = root ? root : document.getElementsByTagName('body')[0] | |
var all = root.getElementsByTagName("*"), |
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
#!/bin/sh | |
## | |
# Apache HTTP Server | |
## | |
. /etc/rc.common | |
mysqlPath="/Library/Application Support/appsolute/MAMP PRO/db/mysql" | |
mysqlTmpPath=/Applications/MAMP/tmp/mysql |
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
#target photoshop | |
// $.level = 2; | |
/* | |
* Script by Tomek Cejner (tomek (at) japko dot info) | |
* based on work of Damien van Holten: | |
* http://www.damienvanholten.com/blog/export-groups-to-files-photoshop/ | |
* | |
* My version adds support of nested layer groups, | |
* and exports single layers in addition to groups. |
NewerOlder