This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// SHOW YOAST PRIMARY CATEGORY, OR FIRST CATEGORY | |
$category = get_the_category(); | |
$useCatLink = true; | |
// If post has a category assigned. | |
if ($category){ | |
$category_display = ''; | |
$category_link = ''; | |
if ( class_exists('WPSEO_Primary_Term') ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_expires.c> | |
ExpiresActive on | |
ExpiresDefault "access plus 3 days" | |
# Favicon | |
ExpiresByType image/x-icon "access plus 1 month" | |
# Media: images, video, audio | |
ExpiresByType image/gif "access plus 1 month" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="lazyImg lazyImg--notloaded" style="background-image: url(<?php echo $hero_bg['sizes']['lazyImg']?>)" data-image="<?php echo $hero_bg['sizes']['hero-bg']?>"></div> | |
<noscript><div style="background-image: url(<?php echo $hero_bg['sizes']['hero-bg']?>)"></div></noscript> | |
function loadLazyImg() { | |
$.each( $('.lazyImg'), function(index, val) { | |
var img = new Image() | |
var src = $(this).attr('data-image') | |
img.src = src | |
var image = $(this) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A script to set up a new mac. Uses bash, homebrew, etc. | |
# Focused for ruby/rails development. Includes many utilities and apps: | |
# - homebrew, rvm, node | |
# - quicklook plugins, terminal fonts | |
# - browsers: chrome, firefox | |
# - dev: iterm2, sublime text, postgres, chrome devtools, etc. | |
# - team: slack, dropbox, google drive, skype, etc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#Install command-line tools using Homebrew. | |
#Make sure we’re using the latest Homebrew. | |
brew update | |
#Upgrade any already-installed formulae. | |
brew upgrade |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = [ | |
'[The MEW Philosophy] Education is Key: Ethereum, security, privacy, importance of controlling your keys & how the blockchain works.', | |
'[The MEW Philosophy] Empower the people: Give people the ability to interact with the Ethereum blockchain without having to run a full node.', | |
'[The MEW Philosophy] If it can be hacked, it will be hacked: Never save, store, or transmit passwords or keys.', | |
'[The MEW Philosophy] Make it easy & free: Everyone should be able to create an account and send Ether & Tokens.', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## MEW | |
1. Why no show? :( file:///Users/tay/Dropbox/local-dev/etherwallet/dist/embedded.html | |
2. Why no show? :( file:///Users/tay/Dropbox/local-dev/etherwallet/dist/pushtx.html | |
3. Should alerts be ontop of the onload overlay? | |
4. I broken it. Now it shows nothing :( file:///Users/tay/Dropbox/local-dev/etherwallet/dist/index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm really tired, folks. We're spending far too much time dealing with the shit that we *hate* dealing with: | |
1. Breaking the news to someone that they lost all their ETH/Tokens | |
2. Writing emails and takedown letters | |
3. Talking & paying layers | |
4. Making lists (well...actually I love lists. But these types of lists suck.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. The newer multisig versions of the Parity multisig wallet has a vulnerability. This is ONLY FOR MULTISIG WALLETS. Specifically created in Parity Wallet > 1.5. | |
2. This is NOT for your MyEtherWallet. Do **not** run and unlock your MEW wallet. That wallet is not at risk. | |
3. This is ONLY for multisigs and only newer versions | |
4. Do not panic. Panic makes things worse. Breath. Be careful. Do not panic. | |
5. Again, if you use MyEtherWallet, you ARE NOT AT RISK |