Galaxy Nexus won’t charge

All of a sudden my galaxy nexus phone won’t charge. I recently flashed a new ROM (AOKP 4.12) which I thought might be the problem. Tried different cables, tried pulling the battery, tried charging from the PC – none worked. Then i remembered that the micro usb charging port is 180 degrees different on my nexus tablet vs nexus phone and I sometimes have difficulty reinserting the charging cable when I swap between the 2 devices. I read a useful post here #15 and bent the prong inside the charging port upwards a little and it works again!

Roast Potatoes

I’m in charge of cooking Sunday lunch. I’ve cooked the roast beef with HP sauce and wholegrain mustard baste and am looking for the perfect roast potato recipe.

Today i’m trying the Delia method – I hope it works out well….

Red wine

I haven’t imbibed much red wine in the last few years (NZ Sauvignon Blanc is to blame for that) but have managed to find a spectacularly nice red from virgin wines – Black Pig. Massive flavour and very smooth it is one of my all-time favourites

msconfig

Msconfig is a useful built in tool in windows that you can use to control which 3rd party applications load in at startup. Trimming these can significantly speed up the time it takes to boot up into windows to the point you can start actually doing stuff.

Start>run>msconfig

Alternatively you can use the neat little tool startupcpl from mlin.net

If you need to check if you should disable something or not there is ~27000 item searchable database here

ECG lead reversal

I recently had a patient sent from the GP surgery with a letter stating ‘widespread t-wave changes ? MI’. I looked at the ECG for a few seconds then realised what was wrong – limb lead reversal. Here is an example (not my patient) of left/right lead swappage There are other ECGs to see at ECG Pedia which show other combinations of lead reversal. Remember to look at the precordial leads too – if the QRS complexes get smaller as you go towards v6, positive QRS in aVR and negative QRS in aVL you could have bagged yourself an ECG in a dextrocardic person 🙂

YAMJ cmd

YAMJ is a great program for presenting your media when streaming to your TV. I have setup another little batch file to rescan my media libraries after i have added new content so it can scrape the fanart and movie/tv info for the episodes/films. I can run this script remotely as described earlier

I tweaked the standard My_YAMJ.cmd to scan more than 1 library at a time, even if they are stored on different drives – see the syntax below

@Echo OFF
C:
CD \YAMJ
CALL moviejukebox My_Library.xml -o “G:\ServerFolders\Videos”
CALL moviejukebox My_LibraryTV.xml -o “F:\ServerFolders\Recorded TV”
CALL moviejukebox My_LibraryKIDSmovies.xml -o “G:\ServerFolders\kidsmovies”
exit

oops – forgot to include the syntax for .xml files above – i’ve bolded the related lines

<!– Library file generated by Omertron’s GUI Config –>
<!– YAMJ GUI Config v0.51 –>
<!– http://mediaplayersite.com/YAMJ_GUI_Config –>

<libraries>

<library>
<path>F:\ServerFolders\Recorded TV</path>
<playerpath>file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/vail tv/</playerpath>
<exclude name=”sample,tmp/,temp/,RECYCLER/,RECYCLE.BIN/”/>
<description></description>
<prebuf></prebuf>
<scrapeLibrary>true</scrapeLibrary>
</library>

</libraries>

it is a bit fiddly to get the paths correct, but is worth persevering 🙂

Running a command on a remote machine

Sounds simple – I want to run a command script on a remote machine on my home network to update my media libraries. Previously I had logged in via remote desktop Turned out to be slightly more complicated….

I needed PsExec from the useful set of Sysinternal tools. You run it from within its folder or  place the psexec.exe file in the “%windir%” directory will allow you to call it straight from the command prompt. I bodged together a little script that I run on my local machine to execute the cmd on the remote machine – more about YAMJ later…

In the following script psexec is in the folder C:\pstools on my local PC and the cmd script is in C:\YAMJ on the remote PC, and vail is the network name of my home server (open notepad, copy it in and adjust for your own paths/username/password and save it as a .bat file)

@Echo off
c:
cd\
cd c:\pstools
psexec \\vail -u USERNAME -p PASSWORD C:\YAMJ\My_YAMJ_2libraries_combined.cmd
echo Update Complete
pause
exit

The quirky thing about this is both local and remote machines are running Windows 7 but the batch file only works when I ‘Run as Administrator’ it locally. I’m sure I could add code into to run it at an elevated level automagically, but haven’t worked that out yet.

/update – it gets stranger – I need to shift-rt_click on the shortcut and ‘run as’ entering the admin credentials i use on the remote machine and it works, using the ‘run as admiinistrator’ leads to the ‘access denied’ message. The latter used to work, not sure why it stopped….

What the batch file does is update my TV and Film library on a remote machine which uses YAMJ as a frontend.

 

 

Asterixis / gcs3.co.uk

Featured

Derived from the Greek a, “not” and stērixis, “fixed position”

Intermittent flapping tremor seen in encephalopathy – classically hepatic, but also in cases of carbon dioxide retention. It is not related to the marvellously entertaining creation of Goscinny & Uderzo 🙂 (RIP Albert Uderzo March 2020)

gcs3.co.uk is my Meducation website for Antrim ED