Author Archive
Find Files From A Specific Year
by dervish on Nov.07, 2013, under Linux
Find files that were last modified in 2010:
ls -la | awk ‘{ if ( $8==2010) printf $9″\n” }’
Example:
$ ls -la | awk ‘{ if ( $8==2010) printf $9″\n” }’
./acr469.dat.19225756.processed
$ ls -la ./acr469.dat.19225756.processed
-rw-rw-r– 1 owner group 44280 Dec 31 2010 ./acr469.dat.19225756.processed
Mac Won’t Sleep
by dervish on Oct.20, 2013, under Apple
Find out what is preventing your Mac from going into sleep mode by running the pmset -g assertions command. In the example below, the PreventUserIdleSystemSleep is set to 1, which means the system is being kept from going into sleep mode. The com.apple.ppp.pptp and com.apple.ppp.l2tp are the process that are preventing the system from sleeping. Disabling the VPN server allowed the system to sleep.
echelon:~ dervish$ pmset -g assertions
10/20/13 8:32:17 AM MST
Assertion status system-wide:
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
PreventUserIdleSystemSleep 1
InternalPreventDisplaySleep 0
ExternalMedia 1
DisableLowPowerBatteryWarnings 0
UserIsActive 0
ApplePushServiceTask 0
BackgroundTask 0
Listed by owning process:
pid 36(powerd): [0x0000000900000249] 17:13:31 ExternalMedia named: “com.apple.powermanagement.externalmediamounted”
pid 67(com.apple.serve): [0x0000000100000137] 25:56:48 PreventUserIdleSystemSleep named: “com.apple.ppp.pptp”
pid 67(com.apple.serve): [0x0000000100000136] 25:56:48 PreventUserIdleSystemSleep named: “com.apple.ppp.l2tp”
pid 8690(httpd): [0x00000001000006dc] 11:54:12 PreventUserIdleSystemSleep named: “com.apple.apache.denysystemsleep”
Information Technology is…
by dervish on Oct.12, 2013, under Gazelles
Information Technology is 50% science, 25% superstition, and 25% black magic.
Internet Explorer 10 Hangs – Unable to Type Into Text Fields
by dervish on Oct.11, 2013, under Windows
Symptom:
Internet Explorer 10 Hangs – Unable to Type Into Text Fields
Possible Solutions:
Re-register dlls:
Start – All Programs -> Accessories -> Command Prompt (right click) -> Run as administrator
Run the following from the command line:
regsvr32 mshtmled.dll
regsvr32 mshtml.dll
Uninstall IE10 :
Start button > in the search box, type programs and features > Enter > left side, click View Installed Updates > scroll down to find Windows Internet Explorer 10 > right click > click Uninstall.
Restart computer.
You are back with IE9.