Sunday, March 31, 2013

Gmail Blue

Introducing Gmail Blue


Fast. Beautiful. Powerful.
http://gmail.com/blue

















...happy :)

Wednesday, March 27, 2013

Profiling a mobile site with Chrome DevTools and Android



Learn how you can use Chrome DevTools against a page running on your Android device. Chrome DevTools is just as powerful for the mobile web as it is for the desktop web.

Tuesday, March 26, 2013

CSS for Windows 8 App Development


CSS for Windows 8 App Development is your learning guide for CSS – the language of great Windows 8-style apps. Learn the built-in styles that make the built-in controls shine, how to define them, and how to use CSS to give your custom app assets that beautiful Modern UI style.
CSS (Cascading Style Sheets) is the clear standard for styling web applications, and with HTML, CSS, and JavaScript now powering apps on Windows 8, it’s the clear standard there as well. CSS is a powerful styling and layout language that greatly simplifies the selection of page elements and their visual display, layout, and animation. Additionally, Windows 8 apps appear on a large variety of screen formats, and CSS is the primary means for uniquely defining these layouts.
  • Learn the language of great Windows 8-style apps
  • Raise your knowledge of the CSS3 standard
  • Use the styles built-in to Windows 8 style apps
  • Apply CSS styles to your app

What you’ll learn


  •  Master the use of powerful CSS selectors
  • Learn new CSS3 functionality such as flex boxes, grids, animation, and transforms
  • Control your styles from JavaScript for really powerful interactions
  •  See the styles implemented by built-in controls like ListView and override them
  •  Learn style rules that will help you implement good Windows 8 style
  • See how to use LESS in your Windows 8-style app

Who this book is for


CSS for Windows 8 App Development is for software developers of all skill levels working with web applications. If you’re new, the foundational CSS examples will bring you up to speed quickly. If you’re more familiar with CSS, you’ll gain critical insight into its application in Windows 8 for creating a great Modern UI.

Table of Contents


    1. Windows 8 Design
    2. Introduction to Windows 8 Development
    3. Selectors and Style Rules
    4. Text Properties
    5. Box Properties
    6. Transforms, Transitions, and Animation Properties
    7. Layout Properties
    8. Global Styles
    9. WinJS Control Styles 
    10. Overriding and Defining Styles
    11. CSS Libraries and Resources
    12. Styling SVG

    Monday, March 25, 2013

    Pro iOS Geo: Building Apps with Location Based Services



    Deepen your app development skills with Pro iOS Geo. This book shows you how to use geolocation-based tools to enhance the iOS apps you develop. Author Giacomo Andreucci describes different ways to integrate geo services, depending on the kind of app you’re looking to develop: a web app, a hybrid app, or a native app. You’ll discover how to use the Google Maps API features to integrate powerful geo capabilities in your apps with a little effort.

    You’ll learn how to: 
    • Design geographic features for your apps while respecting usability criteria
    • Design touristic geo apps
    • Use HTML5 and the Google Maps JavaScript API to implement powerful geo functions in your apps
    • Use Google Fusion Tables to display and query data in your maps
    • Transform your geo web apps into hybrid apps that can be submitted to the Apple App Store
    • Create native iOS geo apps using the new Apple Maps data through the Map Kit API
    After reading Pro iOS Geo, you’ll have the knowledge and skills you need to add a geo dimension to all your apps, whether as a feature of a larger app— such as a social networking app that shows where friends are located in a selected area—or as the primary part of an app—such as a guide app that shows the monuments in your city. 

    What you’ll learn

    • Design geographic features for your apps while respecting usability criteria
    • Design touristic geo apps
    • Use HTML5 and the Google Maps JavaScript API to implement powerful geo functions in your apps
    • Use Google Fusion Tables to display and query data in your maps
    • Transform your geo web apps into hybrid apps that can be submitted to the Apple App Store Create native iOS geo apps using the new Apple Maps data through the Map Kit API 

    Who this book is for


    This book is for experienced iOS app developers looking to learn, use and integrate various geo-location based tools and APIs.


    Table of Contents

    Part 1: Introduction
    Chapter 1: Getting Started

    Part 2: Web Apps

    Chapter 2: Map-based Web App Basics: Hello World
    Chapter 3: Map Controls and Styles
    Chapter 4: Creating a GUI for the App with jQuery Mobile
    Chapter 5: Overlays
    Chapter 6: Implementiong Geolocation

    Part 3: Hybrid Apps

    Chapter 7: Creating Hybrid Apps

    Part 4: Native Apps with Apple Map Kit

    Chapter 8: Introduction to the Core Location Framework
    Chapter 9: Introduction to Apple Maps and the Map Kit Framework
    Chapter 10: Displaying Ojects on a Map 

    Appendix A: Understanding the Terms of Service

    Saturday, March 23, 2013

    Beginning jQuery (Beginning Apress)


    Beginning jQuery is your step-by-step guide to learning the jQuery library. jQuery is the most popular JavaScript library in the web developer’s toolkit. Jack Franklin takes you from the basics of getting you started with jQuery, right through to extending jQuery by writing your own plug-ins. You'll discover best practices you can follow, how you can avoid common mistakes, and you'll learn about so many of the things that jQuery has to offer, including how you can:
    • Use jQuery’s powerful tools to dynamically update content on your site, including DOM manipulation.
    • Extend jQuery’s capabilities by writing your own plugins on top of the framework.
    • Animate elements and build your own jQuery slider.
    • Employ best practices and avoid common errors made by beginners.
    JavaScript is a powerful language but every web developer must navigate the tricky issues around cross-browser inconsistencies. Beginning jQuery teaches you how to use jQuery to avoid spending your time fixing these browser bugs - letting you concentrate on what really matters to you. Throughout Beginning jQuery, you'll discover how expressive yet concise jQuery’s code is and how much quicker and efficient you can develop with jQuery!

    What you’ll learn

    • Learn why jQuery is so popular and how to get started.
    • Use jQuery’s powerful manipulation tools to dynamically update your website’s content.
    • Animate content and build your own image slider with jQuery’s animation tools.
    • Extend the library by writing your own custom plug-ins.
    • Avoid common beginner errors, and learn how to use best practices.
    • Use plug-ins created by others in the community and integrate them into your website.

    Who this book is for

    Beginning jQuery is for the web developer confident with HTML and CSS and now ready to get to grips with JavaScript. If you’ve tried to integrate some JavaScript into your website and wondered how you could add functionality easier, jQuery is for you. Beginning jQuery is great for the developer wanting to enhance their skillset and learn new tools.

    Table of Contents

    1. JavaScript You Need to Know
    2. The Basics of jQuery
    3. DOM Traversal with jQuery
    4. DOM Manipulation with jQuery
    5. An Introduction to Events
    6. Advanced Events
    7. Animation
    8. Ajax with jQuery
    9. Writing a jQuery Plug-in
    10. Advanced jQuery Plug-ins
    11. Writing a Slider Plug-in

    Wednesday, March 20, 2013

    Python: set font of tkinter.Label

    Set font of tkinter.Label
    Set font of tkinter.Label


    #tkinter for Python 3.x
    #Tkinter for Python 2.x
    
    import tkinter
    
    def quit():
        global tkTop
        tkTop.destroy()
    
    def setTextSize(ev=None):
        global tkLabel
        global tkScale
        tkLabel.config(font="Helvetica -%d bold" %tkScale.get())
    
    tkTop = tkinter.Tk()
    tkTop.geometry('300x200')
    
    tkButtonQuit = tkinter.Button(tkTop, text="Quit", command=quit)
    tkButtonQuit.pack()
    
    tkLabel = tkinter.Label(text="Hello Python")
    tkLabel.pack()
    
    tkScale = tkinter.Scale(tkTop, from_=1, to=40, orient=tkinter.HORIZONTAL, command=setTextSize)
    tkScale.set(18)
    tkScale.pack(anchor=tkinter.CENTER)
    
    tkinter.mainloop()
    


    Implement Scale bar of Tkinter

    Scale bar of Tkinter
    Scale bar of Tkinter


    #tkinter for Python 3.x
    #Tkinter for Python 2.x
    
    import tkinter
    
    def quit():
        global tkTop
        tkTop.destroy()
    
    tkTop = tkinter.Tk()
    tkTop.geometry('300x200')
    
    tkButtonQuit = tkinter.Button(tkTop, text="Quit", command=quit)
    tkButtonQuit.pack()
    
    tkScale = tkinter.Scale(tkTop, from_=1, to=30, orient=tkinter.HORIZONTAL)
    tkScale.set(18)
    tkScale.pack(anchor=tkinter.CENTER)
    
    tkinter.mainloop()