Skip to content

Instantly share code, notes, and snippets.

View bernardodsanderson's full-sized avatar

Bernardo Anderson bernardodsanderson

View GitHub Profile
@bernardodsanderson
bernardodsanderson / studyplan.md
Created October 15, 2023 04:49
NextJS Study Plan

Here is a study plan to learn Next.js with links to resources in order to build a site that lets users read books online:

Day 1:

"/": [a, b, c, d, e, "static\u002Fchunks\u002Fpages\u002Findex-f4119b0a868e08e775f0.js"],
"/404": ["static\u002Fchunks\u002Fpages\u002F404-27610295ab1d576ddc4d.js"],
"/_error": ["static\u002Fchunks\u002Fpages\u002F_error-ecfc5f470e3b86ccc30b.js"],
"/admin": [a, b, c, d, e, "static\u002Fchunks\u002Fpages\u002Fadmin-c23834b36e18cc7e1266.js"],
"/admin/books": [a, b, c, d, e, "static\u002Fchunks\u002Fpages\u002Fadmin\u002Fbooks-1fe9cb19d016dc44523b.js"],
"/admin/books/[bookId]/edit": [a, b, c, d, e, "static\u002Fchunks\u002Fpages\u002Fadmin\u002Fbooks\u002F[bookId]\u002Fedit-529ebc9f127aaaae61cb.js"],
"/app": [a, b, c, d, e, "static\u002Fchunks\u002Fpages\u002Fapp-3c15c0bc4f4347321c2d.js"],
"/blog": [a, b, c, d, e, "static\u002Fchunks\u002Fpages\u002Fblog-d9e7e3177a8ff5ca51e9.js"],
"/blog/[post]": [a, b, c, d, e, "static\u002Fchunks\u002Fpages\u002Fblog\u002F[post]-a2a61f50aca4c43407ae.js"],
"/books": [a, b, c, d, e, "static\u002Fchunks\u002F
@bernardodsanderson
bernardodsanderson / interview_process.md
Last active September 2, 2021 19:31
Interview Process

Interview Process

  1. Finding a job
    1. What are you looking for
    2. Who would be a good fit
    3. What are they looking for
  2. Applying for the job
    1. Portfolio
    2. Resume
    3. Cover letter
  3. Being interviewed
@bernardodsanderson
bernardodsanderson / brave.js
Created June 7, 2019 15:17
Detect Brave Browser
var agent = navigator.userAgent.toLowerCase();
var isChrome = /chrome|crios/.test(agent) && ! /edge|opr\//.test(agent);
var isBrave = isChrome && window.navigator.plugins.length === 0 && window.navigator.mimeTypes.length === 0;
if(isBrave)
console.log( isBrave );
@bernardodsanderson
bernardodsanderson / keybase.md
Last active September 11, 2019 14:53
keybase

Keybase proof

I hereby claim:

  • I am bernardodsanderson on github.
  • I am bdsa_ (https://keybase.io/bdsa_) on keybase.
  • I have a public key ASC-hvNrMkTlx_-r7RjFQVBb14MxQt9XwZkiv6blnT0g9Qo

To claim this, I am signing this object:

@bernardodsanderson
bernardodsanderson / Password Check
Created January 30, 2015 15:00
JavaScript check for visual feedback for password rules using Bootstrap and Jquery
<div id="password-rules" class="row">
<div class="col-xs-12 col-md-6">
<p><strong>Required:</strong></p>
<ul>
<li>Must contain between 8 and 20 characters</li>
<li>Cannot be same as username</li>
</ul>
</div>
<div class="col-xs-12 col-md-6">
<p><strong>Must contain 2 of the 4 below:</strong></p>
@bernardodsanderson
bernardodsanderson / gist:6965407
Created October 13, 2013 18:10
#css Triangle
<div id="down"></div>
div#down {
width: 0px;
height: 0px;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 20px solid green;
}