Mahi Mahi with Eggs
By Sam on February 4, 2013
Pour a bunch of lime juice on the Mahi Mahi. Add salt and pepper. A little bit of ginger. Flip it, do the same on the other side. Let it sit for 10 minutes in the fridge. Heat a pan on medium heat with coconut oil. Add the fish when its hot. While the [...]
Posted in Food | Tagged eggs, mahi mahi | Leave a response
Mahi Mahi with Peppers
By Sam on January 24, 2013
Mahi Mahi: Add salt, pepper, some garlic. Add lime juice (a good amount) and tequila. Add to pan with oil (olive or coconut). Cook about 5 minutes per side on medium-high. Peppers: Salt, Pepper, Garlic, Ginger. Add to wok with oil (olive or coconut). Cook about 5-7 minutes on high.
Posted in Food | Tagged mahi mahi | Leave a response
EZ Shrimp
By Sam on November 14, 2012
Take coconut oil (about a spoonful), and heat in a wok until it’s liquefied. Then add as much shrimp as you want. Next, add generous amounts of salt, cayenne pepper, garlic powder (or fresh garlic if you’re not lazy), and whatever else looks good (I use Kirkland Signature Organic No-Salt Seasoning). Heat on high for [...]
Posted in Food | Tagged shrimp, wok | Leave a response
Setting up a new Rackspace Cloud Server with Debian 6, Name.com, and PHP/MySQL
By Sam on December 2, 2011
Another instructional blog post as I try to figure out something. Configuring a website with Rackspace.com is much different than setting one up with a shared hosting service such as Dreamhost or GoDaddy. I could write more about this, but it’s not really productive. Anyways, here are the steps I went through: 1. Buy a domain. I [...]
Posted in Blog | Tagged databases, Debian, dependencies, Linux, php, Rackspace | Leave a response
Making dynamic SQL queries from Javascript
By Sam on June 22, 2011
Impossible? No! Just add some AJAX to your <head> section: <script type=”text/javascript”> function request(query){ if (window.XMLHttpRequest){xmlhttp=new XMLHttpRequest();} else{xmlhttp=new ActiveXObject(“Microsoft.XMLHTTP”);} if (xmlhttp.readyState==4 && xmlhttp.status==200){ //it worked. alert(xmlhttp.responseText); //this is the output of your query.php file }else{ //whatever happens when it doesn’t work alert(‘Query did not work.’); } xmlhttp.open(“GET”,”query.php?q=”+query,true); xmlhttp.send(); } </script> and create the new page [...]
Posted in Blog | Tagged AJAX, don't try this unsupervised, javascript, php, sql | 3 Responses