Skip to content

Instantly share code, notes, and snippets.

View anabelle's full-sized avatar

Anabelle Handdoek anabelle

View GitHub Profile
var cronJob = require('cron').CronJob;
module.exports.debug = function(socketId,start){
new cronJob('*/30 * * * * *', function(){
sails.sockets.emit(socketId,'debug',{time : new Date()})
@colinbm
colinbm / cloudflare_control.rb
Created September 9, 2014 09:42
Pause or resume all your CloudFlare sites at once. Useful if CloudFlare is misbehaving.
#!/usr/bin/env ruby
require 'cloudflare'
module CloudFlare
class Connection
public :send_req
end
end
@bitstein
bitstein / SNI-Mempool-Crash-Course.md
Last active April 30, 2020 23:38
SNI Mempool Crash Course in Bitcoin Political Economy

The following is a partial annotated bibliography of SNI Mempool, building the case for why Bitcoin will displace all competing currencies, including altcoins, fiat money, and precious metals:

In terms of monetary policy, Bitcoin is the greatest money the world has ever seen.

Unsurprisingly, Bitcoin has gained substantial popularity, and there is no reason to believe it will not continue to grow. This growth is not merely a bubble.

<design_analysis>

1. Overall Layout and Structure

The landing page follows a classic single-page structure consisting of several sections, including a hero section, features, a video promo, testimonials, blog articles, and a contact form. Each section is well-contained with clearly defined boundaries and usage of visuals like images, icons, and text.

2. Reusable Component Identification

Several recurring design elements can be abstracted into reusable components:

  • Navigation Bar: The navigation links, logo, and call-to-action button.
  • Hero Section: Headings, sub-headings, a call-to-action button, and background image.
  • Feature Cards: Icons, titles, and descriptions laid out in a grid.