This script is designed to associate various file extensions with a specified application on macOS. By default, it associates the file extensions with Visual Studio Code - Insiders (because that's what I use).
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
# To run in publisher in production | |
# $ gds govuk connect app-console -e production publisher | |
base_url = "https://www.gov.uk/settle-in-the-uk/y"; nil | |
@edition = SimpleSmartAnswerEdition.published.find_by(slug: "settle-in-the-uk"); nil | |
@urls = []; nil | |
def traverse(node, url) | |
if node.kind == "question" | |
node.options.each do |option| |
Failing to connect/pair the Caseflex BT Keyboard
to a Laptop running Ubuntu MATE 16.04 via bluetooth
- Restart bluetooth:
sudo /etc/init.d/bluetooth restart
- Start blueman as superuser:
sudo blueman-assistant
- Remove the keyboard if present in the list
- Turn on the keybord
- Press the
connect
button - Search for new devices on blueman gui
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
# A common concern,include into all doc modules | |
# | |
module BaseDoc | |
include Apipie::DSL::Concern | |
def namespace(namespace, options = {}) | |
@namespace = namespace | |
@namespace_name = options[:name] | |
end | |
attr_reader :namespace_name |