- Save files as
/etc/systemd/system/dyndns-afraid@.serviceand/etc/systemd/system/dyndns-afraid@.timer - Run
systemctl daemon-reloadto pick up the new files - Log in at http://freedns.afraid.org/dynamic/v2/
- Note the last component of the URL for updating (
http://sync.afraid.org/u/XXXXXXXX/) - Run
systemctl enable --now dyndns-afraid@XXXXXXXX.timerto enable processing
This file contains hidden or 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
| // ==UserScript== | |
| // @name bugzilla flow | |
| // @namespace http://mook.moz.googlepages.com/greasemonkey/bugzilla/ | |
| // @description embeds bug history in comment flow and other tweaks | |
| // @include */show_bug.cgi?* | |
| // @require sitePrefs.js | |
| // @require E4XtoDOM.js | |
| // ==/UserScript== | |
| // vim: set sw=2 : */ |
This file contains hidden or 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
| <style> | |
| .result { | |
| width: 35px; | |
| height: 35px; | |
| } | |
| .col-header, .row-header { | |
| font-weight: bold; | |
| } |
This file contains hidden or 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
| @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
| @-moz-document url(chrome://komodo/content/komodo.xul) { | |
| #topview tabs > vbox, | |
| #topview tabs .tabstrip-box, | |
| #topview tabs .tab-arrowscrollbox, | |
| #topview tabs .tab-arrowscrollbox > scrollbox, | |
| #topview tabs .scrollbox-innerbox { | |
| display: block !important; | |
| } |
This file contains hidden or 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
| # openssl req -new -x509 -nodes -days 365 -key stackato.key -batch -config stackato-openssl-cert-gen.conf > stackato-custom.crt | |
| [req] | |
| default_md = sha1 | |
| x509_extensions = extensions | |
| prompt = no | |
| distinguished_name = distinguished_name | |
| [extensions] | |
| subjectAltName = @alt_names |
This file contains hidden or 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
| /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
| /* vim: set sw=2 :miv */ | |
| /* | |
| *=BEGIN SONGBIRD GPL | |
| * | |
| * This file is part of the Songbird web player. | |
| * | |
| * Copyright(c) 2005-2010 POTI, Inc. | |
| * http://www.songbirdnest.com | |
| * |
This file contains hidden or 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
| nsRefPtr<sbRunnable_<nsresult>> job = | |
| new sbRunnableXPCOMMethod3_<nsresult,nsIObserverService, | |
| nsISupports*,const char*,const PRUnichar*>( | |
| mObserverService,&nsIObserverService::NotifyObservers, | |
| this,"service-ready",serviceContractID.get()); | |
| NS_DispatchToMainThread(job); | |
| rv = job->Wait(); | |
| NS_ENSURE_SUCCESS(rv, rv); |
This file contains hidden or 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
| # This was the the command used to grab the JSON dump. To re-fetch, please | |
| # enter valid userid / cookie; see | |
| # https://wiki.mozilla.org/Bugzilla:REST_API#Authentication for instructions | |
| #import requests | |
| # | |
| #r = requests.get("https://api-dev.bugzilla.mozilla.org/latest/bug", | |
| # headers={"Content-Type": "application/json", | |
| # "Accept": "application/json"}, | |
| # params={"component": "Repository Account Requests", |
This file contains hidden or 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
| #include <windows.h> | |
| #include <stdio.h> | |
| #include <map> | |
| #define print_error(msg) printf(msg ": %08lx\n", GetLastError()) | |
| #if defined(PARENT) | |
| struct DebugProcessData { | |
| HANDLE hProcess; |
This is a script plus a systemd (user) unit to change color schemes when Night Color kicks in (to get dark mode).
This is basically a workaround until maybe someday Plasma gets proper support.
The color schemes are named in plasma-color-scheme-on-night-color.sh line 16 and 18. For a hack it's not worth makig it configurable.
Write the systemd config file in ~/.config/systemd/user/plasma-color-scheme-on-night-color.service and the script in ~/opt/scripts/plasma-color-scheme-on-night-color.sh.
Once the files are written, use systemctl --user enable --now plasma-color-scheme-on-night-color to turn on.
OlderNewer