name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays
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
| using CORE.Kernel.ExtensionMethods; | |
| using CORE.Models; | |
| using ServiceStack.Common; | |
| using ServiceStack.Common.Web; | |
| using ServiceStack.FluentValidation; | |
| using ServiceStack.ServiceHost; | |
| using ServiceStack.ServiceInterface; | |
| using ServiceStack.ServiceInterface.Auth; | |
| using ServiceStack.ServiceInterface.ServiceModel; | |
| using ServiceStack.ServiceInterface.Validation; |
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
| analytics.twitter.com | |
| api.mixpanel.com | |
| api.segment.io | |
| attestation.xboxlive.com | |
| az416426.vo.msecnd.net | |
| browser.pipe.aria.microsoft.com | |
| c.bing.com | |
| c.msn.com | |
| c1.microsoft.com | |
| cdn-gl.imrworldwide.com |
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
| public static void BulkInsertNpgsql<T>(this IDbConnection dbConn, IEnumerable<T> list, IEnumerable<string> insertFields = null) | |
| { | |
| if (list == null) return; | |
| if (list.Count() < 1) return; | |
| var objWithAttributes = list.FirstOrDefault(); | |
| var modelDef = OrmLiteConfig.GetModelDefinition(objWithAttributes.GetType()); | |
| if (insertFields == null) insertFields = new List<string>(); |
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
| # Notes: | |
| # - Minimal appveyor.yml file is an empty file. All sections are optional. | |
| # - Indent each level of configuration with 2 spaces. Do not use tabs! | |
| # - All section names are case-sensitive. | |
| # - Section names should be unique on each level. | |
| #---------------------------------# | |
| # general configuration # | |
| #---------------------------------# |
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 | |
| ### USAGE | |
| ### | |
| ### ./ElasticSearch.sh 1.7 will install Elasticsearch 1.7 | |
| ### ./ElasticSearch.sh will fail because no version was specified (exit code 1) | |
| ### | |
| ### CLI options Contributed by @janpieper | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch |
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
| cd ~ | |
| ##If you want to install OpenJDK | |
| #sudo apt-get update | |
| #sudo apt-get install openjdk-8-jre-headless -y | |
| ###Or if you want to install Oracle JDK, which seems to have slightly better performance | |
| sudo add-apt-repository ppa:webupd8team/java | |
| sudo apt-get update | |
| sudo apt-get install oracle-java8-installer |
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
| #coding: utf-8 | |
| from bottle import route, error, post, get, run, static_file, abort, redirect, response, request, template | |
| @route('/') | |
| @route('/index.html') | |
| def index(): | |
| return '<a href="/hello">Go to Hello World page</a>' | |
| @route('/hello') | |
| def hello(): |
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
| require 'axlsx' | |
| package = Axlsx::Package.new | |
| workbook = package.workbook | |
| workbook.add_worksheet(:name => 'Profit vs Loss') do |sheet| | |
| sheet.add_row %w(income expense) | |
| sheet.add_row [1000, 988] | |
| sheet.add_row [1200, 877] | |
| sheet.add_row [3010, 198] |
NewerOlder