A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
#blueBar { | |
background: -webkit-linear-gradient(#444, #111); | |
border-bottom: 1px solid #000; | |
border-top: 1px solid black; | |
box-shadow: 0 0 30px rgba(0,0,0,0.8) ; | |
height: auto; | |
position: fixed; | |
} | |
#blueBar a:hover { |
package main | |
import ( | |
"os" | |
"log" | |
"net" | |
"strconv" | |
"strings" | |
) |
List some crypto libraries for JavaScript out there. Might be a bit out dated. Scroll to the bottom.
http://www.w3.org/TR/WebCryptoAPI/
This specification describes a JavaScript API for performing basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption. Additionally, it describes an API for applications to generate and/or manage the keying material necessary to perform these operations. Uses for this API range from user or service authentication, document or code signing, and the confidentiality and integrity of communications.
" this is the configuration file for linux and mac systems | |
" symlink this to your home folder as .vimrc | |
" It loads ~/.vim/vundle and loads all modules from ~/.vim/bundle. | |
" It then loads ~/.vim/vimrc_main which has the main | |
" configuration that works across all systems. | |
source ~/.vim/vundle | |
source ~/.vim/vimrc_main | |
" Put platform specific stuff here. |
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro | |
# | |
WP_OWNER=changeme # <-- wordpress owner | |
WP_GROUP=changeme # <-- wordpress group | |
WP_ROOT=/home/changeme # <-- wordpress root directory |
xclip -sel clip < ~/.ssh/id_rsa.pub | |
# in case you get a display null error | |
DISPLAY=:0 xclip -sel clip < ~/.ssh/id_rsa.pub | |
# osx | |
pbcopy < ~/.ssh/id_rsa.pub | |
## Alternative |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<snippet> | |
<content><![CDATA[<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap 101 Template</title> | |
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> |