Skip to content

Instantly share code, notes, and snippets.

Oscar Björkman oscarb

Block or report user

Report or block oscarb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
  1. Do stuff

  2. Do stuff with code

     sudo do more stuff
    1. Do stuff with the stuff
  3. Go back to doing the first stuff

oscarb /
Last active Nov 8, 2016
Free webprototyping tools with building blocks and mobile interface

Prototyping tools


  • Web
  • Free
  • Building tools/blocks
  • View on mobile


oscarb /
Created Oct 17, 2016
Proving GitHub identity

Keybase proof

I hereby claim:

  • I am oscarb on github.
  • I am oscarb ( on keybase.
  • I have a public key whose fingerprint is CC21 B826 1C12 C9F6 D7E6 A107 1741 150B 1F6E DED3

To claim this, I am signing this object:

oscarb /
Created Oct 4, 2016
Log Android activity cycle
public void onStart()
Log.d(TAG, "In the onStart() event");
public void onRestart()
Log.d(TAG, "In the onRestart() event");
oscarb / 7-zip-default-extract.reg
Created Sep 28, 2016 — forked from zabbarob/7-zip-default-extract.reg
Make 7-Zip extract to folder when double-clicking archives. (based on
View 7-zip-default-extract.reg
Windows Registry Editor Version 5.00
@="Extract to Folder"
@="\"C:\\Program Files\\7-Zip\\7zG.exe\" x \"%1\" -o*"
oscarb / workflowy-yellow-star.css
Last active Apr 14, 2016
Turn the star yellow when clicked on WorkFlowy, Use with Stylish or another extension modifying websites CSS.
View workflowy-yellow-star.css
.pageStar.starred {
background-image: url(/media/i/star-icon-empty.svg);
background-color: yellow;
-webkit-mask-image: url(/media/i/star-icon-grey.svg);
-webkit-mask-size: 20px;
oscarb /
Last active Nov 8, 2018
Formula to check if URL in cell A1 in a Google Spreadsheet is valid HTML, using the W3C HTML Checker API

Validate URL in a Google Spreadsheet

Formula to check if URL in cell A1 in a Google Spreadsheet is valid HTML, using the W3C HTML Checker API


=IF(A1<>"", IF(INDEX(IMPORTDATA("" & A1), 0, 2) = "messages:[]}", "✓", "✗"), "") 


You can’t perform that action at this time.