Skip to content

Instantly share code, notes, and snippets.

View reysmerwvr's full-sized avatar
:electron:
Making a cup of coffee 💻📲

Reysmer Valle reysmerwvr

:electron:
Making a cup of coffee 💻📲
View GitHub Profile
@reysmerwvr
reysmerwvr / instructions.md
Last active March 29, 2022 20:20
Fix Not Found Page on Remix.run Deployment in Vercel

How to change from Remix App Server configuration to Vercel configuration

Remix.run version: 1.1.3

  1. Make sure that your remix.config.js file looks like this:
/**
 * @type {import('@remix-run/dev/config').AppConfig}
 */
module.exports = {
@reysmerwvr
reysmerwvr / main.js
Created June 1, 2021 09:28 — forked from Jagathishrex/main.js
converting string to camel case
// util function to convert the input to string type
function convertToString(input) {
if(input) {
if(typeof input === "string") {
return input;
}
@reysmerwvr
reysmerwvr / README-español.md
Created January 21, 2021 21:26 — forked from Villanuevand/README-español.md
Una plantilla para hacer un buen README.md. Inspirado en el gist de @PurpleBooth => https://gist.github.com/PurpleBooth/109311bb0361f32d87a2

Título del Proyecto

Acá va un párrafo que describa lo que es el proyecto

Comenzando 🚀

Estas instrucciones te permitirán obtener una copia del proyecto en funcionamiento en tu máquina local para propósitos de desarrollo y pruebas.

Mira Deployment para conocer como desplegar el proyecto.

@reysmerwvr
reysmerwvr / restart-ssh
Created April 27, 2020 21:21
Restart SSH on Mac Terminal (High Sierra)
sudo launchctl stop com.openssh.sshd
sudo launchctl start com.openssh.sshd
@reysmerwvr
reysmerwvr / remove-nodes-safely.sh
Created April 21, 2020 22:00 — forked from scarytom/remove-nodes-safely.sh
Script to safely de-register jenkins nodes usage: $ remove-nodes-safely.sh my-node-1 my-node-2 my-node-3
#!/bin/bash
set -e
set -u
CI_MASTER_URL="http://ci-1"
node_online() {
curl --silent "$CI_MASTER_URL/computer/$1/api/json" | grep --silent '"temporarilyOffline":false'
}
@reysmerwvr
reysmerwvr / GitHub-Forking.md
Created November 5, 2019 21:12 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@reysmerwvr
reysmerwvr / jwtRS256.sh
Created September 25, 2019 00:31 — forked from ygotthilf/jwtRS256.sh
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub