Skip to content

Instantly share code, notes, and snippets.

Avatar
⛷️

Colin chill5018

⛷️
View GitHub Profile
@zulhfreelancer
zulhfreelancer / upgrade.md
Last active February 17, 2023 00:42
How to upgrade Heroku Postgres database plan?
View upgrade.md
  1. Assuming you have multiple Heroku apps and Git remote like so:
development https://git.heroku.com/xxx.git (fetch)
development https://git.heroku.com/xxx.git (push)
origin      git@bitbucket.org:xxx/xxx.git  (fetch)
origin      git@bitbucket.org:xxx/xxx.git  (push)
production  https://git.heroku.com/xxx.git (fetch)
production  https://git.heroku.com/xxx.git (push)
staging https://git.heroku.com/xxx.git (fetch)
@chhabraromit
chhabraromit / SendMail.java
Created January 3, 2015 12:06
Mailgun Example with Jersey 2.x
View SendMail.java
/*I have tried this with Jersey 2.14 only but should work for Jersey 2.x*/
package com.mail;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.Form;
import javax.ws.rs.core.MediaType;
@staltz
staltz / introrx.md
Last active May 27, 2023 05:21
The introduction to Reactive Programming you've been missing
View introrx.md