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 time | |
import psutil | |
import psycopg2 | |
from psycopg2 import sql | |
# import pygetwindow as gw | |
import subprocess | |
import platform | |
from datetime import datetime | |
# Function to get the title of the active window |
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
Collecting PyYAML==5.4.1 | |
Using cached PyYAML-5.4.1.tar.gz (175 kB) | |
Installing build dependencies ... done | |
Getting requirements to build wheel ... error | |
error: subprocess-exited-with-error | |
× Getting requirements to build wheel did not run successfully. | |
│ exit code: 1 | |
╰─> [48 lines of output] | |
running egg_info |
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
__ _______ _ ____ ___ __ __ _____ _____ ___ _ _______ _ ____ | |
\ \ / / ____| | / ___/ _ \| \/ | ____| |_ _/ _ \ | |/ / ____| | | _ \ | |
\ \ /\ / /| _| | | | | | | | | |\/| | _| | || | | | | ' /| _| | | | |_) | | |
\ V V / | |___| |__| |__| |_| | | | | |___ | || |_| | | . \| |___| |___| __/ | |
\_/\_/ |_____|_____\____\___/|_| |_|_____| |_| \___/ |_|\_\_____|_____|_| | |
cli=master:v1.10.0 | |
gui=v1.0.0-rc1 | |
2020/10/25 18:53:54 binDir initialized: OSPath[native=C:\Users\pasta\Downloads\kelp-v1.10.0-windows-amd64\kelp-v1.10.0, unix=/mnt/c/Users/pasta/Downloads/kelp-v1.10.0-windows-amd64/kelp-v1.10.0, isRel=false] | |
2020/10/25 18:53:54 Kelp is being run from |
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
removeValidations = (scope) -> | |
$(scope).find('.has-error .help-block').remove() | |
$(scope).find('.has-error').removeClass('has-error') | |
showValidations = (errors, scope = '') -> | |
for field, fieldErrors of errors | |
wrapper = wrapperForField(field, scope) | |
wrapper.addClass('has-error') | |
for error in fieldErrors | |
wrapper.append("<div class='help-block'>#{error}</div>") |
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
=begin | |
Given enum like status: %i(bad good great) | |
ransacker(:status){ Arel.sql(ites('status')) } | |
will allow to perform: | |
Model.search(status_cont: 'a') => returns models with bad and great statuses | |
Model.search(status_cont: 'g') => returns models with good and great statuses | |
Another way to solve http://stackoverflow.com/questions/37257835/searching-on-an-enum-field-with-ransack | |
=end |
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
https://github.com/joost/phony_rails | |
https://github.com/daddyz/phonelib | |
https://github.com/sstephenson/global_phone |
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
Runtime Error | |
Cannot read property 'style' of null | |
Stack | |
TypeError: Cannot read property 'style' of null | |
at Content.addScrollPadding (http://192.168.1.104:9999/build/main.js:9100:28) | |
at http://192.168.1.104:9999/build/main.js:9110:23 | |
at http://192.168.1.104:9999/build/main.js:10007:21 | |
at t.invokeTask (http://192.168.1.104:9999/build/polyfills.js:3:14051) | |
at e.runTask (http://192.168.1.104:9999/build/polyfills.js:3:11411) | |
at invoke (http://192.168.1.104:9999/build/polyfills.js:3:15164) |
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
1.upto(100).map{|i| [(175335 - i).to_f / 100000000, i.to_f/1000]} |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeOkbLTXS9XJ+yoS0ghwHw3n6NvHs+n4gPcY0B/xnMCcszbxoE+5w4O9InnNFclAAxUZeHA2E3fa14i7XnR1DWdvAUDXcQrGLxuTDuqgR47rEEOxaI/wAJmRZ05MsQtt/VI5DK+77dYNx1ebjBUPHXPFe9je3VoOBQemzLcHfUMosd9C0DmUxX+tOtS5qkALpM+j5thvUjy5Fz+Z79cxhYlWvYN3r85B0PQPaIHGbzo3TYxCrvHLYQ2Y1FDtFS2jw4wyod528lhnBBvQ4ko4BRVz08geOxjNZlGAqu0YAigMbFpsssb17jRBVK0wVbqZaD7xnapemrIFDFHuGKdHbb pills@pills-desktop |
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
sdf |
NewerOlder