-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 436c8c9
Showing
55 changed files
with
30,016 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Snowpack dependency directory (https://snowpack.dev/) | ||
web_modules/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
.parcel-cache | ||
|
||
# Next.js build output | ||
.next | ||
out | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and not Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
# Stores VSCode versions used for testing VSCode extensions | ||
.vscode-test | ||
|
||
# yarn v2 | ||
.yarn/cache | ||
.yarn/unplugged | ||
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# CODING Q&A | ||
|
||
# Wednesday June 24th | ||
|
||
|
||
* jonahjoe | ||
* How to address issues related to IE browser as most of the code doesn't work there (ES6 classes etc..) | ||
* https://caniuse.com/ | ||
* Polyfills | ||
* https://www.npmjs.com/package/core-js | ||
* Can be implemented with javascript code | ||
* Transpilation | ||
* https://babeljs.io/ | ||
* CSS AutoPrefixer | ||
* post css | ||
|
||
* Array.prototype.reduce | ||
|
||
* Alca | ||
* What's WeakMap good for? | ||
|
||
|
||
* kevitaka | ||
* How would you secure an api without any sort of user login? For example your front end hits a third party api using an api key. Since you can't securely store the api key on the front end, you move that api call to a node backend. But is there a way to prevent others from accessing your api? | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
--- | ||
|
||
# Archive | ||
|
||
* NotBlueBeast | ||
* what framework should I use for mobile apps? | ||
* Native UI - Domain Specific Language that renders to native UI elements | ||
* Nativescript | ||
* React Native | ||
* Vue Native | ||
* Svelte Native | ||
* Hybrid Mobile - a web view running inside a native mobile app | ||
* Cordova / Phone Gap | ||
* Quasar | ||
* Framework 7 | ||
* Capacitor | ||
* Ionic | ||
* PWA | ||
* any web browser that supports it | ||
|
||
|
||
* Dav1dsnyder404 | ||
* is it possible to animate between navlinks in react router? | ||
|
||
* mapll3 | ||
* is there an industry standard for styling in reactjs? maybe some react devs can share what they use at their jobs? | ||
* Global CSS | ||
* Inline styles | ||
* Don't do this | ||
* css in js | ||
* https://cssinjs.org/react-jss?v=v10.3.0 | ||
* styled components | ||
* https://styled-components.com/ | ||
* css modules | ||
* https://github.com/css-modules/css-modules | ||
|
||
* Shaayan | ||
* a silly question: I’ve never had my own hosting and domain. I use services like now.sh or heroku to deploy my website. What should I know before deploying my website using my own domain and hosting? What’s the difference if I want to just deploy a static website vs a full-stack website (client and sever) ? | ||
* You can buy a domain anywhere... | ||
* And then configure DNS! | ||
|
||
* ThomasParsley | ||
* Why is NuxtJs "slow" compared with NextJs... Nuxt 370 req/sec. Next 2100 req/sec. I dont want go outside Vue and Nuxt SSR :D :/ btw. Hi CJ :) | ||
* @CodingGarden I run in production mode Last week I finished my personal portfolio in NuxtJS and dropped it on my VPS. In order to improve performance, I started looking for some way to speed up NuxtJS. My personal sites dont have much trafic. But i want to recode client sites from php to nodejs. And i dont know if Nuxt is the right way | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
async function getAllTheDatabases() { | ||
try { | ||
const results = await Promise.allSettled([ | ||
readSpecialData(DB1), | ||
readSpecialData(DB2), | ||
readSpecialData(DB3), | ||
readSpecialData(DB4), | ||
]); | ||
|
||
if (results[0].status === 'fulfilled') { | ||
results[0] // DB1 results | ||
} else { | ||
console.log('DB1 failed...'); | ||
} | ||
results[1] // DB2 results | ||
results[2] // DB3 results | ||
results[3] // DB4 results | ||
} catch (error) { | ||
console.log('one failed...'); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"eslint.enable": true | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.