Skip to content

Instantly share code, notes, and snippets.

View nperez0111's full-sized avatar
🤜
You know, doin' the do

Nick Perez nperez0111

🤜
You know, doin' the do
View GitHub Profile
@nperez0111
nperez0111 / EverFi.md
Last active August 18, 2023 17:58
How to skip through Everfi Courses

How To Skip Through EverFi Courses

To skip through EverFi courses you will need to be able to open developer tools in Chrome

  • This is done by right clicking on some part of the page and going to inspect

Skipping videos

EverFi wants you to actually watch entire videos through so what you have to do is disable the audio of the video

Skipping Activities

@nperez0111
nperez0111 / Brewfile
Last active March 16, 2021 19:49
AgileMD Mac Setup
tap "buo/cask-upgrade"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
tap "homebrew/services"
tap "rigellute/tap"
brew "aws-iam-authenticator"
brew "awscli"
brew "brew-cask-completion"
@nperez0111
nperez0111 / README.md
Last active May 16, 2020 21:11
Pianobar configuration.

Pianobar Installer Scripts and Guide

====================================== These Scripts Help Install Pianobar (A Command Line Pandora Player) onto Windows and Mac OS X. For Mac I've written a bash script that can be copied and pasted into a terminal emulator of your choice to install pianobar and fix some settings.

The funtionality of the scripts are as follows:

  • Fixes a warning that comes up because of an out of date audio library (libao)
  • Sets up Auto Login to pianobar using your pandora account ( Otherwise you would have to provide your username and password on every instance of pianobar )
  • Sets up Auto Start Station which on start of pianobar will allow you to start a station you set automatically ( otherwise you would need to select the station on every restart of pianobar)
  • If you use the advanced installer it will allow for you to set up notifications on changing the song to mac os x banners. And even show album cover art so you know exactly what song is playing without having to go back

Colors in multi repository projects

There needs to be a source of truth when it comes to colors in projects. That source of truth should be a single file which contains all colors that you will use throughout all of your projects.

The problem with colors is that they have no meaning when used as part of a component. $color-border means nothing to both the actual color and when misused as a background (because if there is only one definition of a color it must be used in that way)

I think a good way around this is to have all colors defined in a central location and to use SCSS to logically split up the usage of those colors in a more logical way.

Here's an example:

@nperez0111
nperez0111 / README.md
Last active June 10, 2019 21:34
React Redux structure

Methodology

What are some of the most common tasks when building and maintaining a project?

Initial buildout

  • Adding features
    • Creating components, containers, and redux related data (if need be)
  • Modifying existing features
  • Finding components, containers and adding or removing things until the desired outcome is fulfilled

Keybase proof

I hereby claim:

  • I am nperez0111 on github.
  • I am nick_agile (https://keybase.io/nick_agile) on keybase.
  • I have a public key ASClPyoCE8eIrwjJWoTGBJ2EGgKp4_A9W54GElgxTsdBLAo

To claim this, I am signing this object:

@nperez0111
nperez0111 / README.md
Created September 6, 2018 17:08
Proposed Refactor for Budgetwise.io

components/dialogs/ (folder)

Split out all dialog components into this folder and remove prefix dialog-. Add dropzone-modal, settings-modal, new-account-modal, settings-currency-date -> settings-modal

components/settings-modal.js

Current implementation is pretty much just to output some layout with no functionality.

  • Move UI code to containers/settings-form-container
  • Delete components/settings-modal.js

components/budget/ (folder)

@nperez0111
nperez0111 / README.md
Last active November 3, 2017 03:58
Description of a Note Taker app

Screens breakdown

Main/Capture Screen

Main Screen

This is the Camera screen and the first screen you see when opening the app. The middle ring is the capture button which will capture the image the user is currently pointing at.If you click on the notebook icon you will be navigated to a list of notebooks.

Notebook List Viewer

list viewer

@nperez0111
nperez0111 / README.md
Last active October 11, 2017 22:37
Easy way to calculate fibonacci numbers

So I was bored in class one day and decided to play around with the famous fibonacci sequence. So I started to play with it's definition:

Fn = Fn-1 + Fn-2

From there I started to derive other solutions as it is a recursive function that have each replaced by using this definition and playing with the subscripts:

Fn = (Fn-2 + Fn-3) + Fn-2

Fn = 2(Fn-2) + Fn-3

@nperez0111
nperez0111 / OwnCloud Installer.sh
Last active October 3, 2017 20:53
Own Cloud Installer
#!/bin/sh
echo "Thanks for using Nick's OwnCloud Server installer"
#let's just update it all before we start
sudo apt-get update
sudo apt-get upgrade
#start install of owncloud
echo "We are attempting to install OwnCloud"
cd /tmp
#sudo apt-key add - < Release.key