Skip to content

Instantly share code, notes, and snippets.

View pinoytech's full-sized avatar
👨‍🚀
I'm just a simple man, trying to make my way in the universe.

Teej.PinoyTech pinoytech

👨‍🚀
I'm just a simple man, trying to make my way in the universe.
  • Laptop
View GitHub Profile
@pinoytech
pinoytech / shopify_countries.json
Created August 11, 2022 14:52 — forked from inomn/shopify_countries.json
Shopify Cart countries list
{
"Afghanistan": {
"address_format": {
"edit": 17
},
"code": "AF",
"flag_path": "/assets/flags/af-629a0ca75359dbaac4630de374041bbe17bb684adbc5765bb74633111bf42ab6.svg"
},
"Aland Islands": {
"address_format": {
@pinoytech
pinoytech / node_nginx_ssl.md
Last active June 12, 2020 06:10 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

Digital Ocean (Support Brad)

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

@pinoytech
pinoytech / capybara cheat sheet
Created March 1, 2017 22:36 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@pinoytech
pinoytech / nginx.conf
Last active August 29, 2015 14:22 — forked from plentz/nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048