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
Show hidden characters
{ | |
"folders": [], | |
"settings": { | |
"diffEditor.ignoreTrimWhitespace": false, | |
"editor.acceptSuggestionOnEnter": "off", | |
"editor.bracketPairColorization.enabled": true, | |
"editor.emptySelectionClipboard": false, | |
"editor.formatOnPaste": true, | |
"editor.formatOnSave": true, | |
"editor.rulers": [80], |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>ApplicationIdentifier</key> | |
<string>com.microsoft.VSCode</string> | |
<key>ApplicationName</key> | |
<string>Visual Studio Code</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
require "sqlite3" | |
require "fileutils" | |
db = SQLite3::Database.new("database/catalog.db") | |
# Get list of albums | |
albums = {} | |
db.execute("select * from albums") do |album| | |
albums[album[1]] = album[3] | |
end |
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 nodemailer = require('nodemailer'); | |
exports.handler = function(context, event, callback) { | |
let transporter = nodemailer.createTransport( | |
{ | |
host: context.SMTP_HOST, | |
port: context.SMTP_PORT, | |
auth: { | |
type: 'login', | |
user: context.AWS_ACCESS_KEY_ID, |
NewerOlder