Wednesday, January 23, 2013

Concerts @ Webster Hall NYC

I'm going to Feed Me + Mord Fustang on Saturday Feb 2nd @ Webster Hall NYC.

Also Zedd on March 1st @ Webster Hall NYC.


Spotify Links (if you don't have spotify - Get spotify!!) I have a premium subscription and its so worth it.
Zedd – Clarity
Zedd – Shave It (501 Remix)

Morgan Page – In the Air (Mord Fustang Remix)

Don't normally post things but I will start posting more and I wanted to let everyone know that they should get tickets now!!

Sunday, January 06, 2013

Time is wrong.

Somewhere along the way, the concept of counting what time of day it is - on a 12h scale - went wrong.
The 24h scale is also equally wrong but less so.
Starting at midnight:
Midnight (the word) makes sense, but why is it 12:00. I would propose it being changed to 6:00. Since (at least around winter time) its been dark for about 6 hours... This is not a very convincing reason ... yet.
Next take a look at 6:30 AM.
Most people are waking up for work or for grade school around this time. Since it is the time that 90% of mainstream society accepts that the day is beginning, 6:30 AM should be 00:30. (6 should be 0).
Noon will no longer be 12:00 it will now be 6 since it is halfway through the day.
When it gets dark, it will no longer be some time around 5:45/6:00 PM = we can now call it 12:00.

Of course nobody will ever succeed in changing the format of which clock system billions of people use, but I can always hope.

Saturday, December 22, 2012

GSL Ads + AdBlock Plus


GSL has changed the way they show ads.
Now you will find that with AdBlock enabled, the game VOD won't load.

I have come up with a SOLUTION:
Add the custom filter: @@adap.tv/redir/client/static/as3adplayer.swf

For Google Chrome:
Go into AdBlock Options (Right click the stop sign with a hand on the address bar, and click Options)
Click the Customize tab
Next to "Manually edit your filters", click the Edit button and add the line:
@@adap.tv/redir/client/static/as3adplayer.swf

For Mozilla Firefox:
on the menu bar, click Tools, Adblock Plus, Filter Preferences.
Click the Customize tab
Make sure "Exception Rules" is checkmarked and highlighted on the left, and on the right click the "Add Filter" button.
Type in @@adap.tv/redir/client/static/as3adplayer.swf and press enter.



(Explanation: @@ means exception, and this .swf file is what is used to "play" the ads which is a pre-requisite for the VOD to load, however the ads still won't play due to the OTHER rules that are in place for the domains the ads come from.)

RANT: Honestly I feel the $109 yearly Premium subscription I paid for should include ad-free watching capability. And since I already bought my subscription for 2013, I can't just "upgrade" to the $149 for "Premium Plus" package for no ads.

Monday, January 30, 2012

Network+ Certification

Passed my 2nd certification today, Network+. w00t.  :-) And it actually was a lot harder than A+.
Cost $260 to sign up for the test and $43 for a self-study textbook :P
Now I have enough credentials to be a full fledged Network Administrator.

  • CompTIA Network+ Certified since 1/30/2012 (score 825/900)

Covering such topics (very partial list) as :
Identify the following address formats: IPv6; IPv4; MAC addressing.
Identify common IPv4 and IPv6 routing protocols.
Explain the purpose and properties of routing
Identify common physical network topologies
Categorize LAN technology types and properties
Explain common logical network topologies and their characteristics
Install, configure and differentiate between common network devices.
Explain the advanced features of a switch
Given a scenario, utilize the appropriate hardware tools.
Explain common features of a firewall
Explain methods of user authentication
Explain issues that affect device security.

Each topic above is in laymans terms but the knowledge tested was very technical, and just goes to prove my 15 years of experience and 20,000+ hours are more than sufficient.

I may write a tutorial about what the exam concentrates on, later on, from my study notes and textbook.

Friday, December 02, 2011

icacls takeown ??-?? scripting for removing localized locale directories in system32 with access denied


Windows Server 2008 has permissions locked down tight on the system32 directory.
I ran into an issue when I wanted to remove all the localized directories (AR-SA, BG-BG, CS-CZ) - I will never use them and I wanted them gone (except for EN-US). This is what I finally ended up with as a solution. It was a learning process. I realize it can be scripted in a neater way but this was the most logical for me.

dir C:\Windows\System32\??-?? /aD /b > c:\output.txt

  - Now open the output.txt file and remove EN-US so it doesnt get deleted!!!

for /f %i in (c:\output.txt) do takeown /F C:\Windows\System32\%i\* /A /R
for /f %i in (c:\output.txt) do icacls C:\Windows\System32\%i\* /grant Administrators:F /inheritance:E /T
for /f %i in (c:\output.txt) do del /S /Q /F C:\Windows\System32\%i
for /f %i in (c:\output.txt) do rmdir C:\Windows\System32\%i

        - Now do the same thing on Syswow64 (32-bit location on a 64-bit system = WoW)

for /f %i in (c:\output.txt) do takeown /F C:\Windows\Syswow64\%i\* /A /R
for /f %i in (c:\output.txt) do icacls C:\Windows\Syswow64\%i\* /grant Administrators:F /inheritance:E /T
for /f %i in (c:\output.txt) do del /S /Q /F C:\Windows\Syswow64\%i
for /f %i in (c:\output.txt) do rmdir C:\Windows\Syswow64\%i

Explanation with {my own description of whats being done inside the curly braces}

  • dir C:\Windows\System32\??-?? {list all files or directories with the locale pattern ??-?? like AR-SA} /aD {make sure only all directories are listed} /b {bare output suitable for scripting} > c:\output.txt {pipe the result into a text file}
  • Remove "EN-US" (or your particular locale that you use from output.txt because everything listed in output.txt is going to be deleted very shortly)
  • for /f {for every line in a file} %i {read the first value} in (C:\output.txt) {this is the file to read values from dont include spaces otherwise you will have to use " " inside the ( ) and throw on a "usebackq" in quotes after for /f} do {the command that follows is executed on every %i value from the file one by one}
  • takeown /F {specify a file or directory to take ownership of} C:\Windows\System32\%i\* {each localized directory that we want taken over} /A {give ownership to the administrators GROUP not "Administrator" itself} /R {Recurse subdirectories and files}
  • icacls C:\Windows\System32\%i\* {specify what directory or file you want access to} /grant Administrators:F {grant Administrators group FULL permission} /inheritance:E {enable inheritance on the directory specified} /T {recurse subdirectories and files}
  • del /S {delete all subdirectories and files} /Q {without confirmation} /F {force delete of any read-only files} C:\Windows\System32\%i {every locale dir with the value %i from the for command}
  • rmdir C:\Windows\System32\%i {remove the empty directories once done} (god i miss deltree)