Skip to content

Instantly share code, notes, and snippets.

🐙
PLING

felipekm felipekm

🐙
PLING
Block or report user

Report or block felipekm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@felipekm
felipekm / remote_md
Created Jun 25, 2019
git - create local branch from existing remote branch
View remote_md
1. git remote add <remote_name> <repo_url>
2. git fetch <remote_name>
3. git checkout -b <new_branch_name> <remote_name>/<remote_branch_name>
@felipekm
felipekm / install_deps.sh
Created Jun 24, 2019
'npm install', getting node-gyp rebuild errors
View install_deps.sh
apt-get install build-essential libkrb5-dev -y
@felipekm
felipekm / github_emoji_codes.md
Created May 29, 2019
All Github emoji codes
View github_emoji_codes.md

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
View acm_limits.sh
aws acm list-certificates | grep -c CertificateArn
@felipekm
felipekm / gist:8532d5d1de8fa6f5045703003703fa9b
Created May 7, 2019
AWS EC2 Instance User data sample to start a service
View gist:8532d5d1de8fa6f5045703003703fa9b
Content-Type: multipart/mixed; boundary="//"
MIME-Version: 1.0
--//
Content-Type: text/cloud-config; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
#cloud-config
cloud_final_modules:
View .gitconfig
# Sample gitconfig
#
#..
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches
@felipekm
felipekm / install.sh
Created Apr 26, 2019
Package cairo was not found in the pkg-config search path. Node j.s install canvas issue
View install.sh
yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel
View gist:c1462cd9197c46ebe123f22188bb14d5
sudo ln -s "$(which node)" /usr/bin/node -f
@felipekm
felipekm / validates_ssl.md
Last active Feb 27, 2019
Validates that certificate matches / signs the private key
View validates_ssl.md
$ openssl rsa -noout -modulus -in private-key.key  2> /dev/null | openssl md5
(stdin)= 3a5a1682678d243b6b8337360b55ff10

$ openssl x509 -noout -modulus -in intermediate.crt 2> /dev/null | openssl md5
(stdin)= 3a5a1682678d243b6b8337360b55ff10
@felipekm
felipekm / launch.json
Created Feb 17, 2019
VS Code nextjs debug
View launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Next: Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
You can’t perform that action at this time.