This Garbage Post Belongs on Facebook

0

I was dead-set on making a sandwich for dinner tonight, but ending up burning the last two pieces of bread while toasting them because I was engrossed by a video about a salt mine and lost track of time. The resulting carbon wafers went into the trash.
All of the sandwich ingredients were already laid out on the cutting board, and I was sure as fuck not going to NOT eat a sandwich, so those ingredients all found their way into a bowl and were mixed with mayonnaise. In most countries, meat, cheese, and a bit of lettuce mixed with mayonnaise would be considered gross. In America, it is known as a “salad”.
Before you pretend to be disgusted, think back to the last time you ate a macaroni “salad”. My “salad” at least had lettuce. Also it was fantastic and I made seconds but added mustard and tomato to the second one.

Short answer: Safety

Why Does This Javascript Run In Http But Not In Https?

0

You’ve got yourself a situation where your Javascript code is fine in http, but whenever you try to run it under https, browsers are blocking it for being unsafe or malicious? Well, before you go blaming a minority for causing this problem, go ahead and blame yourself, then a browser, and then yourself. In the order of blame, here’s why:

Short answer: Safety

Short answer: Safety

  • All of your code should work perfectly the first time. Your code reflects you as a person.
  • Browsers are trying to keep you safe, but they are kind of retarded and take a shotgun approach to your safety.
  • You should have seen this coming. Bad things happen when you do not accept Christ as your savior.

What’s the issue? It could be a variety of things, but….and here’s the part that you are going to skip to and read before closing this shitty site and forgetting about it forever….

You are probably including a Javascript file with http when you should be using https.

In all likelihood, you are linking to a version of jQuery hosted by Google using http. Switch that piece of code to https. That’s right, strike it down with all of your hatred and your journey towards the error free code will be complete.

In case you are like me and ignore everything on a website until you see code, here’s some code:

<!--no!-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
 
<!--yes!-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
kim_has_the_clap

North Korea TV

0

kim_has_the_clapMy lovely fascination with North Korea has been dwindling lately. Every news article follows the same pattern of addressing a current situation, reminding Americans that North Korea is a nuclear state, including the term “bellicose rhetoric”, and generally closing with “North Korea and South Korea are still technical at war, as hostilities only ended in an armistice”.
CNN is the only news outlet which has doubled-down on North Korea, and still reports on every one of their actions, but their articles are nothing more than rehashes of the pattern mentioned in the previous paragraph. For example;

North Korea condemns American joint military operations with the South. North Korea tested their 3rd nuclear weapon in February, amid high tensions in the region. Senior American officials dismissed the condemnations as “bellicose rhetoric”. North Korea has yet to return to the negotiations table, which worries many analysts as the Korean War ended in an armistice, not a peace treaty.

Same ol’ pattern with nothing new to the situation. The comment sections will always bring up how North Korean artillery can/cannot reach Seoul and how America is/isn’t at risk of a No-Dong missile. Someone brings up human rights issues, and some armchair patriot will make a quip about blowing up their country.

Much how most nations have economies dependent on oil, North Korea is dependent on attention. It is a 13 year old girl – emotionally fragile, mentally unstable, and unable to function unless someone somewhere is looking at it. They need attention, but rather than inviting some more Dennis Rodman’s to the country, or claiming to have invented hamburgers, they fall back on methods that were effective in the past. These methods of either blowing something up or threatening to blow something up have yielded zero results

The world’s soap opera nation has jumped the shark and is now faced with cancellation unless they can boost their ratings. So here’s what they need to do; stream their state-run media and charge people to watch it.
They get the delicious attention they crave, CNN gets their fresh talking points, everybody has a laugh, and North Korea pulls some money to spend on buying food for the populus (Just kidding. We all know it’s champagne money for the ruling elite).
After closing down joint ventures with the South, and pissing all over the hospitality of Chinese investors by seizing everything and kicking them out of the country, they really need to do something different, and NKTV is exactly that.

North Korea and South Korea are still technically at war, as no formal peace treaty has been signed.

Show Databases, Tables and Columns in PostgreSQL

0

Man….why is it that every time I stop using PostgreSQL for more than a month I immediately forget how to list tables and columns?
Here’s a listing for posterity.

Show Databases

MySQL:

SHOW DATABASES;

PostgreSQL

\l

Show Tables

MySQL:

SHOW TABLES;

PostgreSQL

\d

Show Columns

MySQL:

SHOW COLUMNS;

PostgreSQL

\d+ tablename

Show Yourself Out (exit)

MySQL:

exit

PostgreSQL

\q
Go to Top