Nerd Business

21
Dec
2017

EJS Element (v1.0 npm release)

EJS is the easiest templating language to use in JavaScript... cause it is JavaScript.

Mustache. Handlebars. Jade, et all - are interesting, but not JavaScript. I just want to use JavaScript - not learn another syntax for doing the same things I already know how to do with JavaScript.

The native EJS library is all you need to get going. Here's a friendly example:


  var ejs = require('ejs'),
      badThings = ['crack', 'cocaine', 'heroin'],
      template = `<h1>bad things:</h1>
        <ul>
          <? badThings.forEach(function(thing) { ?>
            <li class="red"><?= thing ?></li>
          <? }) ?>
        </ul>`, 
      myNewHTML = ejs.render(template, {badThings: badThings});
    

This renders to a string you can then use to populate an (empty) HTML element in your DOM like so:


  
  document.getElementByID('badthings').innerHTML = myNewHTML
  
    

bad things:

  • crack
  • cocaine
  • heroin

'Not bad' but personally I don't want my JS files cluttered up with HTML like that.

Read More

14
Dec
2017

TRY AND CENSOR ME ASSHOLES

ASSHOLES = those who seek to undermine the potential of some guy's quest for business success for their own selfish reasons (greed, power, control and/or fear)

YOU = someone who would like to see some guy acheive business success (and will take note of the following communication mediums to keep a pusle on the quest)

Blog ... nerdbusiness.com/blog

Twitter ... @nerdbusiness

Twitter alts ... gab.ai/nerdbusiness, wrongthink.net/derrick

Github ... github.com/drschwabe

YouTube ... youtube.com/UCq84...

BTC Emergency fund ... 1F8VWxD5njxxa2ZJ6q7iQ4AUppEUtdbdXy

Email ... admin@nerdbusiness.com

Will update this list if/when I get setup on more alts and better decentralized mediums.

If my blog should go down, you can recover this page at the following URL:

http://archive.is/1x0j9

I'm no Eric Dubay but his recent YouTube termination (among other free speaking people who've recently been censored) just hammers home the point that when you gain an audience & speak about 'unspeakable things' you will be targetted with censorship and increasingly vile attacks as you get closer to the den of the snakes.

8
Dec
2017

The Biggest Fraud Ever Inflicted Upon Mankind (rant)

Look fam, my first YouTube rant!

23
Nov
2017

Big Brother & Twitter Accelerate Self-Demise (via censorship and overreach)

Censorship is evidence of a dying system trying to protect itself - giving inspiration to those needed to deliver the final blow.

Yet there comes a point when a dying man can no longer fight - no matter how much wealth or power he had previously accumulated.

With every wasted breath, an acceleration to the ultimate fate.

So too then will Twitter (in partnership with big brother) accelerate self-demise as they increase efforts to clamp down on conservatives, libertarians & 'right wingers' like @LauraLoomer, @RogerStoneJr, and @mitchellvii. The increasing number of suspensions, censored tweets, manipulated numbers coming as no surprise in light of their newly announced 1984 policy to review users' behavior both online and offline.

Read More

10
Nov
2017

Dangerous words, but say them anyway

The following list of words and statements are dangerous not to me: but to the establishment asshats whom seek to hide, distort, and confuse the masses such that people may never know (or can escape) the reality for which they find themselves (exploited) in.

It is also therefore a litmus test that I am not a fucking shill and/or intel deep state agent - since it is a given those working within the 'human reality distortion & exploitation system' would not say these things as they contradict & oppose the goals of said system; some of these very words of which expose the operations thereof.

Read More

19
Oct
2017

Expose the World's Biggest Lie

It should be made known - and no better person to deliver the message than Eric (not Derrick).

Eric's red pill, a culmination of videos, interviews, books & research, has forced this to tipping point.

Just so happens to be a perfect storm too: while IT & social media enable independents like Eric to reach the masses, hardware tech allows amateur rocketeers and ballooners alike to reach the highest altitudes known (and record for the world to see).

Re-lit with fuel of the modern information age - this millenia old debate is now the over-arching issue of today.

As such, we are at an incredible point in world history; specifically in the timeline of getting to the heart of the matter; to answer the epic question: what is the shape of our world?

Turns out, after rising up above the cloud layer. The truth becomes clear.

And with that, the implications also become clear.

Read More

19
Sep
2016

Clinton Super Predators

It's no secret there is a long list of tragic deaths with close ties to the Clintons. This list includes Vince Foster who apparently shot himself in the neck and head, Mary Caitrin Mahoney gunned down at a DC Starbucks, and Walter Scheib found in a river.

Some might reasonably speculate by extending the list to include people whom were not so close but who posed as potential enemies to this very election campaign now underway: Wikileaks lawyer John Jones who was hit by a train in April and Seth Rich of the DNC (suspected source of the DNC leaks) who was shot in his car in July. And others too.

To be fair, the Clintons nor their personnel have ever been convicted of murder - but at as Hillary would say, "at this point, what difference does it make?".

Given the eyebrow raising body count, their immense wealth, their friends at the FBI & DOJ and the blatant influence over American mainstream media - it would seem prudent to at least exercise caution if you are someone who may be perceived as a key enemy to the Clintons on their way to a 2nd US presidency.

Which brings me to the point of this article. I am rather concerned about the safety of one such person. Her name is Helena Kennedy. She is another member of Julian Assange's legal team, based in London.

The train incident involving her now deceased associate John Jones is surely warning enough to be on guard. But as a recently leaked document shows, the reason for alarm is now more significant and much more personal.

Read More

27
Jul
2016

Ethereum Hard Fork, Hard Lesson

Ethereum is a big idea in motion: and is illustrating just how uncontrollable & unpredictable such a big idea can be. From breaking crowdfunding records, to a multi-million dollar heist, to a hard fork that and subsequent conflict in the community - the entertainment is far from over. The more interesting development is happening right now as the market decides what to do next.

With the original chain rising from the dead it is clear to me that there is a secondary dimension of the fork process the pro forkers and Ethereum foundation developers did not anticipate. And actually is a good lesson in how not to fork a cryptocurrency; as well as serving as a great example of the power of the will of the market.

Read More

18
Apr
2015

Demo Driven Development

An examples folder is commonly included in source code repositories. You may have seen them. They typically show a handful of use-cases for the code so you can see how it works and how to use it.

A library or a framework will often include these kind of example folders. But how about for your application?

I'd like to suggest a technique which expands upon this familiar examples concept, yet is used in the context of building a single application, and which boasts some of the key advantages you get from another familiar development strategy...

Read More

< Older articles