You are viewing [info]jagaroth's journal

The Thing's Journal
 
[Most Recent Entries] [Calendar View] [Friends]

Below are the 20 most recent journal entries recorded in The Thing's LiveJournal:

    [ << Previous 20 ]
    Friday, May 4th, 2012
    11:23 am
    Nothing new to post about since March. Life just always seems busy with nothing exciting to talk about. I'm ignoring calling people back at the moment and switched the phone off for a moment to myself. I've been making promises of getting things done and well, I've been getting home from works and dropping to sleep really early. I need to do work from home too, I am months behind on that and my contract is up for review at the end of next month so I need to find the energy. So many broken promises on my behalf, nothing new there I guess.
    Monday, March 26th, 2012
    7:36 pm
    Had barrel loads of fun at the birthday party on Saturday amongst smiling familiar faces. There was make shift mini golf challenges with pine cones and a broom stick. Spontaneous guitar playing and singing, lots of the usual eating and the traditional drinking of booze. And the constant loud murmuring of a crowd of people chatting throughout the night which I hope didn't annoy the neighbours too much as I didn't tell them I was having a party, but the music was not up too loud, it didn't need to be. Everyone gathered outside as there was more room out there than in the house so thankfully the weather was reasonably good because many resorted to sitting on the grass after a while as the night went on as I the slope of the hill is very convenient for sitting on. Most had started to clear off by around 5 and those few that eventually remained soon move inside. The few who stuck around well into the next day after a good snooze watched videos into late Sunday evening on the projector screen to which I joined in when the damn hang over died down eventually. But alas it all came to an end until next time.
    Sunday, December 11th, 2011
    12:45 am
    It's the hugest buzz ever when anyone asks if they can cover one of your songs.
    Tuesday, November 29th, 2011
    8:26 pm
    Windows file selector dialog box for batch files

    Example on how to open a standard Windblowz file selector dialog using native tools from within a bat file. It opens a file selector, and then opens the selected file in notepad.exe. It's heavily dependant on piping out it's own vbscript into a temp folder, it's %100 script kiddy friendly and written to be slotted straight into single stand alone batch file and tweaked to it's requirements...

    @Echo Off

    ::
    :: Example Windows batch script file script that opens a Windows file selector.
    :: The selected file is opened in notepad.
    ::
    :: Written by Justin Godden 2011
    ::

    SET fileselector="%TEMP%\j_fileselect.vbs"

    > "%fileselector%" ECHO option explicit
    >> "%fileselector%" ECHO Function BrowseForFile()
    >> "%fileselector%" ECHO Dim shell : Set shell = CreateObject(^"WScript.Shell^")
    >> "%fileselector%" ECHO Dim fso : Set fso = CreateObject(^"Scripting.FileSystemObject^")
    >> "%fileselector%" ECHO Dim tempFolder : Set tempFolder = fso.GetSpecialFolder(2)
    >> "%fileselector%" ECHO Dim tempName : tempName = fso.GetTempName()
    >> "%fileselector%" ECHO Dim tempFile : Set tempFile = tempFolder.CreateTextFile(tempName ^& ^".hta^")
    >> "%fileselector%" ECHO tempFile.Write _
    >> "%fileselector%" ECHO ^"^<html^>^" ^& _
    >> "%fileselector%" ECHO ^" ^<head^>^" ^& _
    >> "%fileselector%" ECHO ^" ^<title^>Browse^</title>^" ^& _
    >> "%fileselector%" ECHO ^" ^</head^>^" ^& _
    >> "%fileselector%" ECHO ^" ^<body^>^" ^& _
    >> "%fileselector%" ECHO ^" ^<input type='file' id='f'^>^" ^& _
    >> "%fileselector%" ECHO ^" ^<script type='text/javascript'^>^" ^& _
    >> "%fileselector%" ECHO ^" var f = document.getElementById('f');^" ^& _
    >> "%fileselector%" ECHO ^" f.click();^" ^& _
    >> "%fileselector%" ECHO ^" var shell = new ActiveXObject('WScript.Shell');^" ^& _
    >> "%fileselector%" ECHO ^" shell.RegWrite('HKEY_CURRENT_USER\\Volatile Environment\\MsgResp', f.value);^" ^& _
    >> "%fileselector%" ECHO ^" window.close();^" ^& _
    >> "%fileselector%" ECHO ^" ^</script^>^" ^& _
    >> "%fileselector%" ECHO ^" ^</body^>^" ^& _
    >> "%fileselector%" ECHO ^"^</html^>^"
    >> "%fileselector%" ECHO tempFile.Close
    >> "%fileselector%" ECHO shell.Run tempFolder ^& ^"\^" ^& tempName ^& ^".hta^", 1, True
    >> "%fileselector%" ECHO BrowseForFile = shell.RegRead(^"HKEY_CURRENT_USER\Volatile Environment\MsgResp^")
    >> "%fileselector%" ECHO shell.RegDelete ^"HKEY_CURRENT_USER\Volatile Environment\MsgResp^"
    >> "%fileselector%" ECHO End Function
    >> "%fileselector%" ECHO Dim testit
    >> "%fileselector%" ECHO testit = BrowseForFile
    >> "%fileselector%" ECHO WScript.StdOut.Write(testit)

    FOR /F "tokens=*" %%R IN ('cscript //NoLogo "%fileselector%"') DO SET name=%%R

    echo Opening %name% in notepad.exe
    notepad %name%

    pause

    Monday, November 21st, 2011
    8:06 pm
    Video blog - Sunday 20th November 2011 1am
    Video Blog - Sunday 20th November 2011 1am
    I have not really done propper video blogs before. Well I sorta have but never bothered actually posting them because it's too spontanious and possibly waffling crap I know i will regret later, if you don't like something you said, you have to either edit it out or do it all again. Not as easy as just retyping a line in a text blog. Especially when dealing with dodgy file formats in differant cheap cameras that do not always play nicely in different film editors and players. Thats why the picture is all screwed in this one. I could not be bothered working out how to fix it as was getting ready for work and nearly missed the bus. I intend on doing more and get better at it...
    Monday, October 31st, 2011
    6:17 am
    Another little pointless MS Windblowz batch file tutorial.

    I wrote this some time ago, but popping it here to share the link on a forum. It's basically an example of how to embed vbscript into batch files to create embeded customized DOS functions. This example just simply creates an unzip function for Windows batch files. No rocket science here obviously. Seems to be alot of people actually don't know how to do this so here is the answer. It's just as easy to write a little script to zip up a file/folder this way too. So here is an example...

    Include the script below at the start of the batch file to create the function, and then to call the function, the command is...
    cscript //B j_unzip.vbs zip_file_name_goes_here.zip

    Here is the script to add to the top...

    REM Changing working folder back to current directory for Vista & 7 compatibility
    %~d0
    CD %~dp0
    REM Folder changed

    REM This script upzip's files...

    > j_unzip.vbs ECHO '
    >> j_unzip.vbs ECHO ' UnZip a file script
    >> j_unzip.vbs ECHO '
    >> j_unzip.vbs ECHO ' By Justin Godden 2010
    >> j_unzip.vbs ECHO '
    >> j_unzip.vbs ECHO ' It's a mess, I know!!!
    >> j_unzip.vbs ECHO '
    >> j_unzip.vbs ECHO.
    >> j_unzip.vbs ECHO ' Dim ArgObj, var1, var2
    >> j_unzip.vbs ECHO Set ArgObj = WScript.Arguments
    >> j_unzip.vbs ECHO.
    >> j_unzip.vbs ECHO If (Wscript.Arguments.Count ^> 0) Then
    >> j_unzip.vbs ECHO. var1 = ArgObj(0)
    >> j_unzip.vbs ECHO Else
    >> j_unzip.vbs ECHO. var1 = ""
    >> j_unzip.vbs ECHO End if
    >> j_unzip.vbs ECHO.
    >> j_unzip.vbs ECHO If var1 = "" then
    >> j_unzip.vbs ECHO. strFileZIP = "example.zip"
    >> j_unzip.vbs ECHO Else
    >> j_unzip.vbs ECHO. strFileZIP = var1
    >> j_unzip.vbs ECHO End if
    >> j_unzip.vbs ECHO.
    >> j_unzip.vbs ECHO 'The location of the zip file.
    >> j_unzip.vbs ECHO REM Set WshShell = CreateObject("Wscript.Shell")
    >> j_unzip.vbs ECHO REM CurDir = WshShell.ExpandEnvironmentStrings("%%cd%%")
    >> j_unzip.vbs ECHO Dim sCurPath
    >> j_unzip.vbs ECHO sCurPath = CreateObject("Scripting.FileSystemObject").GetAbsolutePathName(".")
    >> j_unzip.vbs ECHO strZipFile = sCurPath ^& "\" ^& strFileZIP
    >> j_unzip.vbs ECHO 'The folder the contents should be extracted to.
    >> j_unzip.vbs ECHO outFolder = sCurPath ^& "\"
    >> j_unzip.vbs ECHO.
    >> j_unzip.vbs ECHO. WScript.Echo ( "Extracting file " ^& strFileZIP)
    >> j_unzip.vbs ECHO.
    >> j_unzip.vbs ECHO Set objShell = CreateObject( "Shell.Application" )
    >> j_unzip.vbs ECHO Set objSource = objShell.NameSpace(strZipFile).Items()
    >> j_unzip.vbs ECHO Set objTarget = objShell.NameSpace(outFolder)
    >> j_unzip.vbs ECHO intOptions = 256
    >> j_unzip.vbs ECHO objTarget.CopyHere objSource, intOptions
    >> j_unzip.vbs ECHO.
    >> j_unzip.vbs ECHO. WScrip.Echo ( "Extracted." )
    >> j_unzip.vbs ECHO.
    >> j_unzip.vbs ECHO ' This bit is for testing purposes
    >> j_unzip.vbs ECHO REM Dim MyVar
    >> j_unzip.vbs ECHO REM MyVar = MsgBox ( strZipFile, 65, "MsgBox Example"
    Monday, September 5th, 2011
    10:51 pm
    I have a bit to get done over the next couple of days. Band rehearsal on Wednesday and I have had absolutely no practice since last gig near start of year.

    I still need to get more advertising out for Fringe Fest event - Enzyme Tower II

    I'm ment to be DJ'ing and Friday night and have no new tracks to play at all, let alone know what to play out of what I have.

    I must oppoligize for an earlier post. Even though there are far greater issues at stake. In my vanity I was (and still am) getting very obsessed with my chest size just like a little girl hitting puberty. Sorta expected I guess.
    5:12 am
    Enzyme Tower II @ Pony 6th Oct
    Full details available at... http://enzymeevent.com/



    Featuring live on stage...

    Cold Divide - http://colddivide.com/
    Clouds above Chaos - http://www.myspace.com/cloudsabovechaos
    BasticH - www.myspace.com/bastichmusic
    minorarc - http://www.minorarc.com/
    Richard Pilkington - r.c.pilkingtongmail.com

    Plus local underground radio personality...
    DJ Infectious Unease - http://www.infectiousuneaseradio.com/

    DEMUS and Melbourne Fringe Festival 2011 brings you a glimps into the complex secret world of a special breed of musician. Underground musicians are at work weaving audio masterpieces far away from the boundaries of compromise. Beyond the constraints of the mainstream music industry, these artists have chosen to take audio to new rarely heard landscapes, and oppo...rtunities to hear their ground breaking art are few and far between.

    Enzyme Tower II is a unique open day, a friendly, down to earth, and real underground music world. Designed to uncover a diverse range of talent, the event will feature half a dozen groups of musicians from around Australia, showcasing pieces which could be described as being Industrial, Dark Ambient, Avante Garde, Noise, Experimental, Electronica and more.

    Proudly brought to you in conjunction with Melbourne Fringe Festival 2011

    Check out the DEMUS "Dark Underground Music" official community website and forums at http://www.demusnetwork.com/

    $10 at the door. Ticket bookings also available through Melbourne Fringe http://www.melbournefringe.com.au/fringe-festival/ticketing-information

    Facebook event page... http://www.facebook.com/#!/event.php?eid=141117055963655
    Monday, August 29th, 2011
    10:03 pm
    I'm starting to play around with getting wxWidgets to work with CODE::BLOCKS with the wxSmith plugin on a Windblows 7 & XP box. It really does rock when you can actually get it to work. It does my head in setting it up every time so far. Never ever ever ever works out of the box and keeps you making wild guesses at the required configuration. But once you get it going, it so far seems well worth the torment and effort if you persist.
    Sunday, August 21st, 2011
    10:25 pm
    I should be studying, but have so far been experimenting with mixing up strange anti-wrinkle concoctions instead. I've ended up with so much oils seeping into my eyes it's hard to see the screen to do pracs on my VM's.
    Tuesday, August 2nd, 2011
    3:56 pm
    http://www.facebook.com/event.php?eid=121556884603683

    Opening Night for Dimensionally Challenged-
    Works by Stezzo Gray and Mona Elias-
    Thursday August 4th, 5pm-7pm at
    Stables Art Gallery.
    Exhibition Dates- Thursday August 4th - August 19th.
    Gallery Hours- Monday-Thursday 10am-5pm,
    Friday 10am-12 noon and 2-5pm.

    04 August ยท 17:00 - 19:00
    Stables Art Gallery
    54 Burke Road, East Malvern
    Melbourne, Victoria, Australia
    Wednesday, July 20th, 2011
    11:43 pm
    oh Damn Small Linux, how I need you so. Long is my neglect of you in between boots. Yet you have saved me from a fate worse than death many times over and over and over again. Hard drive data now in recovery. Just let HD head bang away on and off until it read disk on make shift PC booting DSL from a CD drive. Pay day soon, time to invest in more hd's and another external backup drive.
    Tuesday, June 28th, 2011
    9:56 pm
    I know people have been making allot use of this script since I wrote it. It's a Kaspersky software specific support tool which I whipped up which helps end users skip the incompatable product check during the install without having to go through the whole rigmarole of hunting for where the installer had dumped the setup files. My site of support scripts was hacked recently so I have shifted the files elsewhere. I figured that I will post a link here to make it that little easier for folk to find. The current link to the 'skipproductcheck' script is now here... http://sizterthing.com/misc/kaspbats/skipproductcheck/SKIPPRODUCTCHECK_v3.0.bat
    Thursday, June 16th, 2011
    9:02 am
    music video
    I just have to post this somewhere. It's a music video to a remix of one of my old tunes. It's freaken awesome. And yes, there is a stunt double playing me. I am not to be seen in the video. It's on youtube but I made it unlisted so will not come up in a search...



    Current Mood: artistic
    Tuesday, March 8th, 2011
    12:44 am
    admin access prompt for batch files
    This script was written and tested for use under Windows 7 Home Basic, Windows 7 Enterprise and Windows Server 2008. It should work for Windows Vista too but I need feedback. It is written to not ask for permission under Windows XP but can be made to do so. If it does not work for you then I need to know what operating system you are using and maybe what service packs you have installed. There is a pre-made version of the test batch file here... http://sizterthing.com/misc/kaspbats/time_sync.bat

    Take note that if you try to run the script directly from a web browser then the script will be blocked by the browser for security reasons. Probably for a good thing. The test file needs to be saved to a folder, You then need to open the folder and double click on it. I think I know a way around that but am yet to try it.

    It actually took me ages to work out this otherwise simple concept out. I had been trying to get Windows BAT files to prompt for admin access under Windows 7 without adjusting settings or creating modified shortcuts. I could not find any info anywhere, just lots of forum posts stating that it could not be done or you needed to create a password first. I finally came up with a script to add to the top of batch files which simply prompts the user for permission to continue with admin access.

    The following example evokes the cliche dialogue box asking the user permission to continue and then resyncs the time with online time servers which requires admin access on Vista and Win7. Idiot proofing simple batch scripts for users who have no idea what you are talking about when you ask them to "click the Right mouse button on the downloaded file and select 'Run as Admin'"...

    @ECHO OFF

    REM Changing working folder back to current directory
    %~d0
    CD %~dp0
    REM Folder changed

    REM Check first if Windows XP
    for /f "tokens=3*" %%i IN ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName ^| Find "ProductName"') DO set vers=%%i %%j
    echo %vers% | find "XP" > nul
    if %ERRORLEVEL% == 0 goto ver_xp

    REM Ask for admin access
    if exist "admincheckOK.txt" goto adminOK1
    del /Q admincheckOK.vbs
    ECHO.
    ECHO. Please wait...
    echo.Set objShell = CreateObject("Shell.Application") > admincheckOK.vbs
    echo.Set FSO = CreateObject("Scripting.FileSystemObject") >> admincheckOK.vbs
    echo.strPath = FSO.GetParentFolderName (WScript.ScriptFullName) >> admincheckOK.vbs
    echo.If FSO.FileExists(%0) Then >> admincheckOK.vbs
    echo. Dim oShell >> admincheckOK.vbs
    echo. Set oShell = WScript.CreateObject ("WScript.Shell") >> admincheckOK.vbs
    echo. oShell.run "cmd.exe /c echo admincheckOK > admincheckOK.txt" >> admincheckOK.vbs
    echo. Set oShell = Nothing >> admincheckOK.vbs
    echo. objShell.ShellExecute "cmd.exe", " /c " ^& %0 ^& " ", "", "runas", 1 >> admincheckOK.vbs
    echo.Else >> admincheckOK.vbs
    echo. MsgBox "Script file not found" >> admincheckOK.vbs
    echo.End If >> admincheckOK.vbs
    cscript //B admincheckOK.vbs
    goto timeend
    :adminOK1
    del /Q admincheckOK.txt
    del /Q admincheckOK.vbs
    :ver_xp
    REM Admin Access allowed

    net stop w32time

    echo. Windows Registry Editor Version 5.00 > w32timeMAX.reg
    echo. >> w32timeMAX.reg
    echo. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config] >> w32timeMAX.reg
    echo. "MaxNegPhaseCorrection"=dword:ffffffff >> w32timeMAX.reg
    echo. "MaxPosPhaseCorrection"=dword:ffffffff >> w32timeMAX.reg
    echo. >> w32timeMAX.reg
    regedit /s w32timeMAX.reg

    net start w32time

    w32tm /resync /rediscover
    w32tm /resync /rediscover
    w32tm /resync /rediscover
    w32tm /resync /rediscover
    w32tm /resync /rediscover

    net stop w32time

    echo. Windows Registry Editor Version 5.00 >> w32timeDEFAULT.reg
    echo. >> w32timeDEFAULT.reg
    echo. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config] >> w32timeDEFAULT.reg
    echo. "MaxNegPhaseCorrection"=dword:0000d2f0 >> w32timeDEFAULT.reg
    echo. "MaxPosPhaseCorrection"=dword:0000d2f0 >> w32timeDEFAULT.reg
    echo. >> w32timeDEFAULT.reg
    regedit /s w32timeDEFAULT.reg

    echo.
    echo.
    echo. TIME HAS BEEN UPDATED.
    echo.
    del /Q w32timeMAX.reg
    del /Q w32timeDEFAULT.reg
    echo.
    echo. !!!YOU MAY SHUT THIS WINDOW NOW!!!
    echo.
    pause

    REM Following statement required if Admin access denied
    :timeend
    del /Q admincheckOK.vbs
    Thursday, October 14th, 2010
    4:27 pm
    Old sci-fi poem
    While sorting out crap to throw out before moving house, I stumbled across something I wrote that was sorta inspired by War of the Worlds but not fully. I have no idea as to how long ago I wrote it...

    We fear the barren wasteland,
    Barely a sign left of the world we call our home,
    A planet we struggled to defend,
    Only to retreat below the soil,
    For a new species now dominates the land.

    We have word of our people,
    That have been given units to survive upon the lands,
    becoming slaves to the oppressors.
    Yet we hide in bunkers below the soil,
    Many designed to be lived in for many years,
    With but only radio contact to other human colonies.
    Many housed in such bunkers are not so fortunate,
    Many have resorted to devouring each other to survive,
    Even the long term bunkers will eventually end up the same.

    Many are raided by the oppressors,
    Who came from a world so many stars away.
    We are now the vermin hidden below the soil,
    They see us as a plague to be controlled and isolated.

    This is the result of a war begun,
    Through the fear of our leaders with such power.
    It was us humans that fired the first blow,
    We will never know if all would be much different,
    If that first nuke was never launched.

    It was us who sent out the welcoming message to others worlds,
    It was them who came all that way with no hope of return.
    It seems we betrayed the trust we offered, that lead to the slaughter,
    That we may never fully know.

    All hope now gone,
    No world to call our own.
    All dreams once held,
    Shattered by our fall.
    Monday, August 16th, 2010
    9:52 pm
    some new song lyrics I wrote just then. Dunno yet if it's crap.
    (verse 1)
    From beyond the depths of space,
    past gods again arrive.
    Forgotten beings of time ago,
    return to reclaim their prize.

    Our existence an experiment,
    evolution thats devised,
    A species engaged in many wars,
    that study lifeforms which arise.

    (build to chorus instrumental but no chorus)

    (verse 2)
    Isolated from their crossfire,
    we bicker amongst ourselves.
    Lab developed species survival,
    mirror evolution of themselves.

    The home they once called Earth,
    now a barren waste abandoned.
    Their colonies now scattered about,
    fighting for new salvation.

    (build to chorus instrumental)

    (chorus)
    shaprikhan
    shakrikan

    da shaprikhan

    (verse 3)
    Their world of many dialects,
    long evolved to unite.
    Communication, their key to power.
    War machines combined for fight.

    They outlawed nuclear weaponry,
    but only amongst themselves.
    Their technology beyond diabolical.
    Atomic experiments still prevailed.

    (build to chorus lyrical)
    Their breeds evolved into one.
    Our lives a product they began.
    They were once known as human.
    Now fear knows them as...

    (chorus)
    shaprikhan
    shakrikan

    da shaprikhan
    Saturday, April 3rd, 2010
    8:49 pm
    I wanna sell a ford laser. I can't afford to keep it. If anyone wants to make me an offer then friends take priority. Whatever you think it's worth, add another $650 for rego because I just paid that with my credit card. Otherwise I'm handing the plates in for my cash back. I wanna ditch it & pay the debt back. I'm selling the car because I don't earn enough to keep it. I'm not planning on doing a road worthy, it's hard enough trying to buy food without piss farting around with that crap. I don't want to sell my car, but I do want it to go to a good home.
    5:49 pm
    I think I got my next geeky song lyrics:-)
    I have been writing sh*t loads of crap lyrics while trying to write another geek fueled tune.
    I hit a block late last year just when I was on a roll (typical).
    I think I'm happy with these lyrics. It's called 'Blacklist'.

    Simply, dark & nerdy geek rhyming poetry...

    Entry unrepairable,
    updates still prevail.
    Connection non-reliable,
    record retrieval fails.

    Data header misread,
    file-size remains veiled.
    Removal of obstruction,
    data-flow still derailed.

    [chorus]
    Connection disrupted.
    Blacklist Corruption.

    Rubbish in, rubbish out,
    unanticipated doubt.
    Reset the database,
    the only recourse out.

    Organics infiltrated,
    cybernetics fail.
    Neural-paths severed,
    life support curtailed.

    [chorus]
    Connection disrupted.
    Blacklist Corruption.

    Analyze, ostracize,
    reverse engineer.
    Scan logs non-reliable,
    infection perseveres.

    Reception nowhere near,
    perception never clear.
    Output reflects input,
    exception error entails.

    [chorus]
    Connection, disrupted.
    Blacklist Corruption.
    Hung redundancy.
    Species reduction.
    Sunday, March 7th, 2010
    8:56 pm
    AAARRRGGGHHH!!!
    It's doing my head in. It's probably such a simple typo.
    I wanted to use vbscript for something (purely for compatability reasons).
    I can't get that crappy script language to view the correct file size on a remote http server.
    'Variable Variables' it claims, Pigs Arse!
    It still sais a 2Kb file is 4Kb & a 74Mb file is only 232bytes.

    I even got to the point of...
    GIVE_ME_THE_FUCKING_FILESIZE = RETARDED_LOOKING_FILE_OBJECT.getResponseHeader("Content-length")

    I've tried endless combinations using both lenB & Clng. Nothing works.
[ << Previous 20 ]
About LiveJournal.com