Skip to content

Instantly share code, notes, and snippets.

View max-reznichenko's full-sized avatar

Max Reznichenko max-reznichenko

  • Comcast
  • Philadelphia, PA
View GitHub Profile
@max-reznichenko
max-reznichenko / honeywell_set_temp.sh
Created December 26, 2020 21:50 — forked from NeoCat/honeywell_set_temp.sh
Set temperature of honeywell Wi-Fi thermostat by shell script
#!/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"
@max-reznichenko
max-reznichenko / console.js
Created June 7, 2018 17:48
Salesforce - mass furlough exemption
// 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
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
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'
@mixin clickable_div{
position: relative;
text-align: center;
a{
text-decoration: none;
color: #fff;
span{
position: absolute;
width: 100%;
height: 100%;
@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{