- Extract Variable
- Split Temporary Variable
- Remove Assigments to Parameters
- Extract Method
- Replace Temp with Method Quey
- Replace Method with a Method Object (a Class)
- Substitute Algorithm
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
sudo apt install sct | |
sct 6200 | |
flatpak install flathub io.github.libvibrant.vibrantLinux | |
# Open Vibrant Linux GUI and set the color in 200 or more |
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
def logDirectory = "${thb.settings.thbHome}/logs" | |
log4j = { | |
appenders { | |
file name: "file", threshold: Level.ERROR, file: "${logDirectory}/${appName}-error.log".toString() | |
file name: "infoFile", threshold: Level.INFO, file: "${logDirectory}/${appName}-info.log".toString() | |
console name: "stdout", threshold: Level.DEBUG | |
} | |
root { | |
error 'file' |
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
log.debug('Esto es un mensaje de depuración') | |
log.info('Esto es un mensaje de información') | |
log.error('Esto es un mensaje de error') |
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
// Put me in grails-app/conf/DebugFilters.groovy | |
class DebugFilters { | |
def filters = { | |
all(controller:'*', action:'*') { | |
before = { | |
log.error "${request.method}: $request.forwardURI $request.params" | |
} | |
after = { Map model -> |
- Both files needs to be specified for every workspace
- Install gem ruby-debug-ide
gem install ruby-debug-ide
- If using rvm make sure to have correctly setup paths or open workspace from terminal with
code .
- With rbenv everything should work out of the box
- You can now run rails server with pressing button (or ctrl+shift+d) and webpack-dev-server will start automatically on background.
Notes: Please note, when you stop debug server, webpack-dev-server remain running in terminal (because it's background job).
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
{ | |
// Place your snippets for ruby here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
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
/* append to /build/programs/web.browser/app/client/components/main/header.css */ | |
/*Custom Style LC*/ | |
#content { | |
background-image: url("https://i.imgur.com/si64lKd.jpeg"); | |
background-size: cover; | |
} | |
div.board-color-midnight { | |
background-image: url("https://i.imgur.com/si64lKd.jpeg"); | |
background-size: cover; |
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 $ from 'jquery' | |
window.jQuery = window.$ = $ | |
import JSZip from 'jszip' | |
window.JSZip = JSZip | |
import 'pdfmake' | |
import dataTable from 'datatables.net-bs4' | |
dataTable(window, $) | |
import buttons from 'datatables.net-buttons-bs4' | |
buttons(window, $) | |
import columnVisibility from 'datatables.net-buttons/js/buttons.colVis.js' |