By

The Will To Win

If you want a thing bad enough
To go out and fight for it,
Work day and night for it,
Give up your time and your peace and your sleep for it,
If only desire of it
Makes you quite mad enough
Never to tire of it,
Makes you hold all other things tawdry and cheap for it,
If life seems all empty and useless without it
And all that you scheme and you dream is about it,
If gladly you’ll sweat for it,
Fret for it,
Plan for it,
Lose all your terror of God or man for it,
If you’ll simply go after that thing that you want
With all your capacity,
Strength, and sagacity,
Faith, hope, and confidence, stern pertinacity,
If neither cold poverty, famished and gaunt,
Nor sickness nor pain
Of body and brain
Can turn you away from the thing that you want,
If dogged and grim you besiege and beset it,
You’ll get it. If you want a thing bad enough
To go out and fight for it,
Work day and night for it,
Give up your time and your peace and your sleep for it,
If only desire of it
Makes you quite mad enough
Never to tire of it,
Makes you hold all other things tawdry and cheap for it,
If life seems all empty and useless without it
And all that you scheme and you dream is about it,
If gladly you’ll sweat for it,
Fret for it,
Plan for it,
Lose all your terror of God or man for it,
If you’ll simply go after that thing that you want
With all your capacity,
Strength, and sagacity,
Faith, hope, and confidence, stern pertinacity,
If neither cold poverty, famished and gaunt,
Nor sickness nor pain
Of body and brain
Can turn you away from the thing that you want,
If dogged and grim you besiege and beset it,
You’ll get it.

By

Add Contact to Maximizer Address Book with PHP

The class below is an example how to post data from a web form to the address book in Maximizer. The first thing you need to do is create a Web Form in Maximizer (Administration -> Web Forms). The PHP class below uses the fields that were created for the form (your form will have different fields). The class uses the “name” from <input> in the Maximizer Web Form for the PHP SaveToAddressBook() method. You also need to pass the “action” string from the <form> to the method. When the method is called, it won’t be displayed on the web page since its hidden by CSS, and its submitted automatically by a JavaScript button press.

The Maximizer generated Web Form isn’t complicated. If you remove all of the styling and validation code, you can easily use the <input> fields in any web application. The class below only has the essential code for posting the form.

—[ code ]———————————–

<?php

class MaxLibrary
{
// This is the “action” string in the <form> declaration.
private $_action;

// These are for the <input> fields in the form.
private $_first_name;
private $_last_name;
private $_company;
private $_phone;
private $_email;

public function __construct ($action, $first_name, $last_name, $company, $phone, $email)
{
$this->_action = $action;

$this->_first_name = $first_name;
$this->_last_name = $last_name;
$this->_company = $company;
$this->_phone = $phone;
$this->_email = $email;
}

///////////////////////////////////////////////////////////////////////////////////////////////
// Load form with data and automatically press submit button to send data to Maximizer.
// The “name” in the <input> statements in this function must match the name in Maximizer
// generated form.
///////////////////////////////////////////////////////////////////////////////////////////////

public function SaveToAddressBook ()
{
?>
<div style=’display: none;’>
<form name=’form_maximizer’ method=’post’ action='<?php echo $this->_action; ?>’>
<input name=’C0IFirstName’ type=’text’ value='<?php echo $this->_first_name; ?>’><br>
<input name=’C1ILastName’ type=’text’ value='<?php echo $this->_last_name; ?>’><br>
<input name=’C2ICompanyName’ type=’text’ value='<?php echo $this->_company; ?>’><br>
<input name=’C3IPhone1′ type=’text’ value='<?php echo $this->_phone; ?>’><br>
<input name=’U4I58850′ type=’text’ value='<?php echo $this->_email; ?>’><br>
</form>
</div>

<script type=”text/javascript”>
window.onload=function ()
{
document.forms[‘form_maximizer’].submit();
}
</script>
<?php
}
}

By

Primal Goulash

Eat goulash like your paleo ancestors did! This is a favourite comfort food from my Slovak childhood with a few modifications to make it paleo friendly.

Recipe Times

Prep Time: 30 min
Cook Time: 2 hrs
Total Time: 2.5 hrs

Ingredients

Beef Broth

  • 0.5 kg Beef Cubes
  • 12 cups Water

The Soup

  • 1 tbsp Caraway Seeds (grounded)
  • 3 Green Onions
  • 1 tbps Marjoram
  • 1/2 tsp Pepper (grounded)
  • 5 Potatoes (large)
  • 1 tbsp Sea Salt (or Himalayan Rock Salt)
  • 1 tbsp Tomato Paste

Caramelized Onions

  • 2 tbsp Coconut Oil (or lard)
  • 1/2 Garlic (whole)
  • 1 Onion (large)
  • 1 tbsp Paprika Powder

Directions

Beef Broth

  • Bring beef cubes in water to boil.
  • After boil, lower heat to simmer and cook for 2 hours to make make beef tender. Cook for for less time (i.e. 30 min) if your in a hurry.
  • Add caraway seeds, paprika, marjoram, salt, pepper, and tomato paste to soup.
  • Cut green onions to small strips and add to soup.
  • Cut potatoes to cubes and add to soup.
  • Increase temperature to medium and cook for 30 minutes.

The Soup

  • Add caraway seeds, paprika, marjoram, salt, pepper, and tomato paste to soup.
  • Cut green onions to small strips and add to soup.
  • Cut potatoes to cubes and add to soup.
  • Increase temperature to medium and cook for 30 minutes.

Caramelized Onions

  • Crush or finely dice garlic cloves.
  • In a frying pan, fry garlic in oil for 1 minute.
  • Add diced large onions with paprika and fry until caramelized for about 3 minutes.
  • Add contents to soup, and its ready to serve.

By

How To Fix An Endless Adobe Validating Software License Screen

I really enjoy errors in software that occur randomly for no reason. 🙂 One that recently occurred was an installed Adobe application (InDesign) that suddenly failed to start. Reinstalling the software didn’t help. Starting the application would run Adobe Creative Cloud instead where it tried to endlessly validate a software license.

This was fixed by deleting 4 folders:

  • C:\ProgramData\Adobe\SLstore
  • C:\Program Files (x86)\Common Files\Adobe\Adobe PCD
  • C:\Program Files (x86)\Common Files\Adobe\caps
  • C:\Users\[User Name]\AppData\Local\Adobe\OOBE

Once deleted, InDesign was able to run again after I logged into Adobe with my credentials.

By

Real Time Code Compiler from Skype

Screen sharing apps are commonly used in business meetings where people aren’t sitting next to each other in a boardroom. Another use I have for them is in technical support for software where your client shows you on their computer what bug they discovered in your software.

Skype created an interesting way to do screen sharing. They created a real time code compiler where you can edit and compile code in C, C++, C#, Java, JavaScript, Python, or Ruby. This can be used for showing your programming skills during a job interview without being there in person. The site also shows a video of the people in the session so you can see the shocked look of the interviewer when they see brilliant code like my swap function (see below).

Screenshot 2017-09-01 21.22.53

The screen sharing compiler can be found at www.skype.com/interviews. I’m guessing by the name its meant for job interviews Smile but there are other uses as well, such as students helping each other code.

This is a very useful site and it will probably wind up in the Skype application itself. It will run much better as an app than a web site when it comes to streaming audio and video.