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
| /* hides the native tabs */ | |
| #TabsToolbar | |
| { | |
| visibility: collapse; | |
| } | |
| /* hides the title bar */ | |
| #titlebar { | |
| visibility: collapse; | |
| } |
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
| import XMonad | |
| import XMonad.Config.Xfce | |
| import XMonad.Util.EZConfig | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Hooks.EwmhDesktops | |
| -- Layouts imports | |
| import XMonad.Layout.NoBorders (noBorders, smartBorders) | |
| import XMonad.Layout.Spiral | |
| import Data.Ratio -- for % operator | |
| import Data.List (isSuffixOf) |
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
| #!/bin/bash | |
| db_name="your_database_name" | |
| fecha=$(date +"%Y%m%d%H%M%S") | |
| rutarespaldo="/the/path/Where_you-want-to-store-the/DB/${db_name}.${fecha}" | |
| mysqldump --column-statistics=0 -u root "${db_name}" > "${db_name}.${fecha}.sql" | |
| zip -m "${rutarespaldo}.zip" "${db_name}.${fecha}.sql" |
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
| #!/bin/bash | |
| # Usage : MakeBase64CSV.sh infile.csv outfile.csv | |
| # infile.csv columns are : externalID, name, filename or identifier | |
| # infile.csv separator MUST BE | | |
| echo \"External ID\",\"Name\",\"Image\" > $2 | |
| while IFS="|" read f1 f2 f3; do |
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
| #!/bin/bash | |
| # if no args open new frame | |
| if [ $# -eq 0 ]; then | |
| jumpapp -R emacs || emacsclient -nc | |
| exit | |
| fi | |
| emacsclient -e "(frames-on-display-list \"$DISPLAY\")" # &>/dev/null |
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
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; | |
| ;; BACK UP YOUR LOGSEQ DIR BEFORE RUNNING THIS! | |
| ;; | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; Copyright (C) Aug 4 2022, William R. Burdick Jr. | |
| ;; | |
| ;; LICENSE | |
| ;; This code is dual-licensed with MIT and GPL licenses. |
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
| import javafx.application.Application; | |
| import javafx.event.EventHandler; | |
| import javafx.geometry.Point2D; | |
| import javafx.scene.Group; | |
| import javafx.scene.Scene; | |
| import javafx.scene.canvas.Canvas; | |
| import javafx.scene.canvas.GraphicsContext; | |
| import javafx.scene.input.MouseEvent; | |
| import javafx.stage.Stage; | |
| import static javafx.scene.input.MouseEvent.*; |