- http://ruby-doc.org/core-2.2.0/String.html#method-i-chop
- http://ubuntuforums.org/showthread.php?t=523273
- http://stackoverflow.com/questions/5424354/regex-to-remove-non-letters
- http://ruby-doc.org/core-2.2.0/Regexp.html
- http://stackoverflow.com/questions/21266620/regex-for-striping-non-alphabetic-and-non-numeric-characters
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
Liquid Fill Gauge v1.1 - 7/14/2015
Changes:
- Added support for updating the gauge value after loading is complete. The loadLiquidFillGauge method now returns an object with an update method which allows the gauge value to be changed. Click any of the gauges above to randomly update their value.
Configurable features include:
- Changeable min/max values.
- All colors.
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
background: #222; | |
color:#fff; | |
font-family: "Helvetica Neue", Helvetica, sans-serif; |
The purpose of this map as detailed on Daily Kos is to represent the congressional districts in the United States accurately. Currently it is difficult to show the districts because some such as those in New York City are very small, while others like Montana are the size of an entire state. Previosly the maps needed to be zoomable to see the districts containing cities. Other represntations such as cartograms warped the country's shape. This map attempts to fix that by giving each congressional district equal area i.e. five regular hexagons.
According to the original Daily Kos article, the map was built by Daniel Donner.
I did not design the map. This project's purpose is to port the map to a more useable format. I ported the map t
violation_description | violation_category | |
---|---|---|
33% H-H SUPPORTING MEMBERS/INSUFFICIENT | TODO | |
50% H-H NON-SUPPORTING MEMBERS | TODO | |
60 DAYS TO CHANGE ADDRESS | TODO | |
ACCOUNTABILITY OF NBR OF OCCUPANTS TO BE IMMEDIATELY PROVIDED | TODO | |
ACT VIOL TO ANOTHER | TODO | |
ADDITIONAL FACILITY LICENSE REQ'D | TODO | |
ADULT DANCE HALL LICENSE | TODO | |
AFFIXING SIGNS RGT OF WAY | TODO | |
AFFIXING SIGNS WITHIN R/WAY | TODO |
Pros:
- presence of controllers/admin/* upon installation - it takes away the unnecessary mystery about how to configure the files which override default behavior
- look and feel of views
Cons:
- Installation errors, although they are currently solvable.
- can't run bundle commands while rails server is running.
require 'capybara/poltergeist' | |
require 'ruby-progressbar' | |
session = Capybara::Session.new(:poltergeist) | |
session.visit("https://bank.simple.com/signin") | |
session.fill_in("username", with: "USERNAME") | |
session.fill_in("password", with: "PASSWORD") | |
session.click_on("Sign in") |
- https://developers.google.com/apps-script/overview
- https://developers.google.com/apps-script/reference/forms/
- https://developers.google.com/apps-script/reference/forms/form-app
- https://developers.google.com/apps-script/reference/forms/form
- http://stackoverflow.com/questions/24721226/how-to-define-global-variable-in-google-apps-script/24750489#24750489
- https://developers.google.com/apps-script/guides/rest/