Ordenadas por nome:
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Copyright: (c) 2020, Fabio Rocha <frock81@yahoo.com.br> | |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
ANSIBLE_METADATA = { | |
'metadata_version': '1.1', | |
'status': ['preview'], | |
'supported_by': 'community' |
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
- hosts: all | |
become: false | |
vars: | |
output_file: os.csv | |
tasks: | |
- block: | |
# For permisison setup. | |
- name: get current user | |
command: whoami | |
register: whoami |
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
#!/bin/bash | |
# This script will run zbarimg on a thresholded image | |
# for a range of threshold values. | |
usage() { | |
echo "Usage: $0 <filename> [-s <symbology>] [-a <start_threshold>] [-o <stop_threshold>]" | |
echo " <filename> Required. Specifies the input file name" | |
echo " -s, --symbology Optional. Specifies the symbology type" | |
echo " -a, --start-threshold Optional. Specifies the start threshold (default: 45)" | |
echo " -o, --stop-threshold Optional. Specifies the stop threshold (default: 55)" |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# This script lists all the files with a ".zip" extension in the current directory and its subdirectories. | |
# It then renames any file that matches the pattern "(.*NEO-202[123]{1}-)([0-9]*)(.*\.zip)" to have a zero-padded integer in the middle, with five digits. | |
# This script was generated by ChatGPT, a language model trained by OpenAI. | |
import os | |
import re |
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
// ==UserScript== | |
// @name ChatGPT Submit with Ctrl+Enter | |
// @namespace Violentmonkey Scripts | |
// @match *://chatgpt.com/* | |
// @grant none | |
// @version 0.1 | |
// @author - | |
// @description Change Enter key behavior to Ctrl+Enter for submitting | |
// ==/UserScript== |