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
# -w Enable auto regeneration | |
# -o Open the site in the URL | |
# -l Live reload | |
# -H Hostname | |
# -P Port | |
serve = "!bundler exec jekyll serve -wol -H localhost -P 4000" |
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
.yarn/* | |
!.yarn/patches | |
!.yarn/releases | |
!.yarn/plugins | |
!.yarn/sdks | |
!.yarn/versions | |
.pnp.* |
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
<?php | |
namespace App\Providers; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Database\Query\Grammars\MySqlGrammar; | |
class AppServiceProvider extends ServiceProvider | |
{ |
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 parseOptions = (options) => { | |
if (typeof options === "string") return parseOptions({ endpoint: options }) | |
if (!Array.isArray(options)) { | |
return { endpoint: "", method: "GET", data: null, opts: {}, ...options } | |
} | |
if (options.length > 1) { | |
const [endpoint = "", method = "GET", data = null, opts = {}] = options | |
return { endpoint, method, data, opts } |
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
{ | |
"compilerOptions": { | |
"target": "esnext", | |
"useDefineForClassFields": true, | |
"module": "esnext", | |
"moduleResolution": "node", | |
"strict": true, | |
"jsx": "preserve", | |
"sourceMap": true, | |
"resolveJsonModule": 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
import csv | |
import sys | |
def readCSV(file_name): | |
with open(file_name, newline='') as csvfile: | |
reader = csv.reader(csvfile, delimiter=',', quotechar='|') | |
return [row[0] for row in reader] | |
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
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et.</p> |
OlderNewer