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
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()); | |
}); |
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
#!/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" |