Freezing 1st column and top row in Google Docs Spreadsheet is little bit different than in Excel or Calc.
Click View, select Freeze from menu, click 1 row.
Click View, select Freeze, click 1 column.
Done 🙂
Freezing 1st column and top row in Google Docs Spreadsheet is little bit different than in Excel or Calc.
Click View, select Freeze from menu, click 1 row.
Click View, select Freeze, click 1 column.
Done 🙂
Google provides myriad of APIs for invoking operations on Google App Platform. It’s possible to integrate this calls with custom app using OAuth.
One option is to write app based on Flask (Python Microframework) with OAuth support provided by Flask-OAuthlib.
There is simple example of web app in Lepture’s repo.
The key practice in OAuth world is to get user’s consent to access API on her/his behalf. Often implemented by simple consent screen.
You need to perform two steps to display consent screen:
The second step is straightdorward:
google = oauth.remote_app( 'google', ... request_token_params={ 'scope': 'https://www.googleapis.com/auth/userinfo.email' }, ... )
It works perfectly. The only problem is that this solution provides access just to one API.
The question is: How to request access to multiple scopes?
You can find many hints about OAtuh for other frameworks, that you should separate scopes by comma. That won’t work.
Correct solution is to use white space as delimiter of scopes (as suggested for HTML forms).
google = oauth.remote_app( 'google', ... request_token_params={ 'scope': 'https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/calendar.readonly https://www.googleapis.com/auth/tasks' }, ... )
Google Chrome developer tool is simply one of the best tools available for debugging of HTML5 applications.
It has one neat feature: possibility to inspect CSS of element and editing it on the fly.
That works fine for normal styles, but what about :hover state?
There is one “hidden” option which allows to switch element to :hover state.
Inspect element of HTML. You should see Styles on the right hand side. There are 3 icons. Click the middle one with arrow sign. It will pop up menu with checkboxes. You can select here CSS pseudo classes like :active, :focus, :hover or :visited.
To learn more about capabilities of Google Chrome developer tools I recommend to go through free course Discover Dev Tools from Codeschool.com.
Sometimes you need to know what is your current public IP.
How to determine it?
Yes, you can login via ssh to remote server and type who to see users and hosts.
There is much simpler way. Just google it 😉
Ask Google: What is my IP
Kudos to Lordrat for this simple useful tip.
Do you know what happens if you apply gravity constant on HTML elements?
No? Try to search for something by this enhanced Google Search page.
It is part of Mr. Doob 3D experiments.
Follow @jurajmichalek on twitter.