Why:
This change addresses the need by:
| /*===== Labels, badges =====*/ | |
| .badge, .label { color: #ffffff; display: inline-block; font-weight: bold; white-space: nowrap; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); background-color: #5f5f5f; box-shadow: inset 0 0 3px rgba(0,0,0,0.2); -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.2); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.2); border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; font-size: 11px; font-weight: bold; padding: 5px 7px 4px 7px; line-height: 13px; } | |
| label.valid { display: inline-block; } | |
| label.error { margin-top: 4px; font-size: 11px; display: inline-block; white-space: nowrap; color: #b94a48; } | |
| a.label:hover, a.badge:hover { color: #ffffff; text-decoration: none; cursor: pointer; } | |
| .label-important, .badge-important { background-color: #c95454; } | |
| .label-important[href], .badge-important[href] { background-color: #953b39; } | |
| .label-warning, .badge-warning { background-color: #d17d10; } | |
| .label-warning[href], .badge-warning[href] { background-color: #c67605; } |
| <?php | |
| if(in_array('mutualfund', $parts)) | |
| { | |
| if(($handle = fopen(dirname(__FILE__). "../../shared_csv/top_mutual_funds.csv", "r")) !== FALSE){ | |
| while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { | |
| echo "<pre>".print_r($data)." <br/></pre>"; | |
| } | |
| fclose($handle); | |
| } | |
| else{ |
| SELECT * | |
| FROM TABLE_NAME | |
| INTO OUTFILE '/tmp/filename.csv' | |
| FIELDS TERMINATED BY ',' | |
| ENCLOSED BY '"' | |
| LINES TERMINATED BY ','; |
| Type this in your terminal to find out the PID of the process that's using the 3000 port: | |
| $ lsof -wni tcp:3000 | |
| Then, use the number in the PID column to kill the process: | |
| $ kill -9 PID |
| curl get.pow.cx/uninstall.sh | sh |
Why:
This change addresses the need by:
| require 'net/http' | |
| require 'uri' | |
| uri = URI.parse("https://api.keen.io/3.0/organizations/ORG_ID/projects") | |
| request = Net::HTTP::Post.new(uri) | |
| request.content_type = "application/json" | |
| request["Authorization"] = "ORGANIZATION_KEY" | |
| request.body = "{ | |
| \"name\": \"My First Project\", | |
| \"users\": [ |
| // https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_variables.scss | |
| // | |
| //== Media queries breakpoints | |
| // | |
| //## Define the breakpoints at which your layout will change, adapting to different screen sizes. | |
| // Extra small screen / phone | |
| //** Deprecated `$screen-xs` as of v3.0.1 | |
| $screen-xs: 480px !default; | |
| //** Deprecated `$screen-xs-min` as of v3.2.0 |
| def greetings | |
| now = time = Time.now | |
| morning = today.beginning_of_day | |
| noon = today.noon | |
| evening = today.change( hour: 17 ) | |
| night = today.change( hour: 20 ) | |
| tomorrow = today.tomorrow | |
| if (morning..noon).cover? now |