2015-10-21
- jennifer
- martym
How to convert existing phoenix app to an umbrella app. | |
https://elixir-lang.slack.com/archives/phoenix/p1472921051000134 | |
chrismccord [10:14 PM] | |
@alanpeabody yes, it's straightforward | |
[10:14] | |
1) mix new my_umbrella --umbrella |
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
# Add the following to your shell init to set up gpg-agent automatically for every shell | |
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
source ~/.gnupg/.gpg-agent-info | |
export GPG_AGENT_INFO | |
else |
machine github.com | |
login technoweenie | |
password SECRET | |
machine api.github.com | |
login technoweenie | |
password SECRET |
# I was encountering this exception | |
# Net::SMTPServerBusy: 401 4.1.7 Bad sender address syntax | |
# First I searched to see if there's any documentation around this issue, | |
# didn't find anything, so I wrote this snippet to find those invalid characters | |
require 'mail' | |
Mail.defaults do | |
delivery_method :smtp, { | |
:port => 25, |
This example demonstrates loading of CSV data, which is then quantized into a diverging color scale. The values are visualized as colored cells per day. Days are arranged into columns by week, then grouped by month and years. Colors by Cynthia Brewer. Layout inspired by Rick Wicklin and Robert Allison. Dow Jones historical data copyright Yahoo! Finance or independent data provider; fair use for educational purposes.
/* Compilare con: | |
* gcc keys.c -lX11 -o keylogger | |
*/ | |
#include <X11/Xlib.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <signal.h> | |
#include <X11/keysym.h> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Songs</title> | |
<style> | |
line.link { | |
stroke:#eee; | |
} | |
text { | |
fill:#888; |