Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz| # study stream aliases | |
| # Requires https://github.com/caarlos0/timer to be installed. spd-say should ship with your distro | |
| declare -A pomo_options | |
| pomo_options["work"]="45" | |
| pomo_options["break"]="10" | |
| pomodoro () { | |
| if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then | |
| val=$1 |
| doctype html | |
| html | |
| head | |
| title My Rails 5.2 App | |
| = csrf_meta_tags | |
| = csp_meta_tag | |
| meta name="viewport" content="width=device-width, initial-scale=1.0" | |
| = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' |
Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz| public class AlarmBroadcaster extends BroadcastReceiver { | |
| @Override | |
| public void onReceive(Context context, Intent intent) { | |
| //Remember in the SetAlarm file we made an intent to this, this is way this work, otherwise you would have to put an action | |
| //and here listen to the action, like in a normal receiver | |
| createNotification(context); | |
| } | |
| public void createNotification(Context context) { |
| # I'm not using this anymore | |
| # | |
| # Assuming that you are already on your project directory. | |
| # Step 1: rvm gemset create [name of gemset] | |
| # Step 2: rvm --rvmrc [ruby version here]@[name of gemset] # Note: You can check your current ruby version by running "ruby -v" from your console. | |
| # Step 3: Refresh your directory, you can do this by simply checking out of your directory via command: cd.. and going back to that directory again. | |
| # Step 4: RVM will ask you a simple Yes, No, View, Cancel question. Press Y for yes. | |
| # Step 5: You're done! Run bundle install. |