https://efactura.dgi.gub.uy:6475/efactura/ws_personaGetActEmpresarial
https://efactura.dgi.gub.uy:6443/efactura/ws_certificacion?wsdl
## SqliteFullTextSearch Concern | |
# | |
# The `SqliteFullTextSearch` concern provides a set of methods and triggers to enable full-text search capabilities for ActiveRecord models using SQLite's FTS5 extension. | |
# | |
# ### Key Features | |
# - **Full-Text Search Scope**: Adds a `search` scope to the model for performing full-text searches. | |
# - **Index Creation and Management**: Automatically creates and manages FTS5 tables and triggers for the model. | |
# - **Attribute Configuration**: Allows specifying attributes to include in the full-text search index. | |
# - **Trigger Management**: Sets up triggers to keep the search index up-to-date with model changes. | |
# |
# Adapted from StackOverflow answers: | |
# http://stackoverflow.com/a/8477067/1319740 | |
# and | |
# http://stackoverflow.com/a/18113090/1319740 | |
# With help from: | |
# http://technicalpickles.com/posts/parsing-csv-with-ruby/ | |
# A small rake task that validates that all required headers are present in a csv | |
# then converts the csv to an array of hashes with column headers as keys mapped | |
# to relevant row values. |
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
find . -name "*.epub" -exec sh -c 'ebook-convert "{}" "$(dirname "{}")/$(basename -s .epub "{}").mobi" &' \; |
# adding and committing | |
git add -A # stages All | |
git add . # stages new and modified, without deleted | |
git add -u # stages modified and deleted, without new | |
git commit --amend # Add staged changes to previous commit. Do not use if commit has been pushed. | |
git commit --amend --no-edit # Do so without having to edit the commit message. | |
# remotes - pushing, pulling, and tracking | |
git fetch # gets remote objects and refs. Needed if new branches were added on the remote. | |
git remote -v # Lists all remotes (verbose) |
Magic words:
psql -U postgres
If run with -E
flag, it will describe the underlaying queries of the \
commands (cool for learning!).
Most \d
commands support additional param of __schema__.name__
and accept wildcards like *.*
\q
: Quit/Exit\c __database__
: Connect to a database