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
| #!/bin/sh | |
| exec stack ghc -- \ | |
| --make xmonad.hs \ | |
| -i \ | |
| -ilib \ | |
| -fforce-recomp \ | |
| -main-is main \ | |
| -v0 \ | |
| -o "$1" |
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
| 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.*; |