Skip to content

Commit

Permalink
🎉 intitial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
w3cj committed Aug 12, 2020
0 parents commit 436c8c9
Show file tree
Hide file tree
Showing 55 changed files with 30,016 additions and 0 deletions.
116 changes: 116 additions & 0 deletions .gitignore
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.*
79 changes: 79 additions & 0 deletions README.md
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

21 changes: 21 additions & 0 deletions async-stuff/async-stuff.js
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...');
}
}
3 changes: 3 additions & 0 deletions avg-image-hash/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"eslint.enable": true
}
Binary file added avg-image-hash/alyson.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added avg-image-hash/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 436c8c9

Please sign in to comment.