Advertise with Googlier.com *.dannyg http://dannygershman.com an extension of dannyg Mon, 16 Sep 2019 13:46:14 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.3 Reading Room http://dannygershman.com/reading-room/ http://dannygershman.com/reading-room/#respond Mon, 16 Sep 2019 13:43:59 +0000 http://dannygershman.com/?p=61332269 My recommended reading list:

]]>
http://dannygershman.com/reading-room/feed/ 0
Inspirational Movies / TV shows http://dannygershman.com/inspirational-movies/ http://dannygershman.com/inspirational-movies/#respond Sun, 11 Oct 2015 19:16:56 +0000 http://www.versomas.com/?p=61332221 There are a bunch of movies/tv series that I’ve found to be very inspirational, not only as an engineer, an entrepreneur, but also as a human.

They are listed in no particular order.

  • Moneyball
  • Startup U
  • Silicon Valley
  • Entourage
  • Good Will Hunting
  • The Social Network
  • Start-UPS Silicon Valley
  • The Bazillionaire Club (although there was only one episode so far on ScFy channel, and since been cancelled)
  • Jerry MacGuire
  • Wall Street series
]]>
http://dannygershman.com/inspirational-movies/feed/ 0
Remove passphrase from PEM file http://dannygershman.com/remove-passphrase-from-pem-file/ Mon, 27 Apr 2015 20:05:31 +0000 http://www.versomas.com/?p=61332210 openssl rsa -in privateKey.pem -out newPrivateKey.pem ]]> Parallels Multihoming a CentOS Server http://dannygershman.com/parallels-multihoming-a-centos-server/ Sun, 08 Mar 2015 03:31:08 +0000 http://www.versomas.com/?p=61332207 I wanted to be able to have two NICs on a virtual machine using CentOS. I already had one so I just needed to add a 2nd one.

It was suggested to delete the cached network connections by executing:

rm /etc/udev/rules.d/70-persistent-net.rules

First I had to power down the machine. Then from the Configure window on that VM I was able to add a new Network Card.  The 2nd card is going to be set up using Host-Only connection.

Under the Parallels Preferences window I needed to make sure that DHCP was enabled for the Host-Only network.

I did my boot up.  I had to create a new configuration file under /etc/sysconfig/network-scripts.  I simply copied the existing one and just edited it.

cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1 

After I was done making the changes I restarted the network service and the new card was able to pick up and IP address

service network restart

]]>
Forced Failures http://dannygershman.com/failure-testing/ Tue, 10 Feb 2015 12:51:21 +0000 http://www.versomas.com/?p=61332201 There is a certain value to failure testing. By forcing systems to go down in a systematic way, I have been able to understand limitations in the system, as well as places where redundancy can be improved. It’s also been useful to have integration tests running during the failures.

]]>
Downloading Embedded PDF in Chrome http://dannygershman.com/downloading-embedded-pdf-in-chrome/ Tue, 11 Feb 2014 23:58:23 +0000 http://www.versomas.com/?p=61332155 My girlfriend ran into an issue yesterday with her online school. She currently has to download textbooks and they have some kind of custom authentication utilizing Adobe Acrobat Forms. Google Chrome sometime back made their own PDF plugin implementation which is turned on by default. We disabled this, so that whenever she downloaded a book, she could get proper use of them.

Yesterday she informed me of a conflicting issue. Periodically her school will send her letters which show up on a webpage in an object tag.

Rather than instruct her to keep turning this on and off which would be a major headache, I decided to write a UserScript. I installed TamperMonkey (equivalent to GreaseMonkey on FireFox).

I started writing the script (which assumes jQuery is on the page, which it was in this case), and wound up with the below. She can now leave Chrome PDF Viewer off and those embedded PDFs are now links she click to download.

]]>
Getting the kernel timing http://dannygershman.com/getting-the-kernel-timing/ http://dannygershman.com/getting-the-kernel-timing/#respond Wed, 06 Nov 2013 23:27:17 +0000 http://www.versomas.com/?p=61332136 I found this particularly useful for getting the timing of the kernel in CentOS. Important for FreeSWITCH RTP.

]]>
http://dannygershman.com/getting-the-kernel-timing/feed/ 0
Finding and Deleting a Table Lock http://dannygershman.com/finding-and-deleting-a-table-lock/ http://dannygershman.com/finding-and-deleting-a-table-lock/#respond Wed, 28 Aug 2013 20:31:26 +0000 http://www.versomas.com/?p=61332107 SELECT
OBJECT_NAME(P.object_id) AS TableName,
Resource_type,
request_session_id
FROM
sys.dm_tran_locks L
join sys.partitions P
ON L.resource_associated_entity_id = p.hobt_id
WHERE OBJECT_NAME(P.object_id) = ''

Then do

KILL [REQUEST-SESSION-ID]

]]>
http://dannygershman.com/finding-and-deleting-a-table-lock/feed/ 0
Raspberry PI with Serial Cable notes http://dannygershman.com/raspberry-pi-with-serial-cable-notes/ http://dannygershman.com/raspberry-pi-with-serial-cable-notes/#respond Sat, 04 May 2013 00:23:29 +0000 http://www.versomas.com/?p=61332096 ls /dev/tty.*

then

screen -L /dev/tty.PL2303-00001014 115200

]]>
http://dannygershman.com/raspberry-pi-with-serial-cable-notes/feed/ 0
jwPlayer default behavior for playlist over http://dannygershman.com/jwplayer-default-behavior-for-playlist-over/ http://dannygershman.com/jwplayer-default-behavior-for-playlist-over/#respond Tue, 23 Apr 2013 20:10:41 +0000 http://www.versomas.com/?p=61332092 I ran into a little difficulty today with the default behavior of the playlist in jwPlayer and the position=”over” configuration. After some simple digging into the code under PlaylistComponent.as which is in the namespace com.longtailvideo.jwplayer.view.components I found that the behavior is controlled by this snippet of code. This is for jwPlayer version 5.9.x

Screenshot_4_23_13_4_04_PM-5

]]>
http://dannygershman.com/jwplayer-default-behavior-for-playlist-over/feed/ 0