Profile

Cover photo
David Gilbertson
Works at Qantas
Lives in Chatswood, Australia
239 followers|9,611,762 views
AboutPostsPhotos

Stream

 
For the React + WebStorm crowd, some nice new features landed today.

https://medium.com/@david.gilbertson/new-webstorm-features-for-react-developers-f5b01a71e9e#.z4fmphqgg

6
Add a comment...
 
Protip: if you're taking screenshots of your site and want to keep them consistent (e.g. always 1280x800 in documentation) you can use the dev tools device toolbar to set the screen dimensions then choose "Capture screenshot" from the menu. If you're viewing a specific device (e.g. iPad) and have the device frame turned on, you'll get the frame in the screenshot and it'll look real pretty.

The device frame feature is pretty new (and awesome) and I think only Chrome Canary at the moment.
1
Add a comment...
 
Quick quiz, what will this output?

const a = {
b() {
console.log(this === a);
}
};

a.b();
const c = a.b;
c();
2
Dave Gööck (mechaD)'s profile photoDavid Gilbertson's profile photoDarren Gordon's profile photo
10 comments
 
+David Gilbertson Hah yes, small internet!
Add a comment...
As you may know, I’m building a tool called Malla. It’s an amazing way to store and manage text for your website. And I want to look after…
17
Benjamin Dieter's profile photo
 
Thanks. Your article is very informative while fun to read. 
Add a comment...
 
Custom property names for Malla have just landed!

Now it's much easier to consume the API in your app.

http://www.malla.io/
4
David Gilbertson's profile photoGerhard Hoogterp (Jondor)'s profile photo
4 comments
 
Ayes, and malla is in my list off connected apps, so that part is accepted..

Add a comment...
 
Hi all!

I've just released an early version of an app I'm building, called Malla: http://www.malla.io/

It's a simple interface for creating and storing the text for your website.

You drag out text boxes onto a canvas to create your text. You can then access this via a single URL that returns all the text as JSON.

I'd love to get some feedback on how other developers out there normally handle text for websites (the ones that don't already have CMSs).

There's a one-minute intro video on the site.
15
Jason Grima's profile photoTairo Forbat Araujo's profile photoHenco Burger's profile photoDavid Gilbertson's profile photo
12 comments
 
+Tairo Forbat Araujo  and +Henco Burger  Thanks! +Jason Grima thank you for the ideas! It's quite funny, the first two are literally my next two tasks in Trello! I'll also be adding a 'move mode' where touching the screen does create a new box. I hadn't thought about collaboration between big/small screens, I'll need to make it obvious that there are more boxes off the side. Maybe a photoshop-style navigator or zoom/peek to see all. Sharing/roles is further down this list but definitely coming.
Add a comment...
In his circles
70 people
Have him in circles
239 people
Botecodo Corte's profile photo
Jason Gao's profile photo
NOOR KHAN's profile photo
CHOI DH's profile photo
Moon Moon's profile photo
Fergal Hanley's profile photo
Umar Hansa's profile photo
Dianne Gilbertson's profile photo
Alejandro Ciardelli's profile photo
 
Hi all,

I've been writing a webapp called Malla that let's you store and update the text for your website. It's made for developers of sites that don't need a full CMS but still want non-developers to be able to update text.

I've posted about it before, but it's now 'finished' - I'd love to get some feedback from the community!

https://www.malla.io/

Malla | A simple way to store and update your website's text
6
Add a comment...
 
Things I learnt today: *Element.scrollIntoView()*

Handy if you're showing a custom drop down (e.g. a <div> rather than a <select>) and it goes off the bottom a the scrollable area. It will actually scroll the parent until it's completely visible.

It's "experimental" but supported in IE6.

https://developer.mozilla.org/en/docs/Web/API/Element/scrollIntoView

The Element.scrollIntoView() method scrolls the current element into the visible area of the browser window.
9
HEREMI RAEF-HELLEH's profile photo
 
PLEASE.
C O N N T I N U E E E
Add a comment...
 
Malla now supports multiple projects! You can now use Malla to store the text for each site or app you're working on in its own project, and each project gets its own REST API endpoint.

Check it out, it's free! https://www.malla.io/

1
Add a comment...
 
Formatted text has just landed in Malla. Now you can store any text, from the tiniest tooltip for a button, all the way to entire pages of rich text.

Use the API to get either HTML or the raw markdown.

It's 100% free, go try it out for yourself! https://www.malla.io
4
Add a comment...
 
Malla has just launched support for multiple screens so you can organize your site's text better than ever before.

http://www.malla.io/
7
Add a comment...
 
Mildly interesting...

Run this on your git repo to get stats on the number of lines contributed by author.

git ls-tree -r HEAD|cut -f 2|grep -E '\.(jsx|scss)$' | xargs -n1 git blame --line-porcelain|grep "author "|sort|uniq -c|sort -nr

Note the regex in the middle, this is just looking at jsx and scss files, add in whatever extensions make sense.

Stolen wholesale from here: http://blog.favo.org/post/38240095693/git-count-total-number-of-lines-per-commiter

Git: count total number of lines per commiter This will print a list of all authors for the currently checked out code base and how many lines (excluding empty lines) have been written by whom: git...
1
Add a comment...
People
In his circles
70 people
Have him in circles
239 people
Botecodo Corte's profile photo
Jason Gao's profile photo
NOOR KHAN's profile photo
CHOI DH's profile photo
Moon Moon's profile photo
Fergal Hanley's profile photo
Umar Hansa's profile photo
Dianne Gilbertson's profile photo
Alejandro Ciardelli's profile photo
Basic Information
Gender
Male
Work
Occupation
Web Developer
Skills
HTML, Javascript, CSS
Employment
  • Qantas
    Front end web developer, 2015 - present
  • Bauer Media Group
    Front end engineer, 2015 - 2015
  • Sms Management & Tech
    Consultant, 2014 - 2015
  • Red Vivid
    Web Designer, 2013 - 2014
  • Kronia
    Web designer, 2013 - 2013
    Developing awesome web apps
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Chatswood, Australia
Previously
Crows Nest, Australia
Links
Contributor to