Make sure you have installed the following commands:
- swaymsg
- jq
- slurp
- awk
| #! /bin/bash | |
| # AUTHOR: (c) Ricardo Ferreira | |
| # NAME: Compress PDF 1.4 | |
| # DESCRIPTION: A nice Nautilus script with a GUI to compress and optimize PDF files | |
| # REQUIRES: ghostscript, poppler-utils, zenity | |
| # LICENSE: GNU GPL v3 (http://www.gnu.org/licenses/gpl.html) | |
| # WEBSITE: https://launchpad.net/compress-pdf | |
| # Messages |
// https://mvnrepository.com/artifact/org.hibernate/hibernate-core
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.2.16.Final'
// https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc
compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.21.0.1'| Actually, that's a feature | |
| Don't worry, that value is only wrong half of the time | |
| Even though it doesn't work, how does it feel? | |
| Everything looks fine my end | |
| How is that possible? | |
| I broke that deliberately to do some testing | |
| I can have a look but there's a lot of if statements in that code! | |
| I can't make that a priority right now | |
| I can't test everything | |
| I couldn't find any examples of how that can be done anywhere else in the project |
| #!/bin/bash | |
| # Cisco Anyconnect CSD wrapper for OpenConnect | |
| # Enter your vpn host here | |
| CSD_HOSTNAME= | |
| if [[ -z ${CSD_HOSTNAME} ]] | |
| then | |
| echo "Define CSD_HOSTNAME with vpn-host in script text. Exiting." | |
| exit 1 | |
| fi |
| /** | |
| * Locations.js | |
| * | |
| * @description :: TODO: You might write a short summary of how this model works and what it represents here. | |
| * @docs :: http://sailsjs.org/#!documentation/models | |
| */ | |
| module.exports = { | |
| seedData:[ |
| id = "viewport-size-by-edmundojr-paulodiovani" | |
| # Cria o elemento do viewport, se ainda não existir | |
| create = -> | |
| div = document.getElementById(id) || document.createElement "div" | |
| div.id = id | |
| div.style.cssText = """ | |
| position:fixed; \ | |
| top:0; \ | |
| right:0; \ |
| import re | |
| from base_linter import BaseLinter, INPUT_METHOD_FILE | |
| CONFIG = { | |
| 'language': 'XML', | |
| 'executable': 'xmllintschema', | |
| 'lint_args': ['-noout', '{filename}'], | |
| 'input_method': INPUT_METHOD_FILE | |
| } |
| // Released under MIT license: http://www.opensource.org/licenses/mit-license.php | |
| $('[placeholder]').focus(function() { | |
| var input = $(this); | |
| if (input.val() == input.attr('placeholder')) { | |
| input.val(''); | |
| input.removeClass('placeholder'); | |
| } | |
| }).blur(function() { | |
| var input = $(this); | |
| if (input.val() == '' || input.val() == input.attr('placeholder')) { |