alexkras.com

  • Home
  • Top Posts
  • Resume
  • Projects
  • YouTube
  • Boots to Bytes
  • About
  • Contact

Archives for October 2016

Git grep multiple repos at once

October 25, 2016 by Alex Kras 2 Comments

Updated in 2020 to work with Python 3. My company uses multiple git repos that all depend on one another. Often I find myself trying to grep through a few of them at the same time. Regular grep works, but it takes a long time and displays a lot of noise. git grep only searches […]

Filed Under: Git, Tools Tagged With: git

Google May Be Stealing Your Mobile Traffic

October 15, 2016 by Alex Kras 286 Comments

Update 10/17/2016 6:30pm: You can read a response from the tech lead of the AMP Project for Google, in the comment area. Update 11/01/2016 10:40pm: After learning more about AMP, it became clear that the original title was inaccurate. A better title would have been You may be losing Your Mobile Traffic. Update 11/03/2016 10:30pm: […]

Filed Under: AMP, Business, SEO

Parse JSON Object to Map in Scala Using Jackson

October 6, 2016 by Alex Kras 2 Comments

I couldn’t find a good example online, so here it goes. import com.fasterxml.jackson.module.scala.DefaultScalaModule import com.fasterxml.jackson.databind.ObjectMapper val data = “”” {“some”: “json data”} “”” val mapper = new ObjectMapper mapper.registerModule(DefaultScalaModule) mapper.readValue(data, classOf[Map[String, String]]) Hope it helps

Filed Under: Scala

Copyright © 2021 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in