• 5 super useful Google Chrome tricks



    I have been using Chrome for many years now, mostly not really thinking of it as a browser but rather just a thin layer between me and the WWW.
    Today I realized something pretty interesting - you can select multiple tabs by holding down the CTRL key and clicking with your mouse!
    The selected tabs can be moved to another window, or moved around other existing tabs. Until now I have been moving them one-by-one like some animal!

    I decided to make a list of 5 lesser known Chrome tricks (ok except CTRL + SHIFT + T).

    Create App shortcuts

    Apparently there's a mode on Chrome called "App mode", which is just a very light window without any extra toolbars, designed to only display a web-app's content. On Menu -> Tools / More tools -> Create application shortcuts... / Create shortcut... you will find an option to create shortcuts for such web-apps. Now on Windows the icon will show up on your Desktop, and on Linux it'll be under your main application menu -> Chrome Apps (not sure about Mac, likely to be either or).
    In case you want to use the command line, there's an options for that too:
    google-chrome --app=www.google.com

    Play the Dinosaur T-Rex game, even when you're online!

    By going to chrome://dino/ you can play the T-Rex Game. No longer do you have to wait for your provider to have a technical issue to enjoy this game :)

    Understand how Omnibox works

    By going to chrome://omnibox/ , you can see exactly the results that Omnibox generates and how they were arrived at. This is super cool when Omnibox sometimes gives you odd results, like when you're typing "Cale" (for Google Calendar) and it gives you a Google search for "Cale" instead of "calendar.google.com".

    Select multiple tabs

    As mentioned before you can use CTRL + click to select multiple tabs on Chrome. Multi-tabs selection gives you a quick way to send them to another window, or move them between your existing tabs.
    Bonus tip: You can select entire ranges of tabs with SHIFT + click, just like in a file browser!

    Reopen closed tab

    By now I imagine most of you know about CTRL + SHIFT + T. Just in case some of you don't, it's a magical combination of keys that lets you reopen a tab you just accidentally closed.
    It's a lifesaver, and I admit to use it at least once a day.
  • 3 Startups from Zurich, London and San-Francisco compared



    This is a story of 3 startups, starting in 3 different ecosystems, with similar solutions for Invoice Financing.
    Here we will be looking into their funding rounds to learn about the differences between the startup ecosystems of Zurich, London, and San Francisco.
    First of all:

    What's Invoice Financing?

    Scenario: You're a web developer, and you get paid 30 days after the invoice was sent. Until then, you need to pay your rent/business expenses, what do you do? A bank loan is the traditional solution (but it takes time). Invoice financing is a modern solution to this, providers give you the money in return of some interest, and you pay them back within several weeks/months.

    The companies we're looking into

    • Advanon - A Zurich based startup. Total Funding: 13.92M USD (13.6M CHF)
    • MarketInvoice - A London based startup. Total Funding: 58.26M USD (45.8M GBP)
    • Fundbox - A San Francisco based startup. Total Funding: 107.5 USD
    When looking at the numbers, this comparison symbolizes the stark difference between the ecosystems.

    Advanon, being a Swiss startup, has only gone through 2 rounds in the last 4 years. Noticebly, having a pretty large Series A round of 13.5M CHF. This is a very solid indication of the Swiss tech market as a whole, funding rounds aren't as quick, but they are definitely enough for a lean burn rate (keeping in mind the local salary ranges) and steady growth.

  • Multiple Deployments with Terraform Workspaces

    In recent months, I've been working more and more with Terraform, deploying to multiple cloud providers and even combining it with Serverless projects (more on that on the next post).

  • How to install global NPM packages locally

    Too many NPM libraries are demanding to be globally installed, to name a few:
    npm install -g serverless
    npm install -g terraform
    npm install -g mocha
    While it's sometimes very useful to have some of these components globally available,
    in many cases you only need them for 1-2 projects.
    In some cases, you might not have permissions to install packages globally.

    The reality is, you don't need to install them globally at all!

    Installing a global NPM package locally

    Let's take Serverless as an example. Let's say we want to deploy an existing project, but we don't have Serverless installed on our system.
    First we install the package locally:
    npm install serverless
    Then, on our node_modules/ directory, there's a hidden .bin/ directory, where the serverless binary is located.
    So from the main project directory, we simply run:
    ./node_modules/.bin/serverless deploy -v
    Now if you want to make it a bit more snappy, you could add a shortcut (i.e. symbolic link) to the binary:
    ln -s node_modules/.bin/serverless serverless
    And from now on simply run any serverless command like so:
    ./serverless deploy -v
    On rare occasions, some packages' binaries are not under node_modules/.bin/ but somewhere inside the package's directory, such as node_modules/serverless/bin/.

    So far I've been using locally installed packages for Serverless, SailsJS, Mocha, Terraform, and a few others as well.

    On the next post, we'll try playing around with Serverless and S3, stay tuned!
  • My Workout Routine after 10 years of iteration

    Skip to My Current workout Routine

    It's been about 10 years since I first joined a gym.
    Since then, I've been constantly iterating on my workout routines, and believe I have reached an optimized version for my goal. I'd like to share this process. Starting with the goals.

    Fitness Goals

    What were my goals?
    Well, back then I was pretty skinny, and was suffering from backaches (tall people problems).
    I never wanted to be super buffed. Rather just fit, flexible, and pain-free.
    • Muscle Mass (though nothing bulky)
    • Strong Core (for the backaches)
    • Cardio Stamina
    • Flexibility
    So now that the goals were established, I've received my first program from my fitness guide.
    Basically there were a few general rules.
    • 3 Times a Week - 3 workouts a week, with 1 day of rest between each workout.
    • 3 Sets, 12 Repetitions - Most exercises need to have 12 repetitions of 3 sets.
      The weight has to be heavy enough so that you can barely finish, but light enough so that you do the exercises properly.
    • Abs on every workout - There's an Ab Crunch machine at the gym, do a 3X12 every workout.
    • Cardio at the end - After every workout, 30 minutes on the treadmill (at 10-12 kmh speed).
    • Stretch - 5-10 minutes of stretching at the end of the cardio.
    Now for the schedule:

    1st Fitness Routine

    DayMuscle Group 1Muscle Group 2Muscle Group 3AdditionsEstimated Time
    Monday
    Chest, Back, and Biceps
    Chest
    3 X 12 Chest Press Machine
    3 X 12 Chest Fly Machine
    Back
    3 X 12 Lat Pulldown Machine
    3 X 12 Rowing Machine
    3 X 12 Back Extension Machine (lower back)
    Biceps
    3 X 10 Curls (free weights)
    3 X 10 Hammers (free weights)
    Cardio + Abs
    3 X 12 Ab Machine
    30 Minute Cardio
    3 Hours
    Wednesday
    Legs, Shoulders, and Triceps
    Legs
    3 X 12 Hack Squat Machine
    3 X 12 Leg Extension Machine
    3 X 12 Leg Curl Machine
    Shoulders
    3 X 12 Shoulder Press Machine
    3 X 12 Front Raise (free weights)
    Triceps
    3 X 12 Triceps Pushdown (rope extension)
    3 X 12 Overhead Triceps Extension
    Cardio + Abs
    3 X 12 Ab Machine
    30 Minute Cardio
    3 Hours
    Friday
    Chest, Back, and Biceps
    Chest
    3 X 12 Chest Press Machine
    3 X 12 Chest Fly Machine
    Back
    3 X 12 Lat Pulldown Machine
    3 X 12 Rowing Machine
    3 X 12 Back Extension Machine (lower back)
    Biceps
    3 X 10 Curls (free weights)
    3 X 10 Hammers (free weights)
    Cardio + Abs
    3 X 12 Ab Machine
    30 Minute Cardio
    3 Hours
    I did this workout routine for about 4 years, it's a great total body workout.
    Eventually though, it had some issues/limitations:
    • Flexibility & Core - it still felt like my core wasn't getting a lot of attention, especially because I was sitting down to use the machines for most of the workout.
      My general movement felt fairly restricted, I tried increasing streching time but that produced limited results.
    • Time - As I got busier, spending 9 hours a week on working out seemed like less and less of an option.
    • Gym - going with an extra pair of shoes (and clothing), in the heavy european winter... The entire thing seemed more and more like an ordeal to me.

    2nd Fitness Routine - P90X

    So while doing some research back in 2013, I found out about an exercise program called P90X.
    It looked pretty promising so I decided to give it a try, following it as closely as possible to the program.
    DayExercise NameAdditionsEstimated Time
    MondayChest, Shoulders, and Triceps
    More info
    Ab Ripper X
    More info
    1.25 Hours (1 hour & 15 minutes)
    TuesdayCardio X
    More info
    0.75 Hours (45 minutes)
    WednesdayBack and Biceps
    More info
    Ab Ripper X
    1.16 Hours (1 hour & 10 minutes)
    ThursdayCardio X
    0.75 Hours (45 minutes)
    FridayLegs and Back
    More info
    Ab Ripper X
    1.28 Hours (1 hour & 17 minutes)
    The immediate thing I've noticed is improvement in posture. This is certainly due to the Core Muscles getting a hit every single weekday. The other major bonus is that workout time dropped to 5 Hours and 12 Minutes!

    Minimum equipment for P90X

    I've been using 2 items of equipment for my entire P90X schedule:
    • Replacing the Pull Up bar
      Installing a Pull Up bar in a rented flat is not easy.
      Some contracts don't allow you to do such modifications, and some ceilings are just not high enough to allow for a standard Pull Up. After some experimentation, I've opted for:
      V3Tec Expander
      This clever little device allows for up to 100KG (!!) resistance.
      It is very adjustable, simply by removing a band, you reduce the resistance by 20KG.
      Instead of doing Pull Ups, I use the Expander for rowing, thereby working on the same muscle groups.
    • Using Bands
      Instead of weights which are heavy, bulky, and hard to carry around while traveling,
      I've been using Exercise Bands. There are sets that can give you nearly 80KG of resistance!
      I highly recommend shopping around for these. I had a few bands that ripped. Eventually I found the right set, which I've been using for well over 3 years now.

    Custom Abs Workout

    After iterating on the Abs routine, I've made a customized routine that just works better, while being a few minutes shorter. It's a combination of 8 Minute Abs (with Winsor Pilates) + P90 Ab Ripper (not the P90X one).
    If you cut them down enough, you get 13 Minutes of Ab workout (3 minutes less than Ab Ripper X).

    My Final Workout Routine

    I suppose I should call it "current" since it's quite likely that this will develop further.
    I'm quite happy with it, as it is quite time-optimized, and uses very minimal equipment.
    The biggest change I've made since the last routine, was replacing Cardio X with P90X3 Accelerator.
    Accelerator is far more intense, and it's also shorter at only 30 minutes.
    DayExercise NameAdditionsEstimated Time
    MondayChest, Shoulders, and Triceps
    More info
    Custom Abs Workout
    More info
    1.2 Hours (1 hour & 12 minutes)
    TuesdayP90X3 Accelerator
    More info
    0.5 Hours (30 minutes)
    WednesdayBack and Biceps
    More info
    Custom Abs Workout
    1.11 Hours (1 hour & 7 minutes)
    ThursdayP90X3 Accelerator
    0.5 Hours (30 minutes)
    FridayLegs and Back
    More info
    Custom Abs Workout
    1.23 Hours (1 hour & 14 minutes)
    The final workout schedule is down to 4 Hours and 33 Minutes, nearly half the time my original routine took, there's no need to go to the gym!

    What's next?

    I've been toying with a few modifications.
    I've considered doing Cardio on the same day as I do the Muscle workouts.
    This could potentially reduce prep times, but may hurt results.
    Another thing I'm considering is adding a TRX hook on the wall, for a better Pull Up simulation.
    For now though, this routine works very well for me, and I definitely recommend it for a sustainable schedule that delivers results.