Skip to content

Instantly share code, notes, and snippets.

View skorpions2000's full-sized avatar
🏠
Working from home

skorpions2000 skorpions2000

🏠
Working from home
  • Dnipro
View GitHub Profile
@d3zorg
d3zorg / screen.ps1
Created May 31, 2013 07:55
This script takes screenshot on all displays and saves it to shared folder. Can be installed to windows services and run with this vbs with no window ("hidden"): set shell = wscript.createobject("wscript.shell") shell.run "powershell -file C:\Windows\screen.ps1",0,false Run once before install to enable execution of powershell script powershell …
[cmdletbinding()]
param(
[string]$Width,
[string]$Height,
[string]$datestamp = "{0:HH/mm/ss/dd/MM/yyyy}" -f (get-date),
[string]$FileName = $env:COMPUTERNAME + "_screen_" + "$datestamp"
)
function Take-Screenshot{
[cmdletbinding()]
@smglab
smglab / gist:a5f4fcfb094f54c44ff0
Created February 4, 2015 15:06
Kivy Dynamically adding items to ScrollView at the end scroll
from kivy.uix.scrollview import ScrollView
class EndEventScroll(ScrollView):
def on_scroll_stop(self, *args, **kwargs):
result = super(EndEventScroll, self).on_scroll_stop(*args, **kwargs)
if self.scroll_y < 0 and hasattr(self, 'on_end_event'):
self.on_end_event()