An Ionic list directive
Forked from Ionic's Pen Thumbnail List: Nightly.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<?pde version="3.8"?><target name="simple" sequenceNumber="12"> | |
<locations> | |
<location path="${env_var:ECLIPSE_432_HOME}" type="Profile"/> | |
<location path="${project_loc:builder_external}/builder/lib" type="Directory"/> | |
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit"> | |
<unit id="org.apache.commons.beanutils" version="1.8.0.v201205091237"/> | |
<unit id="org.apache.commons.collections" version="3.2.0.v2013030210310"/> | |
<unit id="com.google.guava" version="12.0.0.v201212092141"/> | |
<unit id="com.google.gson" version="2.1.0.v201303041604"/> |
import smtplib | |
import time | |
import sys | |
import os, shutil | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
print "Usage:python", sys.argv[0], "[recipient](1..n) subject reports_dir report_suffix" | |
print "Example:python", sys.argv[0], " wilson@ex.com 'Hey' jake@ex.com /opt/reports .log" |
Easy way to transform a floating boxes in to a list
A Pen by Mattia Bericchia on CodePen.
exports.ext = function () { | |
var extTypes = { | |
"3gp" : "video/3gpp" | |
, "a" : "application/octet-stream" | |
, "ai" : "application/postscript" | |
, "aif" : "audio/x-aiff" | |
, "aiff" : "audio/x-aiff" | |
, "asc" : "application/pgp-signature" | |
, "asf" : "video/x-ms-asf" | |
, "asm" : "text/x-asm" |
The real tabs on the bottom of the screen are standard. The top tabs are fake (raw html) and manages different contents thanks to some angular directives and little code in the controller.
A Pen by Mirco Babini on CodePen.
# You may add here your | |
# server { | |
# ... | |
# } | |
# statements for each of your virtual hosts to this file | |
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# http://wiki.nginx.org/Pitfalls |
#!/bin/bash | |
set -e | |
apt-get install -y curl python-setuptools python-pip python-dev python-protobuf | |
# zookeeper | |
apt-get install -y zookeeperd | |
echo 1 | dd of=/var/lib/zookeeper/myid |
var restify = require('restify'); | |
var builder = require('botbuilder'); | |
var config = require('./config'); | |
//========================================================= | |
// Bot Setup | |
//========================================================= | |
// Setup Restify Server | |
var server = restify.createServer(); |
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 |