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
Charcoal Gray | Hex #121212 | |
Dark Slate Gray | Hex: #191919 | |
Outer Space | Hex: #252525 | |
Rich Black | Hex: #0A0A0A | |
Coffee Bean | Hex: #1B1B1B | |
Dark Gray | Hex: #212427 | |
Oil Black | Hex: #0C0C0C | |
Obsidian | Hex: #0B1215 | |
Ebony | Hex: #222428 | |
Black Chocolate | Hex: #100D08 |
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
Set WshShell = CreateObject("WScript.Shell") | |
WshShell.Run chr(34) & "C:\path\to\your\batchfile.bat" & Chr(34), 0 | |
Set WshShell = Nothing |
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 knex from "knex"; | |
import fs from 'fs'; | |
if (!fs.existsSync('./local.db')) { | |
fs.appendFileSync('./local.db', ''); | |
} | |
export const localDb = knex({ | |
client: 'sqlite3', | |
connection: { |
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 content = ` | |
PROPERTY=value | |
Property2=value2 | |
`; | |
const config = (content + '').split('\n').map(line => { | |
line = line.trim(); | |
if (line.indexOf('#') === 0) { | |
return ''; | |
} |
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
#include <iostream> | |
#include <string> | |
#include <bits/stdc++.h> | |
std::string normalizeString(const std::string &input) | |
{ | |
std::string output = ""; | |
std::string validChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZáãàâéêẽèíìîóôòõúù!@#$%^&*()_|+,.<>{}[]\\/-=?;:'\" \n"; | |
std::string validUpper = "" + validChars; | |
transform(validUpper.begin(), validUpper.end(), validUpper.begin(), ::toupper); |
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
console.log('Hello world!'); |
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
console.log('Hello world!'); |
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
console.log('Hello world!'); |
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
console.log('Hello world!'); |
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
console.log('Hello world!'); |
NewerOlder