BSW.Blog

hooray , My blog lunched!!!!!!!!!!!!!!!!!!!

Babak
#Blog #HTML #CSS #Jquery
1/27/2014 2:51:55 PM
Write Comment
  • I miss you Babak, what are you doing? Happy to see your weblog!

    10/21/2015 8:06:31 AM

    (developerr.blogfa.com ) Vahid


  • Extract CSS Class Names From Multiple Files Using Regular Expression in Powershell.

    PS C:\> cat *.css| %{[System.Text.RegularExpressions.Regex]::Matches($_,"[^\d:](\.[\w-]{1,})[\ \{:\r\n\[]")} |%{$_.Groups[1].value} |sort -Unique
    

    Now Upgraded Version

    PS C:\css> cat *.css| %{[System.Text.RegularExpressions.Regex]::Matches($_,"(\.[^\d ][\w-]{1,})[ \r\n\t,:\{]*")} |%{$_.Groups[1].value} |sort -Unique
    

    and Again Upgraded Version

    PS C:\css> cat *.css| %{[System.Text.RegularExpressions.Regex]::Matches($_,"(?:[^\w])\.(?<g>[^\d/ ][\w-]{1,})|^\.(?<g>[^\d/ ][\w-]{1,})")} |%{$_.Groups[1].value} |sort -Unique
    

    Babak
    #CSS #Powershell #Multiple #File #Class #CSS3 #Regex #Regular #Regexp #Regular Expression
    5/15/2014 5:29:49 PM
    Write Comment

    Play Conway's Game of Life At http://babak.pw.

    There Are Simple Rules Running In Simple 2d universe and create awesome cultures.

    Rules Are :

    1. Any live cell with fewer than two live neighbours dies, as if caused by under-population.
    2. Any live cell with two or three live neighbours lives on to the next generation.
    3. Any live cell with more than three live neighbours dies, as if by overcrowding.
    4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

    More Info: http://en.wikipedia.org/wiki/Conway's_Game_of_Life

    You can Start the world using texts numbers and everything else , also there is ability to share your state on twitter.

    http://t.co/JNZ7YDMkor

    http://babak.pw/GOL.aspx


    Babak
    #CSS #Jquery #CSS3 #conway #game #life #game of life #conway game of life #culture #grow #universe #2d #share #twitter #Online #free #save #state
    5/16/2014 12:07:51 PM
    Write Comment