This file contains hidden or 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
| /* | |
| new changes: | |
| 1. if source starts with "PAYMENT" then we process it and the table and our mongo/pg | |
| properties like we do already. Business as usual. | |
| 2. if source is anything else (like "APP_LAUNCH") then we won't do that. Instead, we should | |
| continue to log everything we do now and then enumerate "debug_info" and try |
This file contains hidden or 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 emojiMap = { | |
| "1": "🔄", | |
| "2": "➡️1️⃣", | |
| "3": "➡️1️⃣", | |
| "4": "🔄2️⃣", | |
| "5": "➡️2️⃣", | |
| "6": "➡️2️⃣", | |
| "7": "🔄2️⃣", | |
| "8": "➡️2️⃣", | |
| "9": "➡️2️⃣", |
This file contains hidden or 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 | |
| # Perform a ping test | |
| echo "Starting ping test to $SERVER_IP..." | |
| ping -c 4 $SERVER_IP | |
| if [ $? -eq 0 ]; then | |
| echo "Ping test to $SERVER_IP: Success" | |
| else | |
| echo "Ping test to $SERVER_IP: Failed" | |
| fi |
This file contains hidden or 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 url(https://fonts.googleapis.com/css?family=Roboto:400,700,500,300);@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,700,500,300);@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes b{0%{opacity:1}50%{opacity:0}to{opacity:1}}[src$="blue.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA5Njg4IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}[src$="red.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjRjQ0MzM2IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtMmgydjJ6bTAtNGgtMlY3aDJ2NnoiLz48L3N2Zz4=)}[src$="yellow.png |
This file contains hidden or 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
| { | |
| "editor.lineNumbers": "relative", | |
| "editor.minimap.enabled": false, | |
| "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe", | |
| "terminal.integrated.fontFamily": "monospace", | |
| "files.eol": "\n", | |
| "editor.suggestSelection": "first", | |
| "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
| "java.semanticHighlighting.enabled": true, | |
| "vim.leader": "<space>", |
This file contains hidden or 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 fs = require('fs'), | |
| path = require('path'); | |
| function getDirectories(srcpath) { | |
| return fs.readdirSync(srcpath).filter(function(file) { | |
| return fs.statSync(path.join(srcpath, file)).isDirectory(); | |
| }); | |
| } | |
| getDirectories('.').forEach(folder => { |