Skip to content

Instantly share code, notes, and snippets.

View ckjoris's full-sized avatar
🙃

ckjoris ckjoris

🙃
  • Vilnius, Lithuania
View GitHub Profile
@ckjoris
ckjoris / gulpfile.js
Created August 6, 2014 23:52
gulp-jsvalidate with git hook
var gulp = require('gulp');
var jsValidate = require('gulp-jsvalidate');
gulp.task('default', function() {
// check for js syntax errors
return gulp.src('web/app/**/*.js')
.pipe(jsValidate());
});
#!/usr/bin/python3.10
def toggle_guake_by_dbus():
import dbus # pylint: disable=import-outside-toplevel
import time
try:
bus = dbus.SessionBus()
remote_object = bus.get_object(
"org.guake3.RemoteControl", "/org/guake3/RemoteControl"