A tech worker who was recently laid off explained how staying focused and consistent helped him earn a 50% salary boost.