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
// ==UserScript== | |
// @name chango | |
// @namespace vabarbosa.simple-data-vis | |
// @description add simple data visualizations to cloudant.com and couchdb views | |
// @match *://*.cloudant.com/dashboard.html* | |
// @include /^http://127.0.0.1:5984/_utils/#/database/.*/_design/.*/_view/.*$/ | |
// @require https://d3js.org/d3.v4.min.js | |
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/simpledatavis.js | |
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/vis/simpledatavis-barchart.js | |
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/vis/simpledatavis-bubblechart.js |
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
// ==UserScript== | |
// @name chango | |
// @namespace vabarbosa.simple-data-vis | |
// @description add simple data visualizations to cloudant.com and couchdb views | |
// @match *://*.cloudant.com/dashboard.html* | |
// @include /^http://127.0.0.1:5984/_utils/#/database/.*/_design/.*/_view/.*$/ | |
// @require https://d3js.org/d3.v4.min.js | |
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/simpledatavis.js | |
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/vis/simpledatavis-barchart.js | |
// @require https://raw.githubusercontent.com/vabarbosa/simple-data-vis/master/vis/simpledatavis-bubblechart.js |
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
! name: Common Lisp | |
! description: Rank results to boost content from sources related to lisp. | |
! public: true | |
! author: lost-rob0t | |
! homepage: | |
! avatar: #ca0000 | |
$boost=4,site=quickdocs.org | |
$boost=4,site=gist.github.com | |
$boost=4,site=github.com | |
$boost=4,site=lispcookbook.github.io |
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
! name: Linux Gaming Goggle | |
! description: Rerank results to show better trouble shooting results for linux and for proton db. | |
! public: true | |
! author: nsaspy | |
! avatar: #0a7c41 | |
$discard | |
$boost=4,site=www.protondb.com | |
$boost=4,https://wiki.archlinux.org/ | |
$boost=4,https://github.com/NixOS/nixpkgs/issues/ |
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/env sh | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 domain" | |
exit 1 | |
fi | |
target=$1 | |
domain=$(echo $target | cut -f 1 -d ".") |
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
;;; yt-dlp-music-.el --- Download music -*- lexical-binding: t; -*- | |
;; | |
;; Copyright (C) 2023 | |
;; | |
;; Author: <[email protected]> | |
;; Maintainer: <[email protected]> | |
;; Created: July 02, 2023 | |
;; Modified: July 02, 2023 | |
;; Version: 0.0.1 | |
;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp |
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
import json,xmltodict | |
""" | |
Nmap XML Output to Json Output in Python | |
example : data = xml2json('nmap_output.xml') | |
""" | |
def xml2json(xml): | |
xmlfile = open(xml) | |
xml_content = xmlfile.read() | |
xmlfile.close() | |
xmljson = json.dumps(xmltodict.parse(xml_content), indent=4, sort_keys=True) |
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
! name: Far left Goggles | |
! description: Rerank results to show far left content. | |
! public: true | |
! author: nsaspy | |
! avatar: #0a7c41 | |
$discard | |
$boost=4,site=kolektiva.social | |
actionnetwork.org/events/$boost=3 | |
$boost=3,site=actionnetwork.org |