Nautilus (GNOME Files) has no built-in way to copy the full filesystem path(s)
of the selected file(s) to the clipboard — no menu item, no accelerator. This
is a small nautilus-python extension that adds one, plus a real
Super+Alt+C keyboard shortcut that works like any other native GTK
accelerator (Ctrl+C, F2, etc.) — no key-synthesis hacks, no external
compositor keybind, and it only fires while Nautilus actually has focus.
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
| //+------------------------------------------------------------------+ | |
| //| BB.mq5 | | |
| //| Copyright 2009, MetaQuotes Software Corp. | | |
| //| http://www.mql5.com | | |
| //+------------------------------------------------------------------+ | |
| #property copyright "2009, MetaQuotes Software Corp." | |
| #property link "http://www.mql5.com" | |
| #property description "Bollinger Bands" | |
| #include <MovingAverages.mqh> | |
| //--- |
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
| //+------------------------------------------------------------------+ | |
| //| BB-EMA.mq5 | | |
| //| Copyright 2023, Imentore Copy | | |
| //| Breno Cardoso Perucchi | | |
| //+------------------------------------------------------------------+ | |
| #property copyright "Copyright Breno Perucchi" | |
| #property description "BB EMA" | |
| #property link "https://www.imentore.com" | |
| #property version "1.32" | |
| #property strict |
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
| input | |
| iGain(3.0); | |
| iStop(550); | |
| iPeriod(20); | |
| iDesvio(2.00); | |
| var | |
| vUpBB : Float; | |
| vDownBB : Float; | |
| vUpBBLast : Float; | |
| vDownBBLast : Float; |
In the apps config/puma.rb file:
Change to match your CPU core count
# Check using this on the server => grep -c processor /proc/cpuinfo
workers 4
# Min and Max threads per worker
threads 1, 6
app_dir = File.expand_path('../..', FILE)
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
| [ | |
| { "keys": ["super+v"], "command": "paste_and_indent" }, | |
| { "keys": ["super+shift+v"], "command": "paste" }, | |
| { "keys": ["super+ctrl+m"], "command": "list_rails_models" }, | |
| { "keys": ["super+ctrl+c"], "command": "list_rails_controllers" }, | |
| { "keys": ["super+ctrl+v"], "command": "list_rails_views" }, | |
| { "keys": ["super+ctrl+h"], "command": "list_rails_helpers" }, | |
| { "keys": ["super+ctrl+x"], "command": "list_rails_fixtures" }, | |
| { "keys": ["super+ctrl+t"], "command": "list_rails_tests" }, | |
| { "keys": ["super+ctrl+i"], "command": "list_rails_javascripts" }, |
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
| require 'i18n' | |
| class FormTag < Liquid::Block | |
| Syntax = /(#{Liquid::QuotedFragment})\s*(by\s*(\d+))?/ | |
| def initialize(tag_name, markup, tokens) | |
| @param_name = Liquid::Expression.parse(markup).name.gsub("form_", "") | |
| super | |
| end | |
| def form_nested(params, index, object, html_name) |
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
| # Paginate a collection | |
| # | |
| # Usage: | |
| # | |
| # {% paginate contents.projects by 5 %} | |
| # {% for project in paginate.collection %} | |
| # {{ project.name }} | |
| # {% endfor %} | |
| # {% endpaginate %} |
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
| # First the end result of what we want: | |
| class Foo | |
| before_hook :whoa | |
| before_hook :amazing | |
| def test | |
| puts "This is kinda cool!" | |
| end |
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
| class CostCenterPresenter | |
| def initialize(object, query) | |
| @object = object | |
| @query = query | |
| end | |
| # results: [ | |
| #1# { text: "Western", children: [ | |
| #2# { id: "CA", text: "California" }, | |
| #2# { id: "AZ", text: "Arizona" } | |
| # ] }, |
NewerOlder