Skip to content

Instantly share code, notes, and snippets.

View zeripath's full-sized avatar
🏳️‍🌈

zeripath

🏳️‍🌈
View GitHub Profile
@zeripath
zeripath / Gruntfile.js
Created April 25, 2013 07:58
Set the window (xterm) prompt of a running grunt process e.g. grunt server
// within your grunt file register a task to set the prompt
module.exports = function (grunt) {
// ...
grunt.registerTask('set-prompt', function () {
console.log('\u001b]0;grunt ' + process.argv.slice(2).join(' ') + '\u0007');
});
@zeripath
zeripath / dropdown.patch
Created July 29, 2021 21:13
foomantic accessibility patch - working copy from #8638
--- web_src/fomantic/build/components/dropdown.js 1985-10-26 09:15:00.000000000 +0100
+++ web_src/js/vendor/dropdown.js 2021-07-29 21:53:25.769541139 +0100
@@ -8,6 +8,13 @@
*
*/
+/*
+ * Copyright 2019 The Gitea Authors
+ * Released under the MIT license
+ * http://opensource.org/licenses/MIT