Updates from April, 2010 Toggle Comment Threads | Keyboard Shortcuts

  • Pablo 5:29 PM on 30 April 2010 Permalink | Reply  

    github’s font looks horrible? anybody? 

    Is this the way everybody see these fonts ? (look the green area):

    Advertisements
     
  • Pablo 3:19 PM on 29 April 2010 Permalink | Reply  

    The shortest Singleton declaration! 

    public class Singleton {

    static private var _instance:Singleton;

    static public function getInstance():Singleton {

    /// return _instance || ( _instance = new Singleton( new key() ) );

    return _instance ||= new Singleton( new key ) ;

    }

    public function Singleton(singleton:key){}

    }

    class key{}

    Thanks to John Lindquist for the fix, haha.

     
    • John Lindquist 3:48 PM on 29 April 2010 Permalink | Reply

      You can go shorter here:

      return _instance || ( _instance = new Singleton( new key() ) );

      to

      return _instance ||= new Singleton( new key ) ;

      from docs:
      “||= logical OR assignment Assigns expression1 the value of expression1 || expression2.”

      • pablobandin 4:28 PM on 29 April 2010 Permalink | Reply

        NICE! that´s even better! i cant belive i missed that!

  • Pablo 8:37 PM on 28 April 2010 Permalink | Reply  

    Flash Develop AS3 Theme 

    THis is a theme i made yesterday, it’s really easy for the eyes. I tested it today at work, and it was amazing.

    Click image to see full size (else it looks blurry)

     
    • Sean 5:50 PM on 17 November 2010 Permalink | Reply

      I just want to take the time to say thank you for a good job, I use this scheme at work.
      However after reinstalling FD on my PC I couldnt remember where I got this scheme from. I tried most of the “dark skins” found in the FD Forum and etc found on google, nothing felt right.

      Any future plans for a complete scheme (MXML, XML & HTML).

      Good job & thanks
      Sean.

      • Pablo Bandin 9:38 PM on 17 November 2010 Permalink | Reply

        nah, this was just something i did for me mostly because i was getting eyes pain constantly, so i made this theme that’s a lot easyer on the eyes, now i can code for hours without any pain.
        White background and black letters KILLS your eyes o.0

        You can make your own themes with Flash deveop, it’s as easy as picking the right colors and exporting that so other people can use it.

    • nitras 2:28 AM on 12 April 2011 Permalink | Reply

      Thanks!
      saves me 5 years until I need glasses 😉
      I owe you!

    • Thank 10:27 AM on 17 September 2011 Permalink | Reply

      Very useful
      Thanks a lot

    • Porter 1:32 AM on 19 April 2012 Permalink | Reply

      I’ve been using this specific setup for quite some time now, and have downloaded it many times. So hard for me to find on Google sometimes, I need to throw a copy on my server haha.

    • UpickyRizek 6:06 PM on 5 October 2012 Permalink | Reply

      How can I actually install this theme. I found only how manually change color by color. There is nowhere import theme or something …

      • Pablo 9:06 PM on 5 October 2012 Permalink | Reply

        u should double click it and flash develop should auto install it….

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel