This file contains 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: ./honeywell_settmp.sh [-c|-h|-o] [<temp(F)>|schedule] | |
# Example: ./honeywell_settmp.sh -h 72 # set HEAT: temp=72F | |
# ./honeywell_settmp.sh -c schedule # set COOL: follow shceduled temp | |
# ./honeywell_settmp.sh -o # turn system OFF | |
######## Settings ######## | |
LOGIN="YOUR_MAIL_ADDRESS" | |
PASSWORD="YOUR_PASSWORD" |
This file contains 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
// add jq | |
var jq = document.createElement('script'); jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"; document.getElementsByTagName('head')[0].appendChild(jq); | |
// start jq | |
jQuery.noConflict(); | |
// click toggle | |
jQuery('.slds-checkbox_faux').parent('#toggle-desc').click() | |
// select reason |
This file contains 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 "rails/all" | |
require "active_record" | |
require "minitest/autorun" | |
require "logger" | |
# This connection will do for database-independent bug reports. | |
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:") | |
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
ActiveRecord::Schema.define do |
This file contains 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
app/views/lessons/index.html.haml:5:in `exit' | |
app/views/lessons/index.html.haml:5:in `_app_views_lessons_index_html_haml___4237740740567468640_46955380' | |
config/initializers/quiet_assets.rb:10:in `call_with_quiet_assets' |
This file contains 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
@mixin clickable_div{ | |
position: relative; | |
text-align: center; | |
a{ | |
text-decoration: none; | |
color: #fff; | |
span{ | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains 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
@import 'mixings'; | |
.single_lesson_wrapper, .single_course_wrapper{ | |
.course, .lesson{ | |
width: 1000px; | |
border: 1px #c2c6bd solid; | |
background: url("course-icon.png") #e7ebe2 no-repeat; | |
padding: 17px 19px 19px 19px; | |
.title{ |