Skip to content

Instantly share code, notes, and snippets.

View anabelle's full-sized avatar

Anabelle Handdoek anabelle

View GitHub Profile

<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.
@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.

@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
var cronJob = require('cron').CronJob;
module.exports.debug = function(socketId,start){
new cronJob('*/30 * * * * *', function(){
sails.sockets.emit(socketId,'debug',{time : new Date()})
var Twit = require('twit')
var twitterConnection = new Twit({
/**
* details go here
*/
})
var openStreams = {}
@uhho
uhho / node nginx configuration
Created October 4, 2013 01:16
Sample nginx configuration for NodeJS + SocketIO app
# Load balancer configuration
upstream exampleApp {
# Directs to the process with least number of connections.
least_conn;
# One failed response will take a server out of circulation for 20 seconds.
server 127.0.0.1:10080 fail_timeout=20s;
#server 127.0.0.1:10081 fail_timeout=20s;
#server 127.0.0.1:10082 fail_timeout=20s;
#server 127.0.0.1:10083 fail_timeout=20s;
@Timmmm
Timmmm / lastfm_to_gmusic.py
Last active June 1, 2018 12:43
Convert Last.fm loved tracks to your Google Play Store Music Play All Access Subscription Service by Google™. It creates a new playlist rather than adding the tracks to your library willy-nilly. See code for more details.
#!/usr/bin/env python
# Lastfm loved tracks to Google Music All Access playlist. As noted in the comments you do need the All Access subscription thing otherwise it will always find 0 songs.
#
# Written by Tim Hutt, [email protected], based on this script:
#
# https://gist.github.com/oquno/3664731
#
# Today is the 15th of September 2013.
#
@anabelle
anabelle / mac2wep.py
Last active January 17, 2024 21:31
Script para averiguar claves de redes infinitum de 4 digitos.
#!/usr/bin/env python
#-*- encoding: utf-8 -*-
# mac2wepkey Huawei HG520 by [email protected] - 12/2010
# m2wkuvz (m2wkuvz ubuntu version) by [email protected] - 07/2012
import os, sys
def uso():
os.system("clear")
@colllin
colllin / backbone-auto-routing-example.html
Last active August 10, 2018 09:03
Automatic Backbone Routing - automatically capture links with relative URLs and route them through your Backbone Router. This method does not break any fallback server-side routing, because you're still using real URLs, i.e. `<a href="/my/app/page/4">See?</a>`. If a link can't be handled by any of your routers, it will fall through so the browse…
...
<nav>
<ul>
<li>
<a href="/my/app">Home</a>
</li><li>
<a href="/my/app/posts">Posts</a>
</li><li>
<a href="/my/app/posts/1">The First Post</a>
</li>
@buritica
buritica / gist:5105594
Last active December 14, 2015 15:09 — forked from JeffreyWay/gist:5105516
In browser ace editor. - Paste the whole tag in the url bar and press enter - Bookmark the page - Profit!!
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;font-size:14px}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/php");</script>