Para criação de pastas o mais conveniente (unix) é utilizar mkdir -p
, o qual:
-p, --parents no error if existing, make parent directories as needed
tem-se então o semelhante como módulo de node, o mkdirp.
/** | |
* Compile with -D_GNU_SOURCE | |
* Note: we're using static keys here and we don't plan to add | |
* new items to the table. In such case using a perfect | |
* hash generator (e.g, gperf) would clearly outperform | |
* this simple example w/ the cost of first running gperf | |
* (and other tradeoff that must be considered) | |
* | |
* Note: it's up to you to manage those resources contained in | |
* the hash table. Also, hsearch does NOT provide a |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Iframe</title> | |
</head> | |
<body> | |
<button>Botão</button> | |
<script type="text/javascript"> |
#!/usr/bin/python | |
from __future__ import print_function | |
from PIL import Image, ImageChops, ImageEnhance | |
import sys, os | |
import threading | |
import argparse | |
parser = argparse.ArgumentParser(description=""" | |
Performs Error Level Analysis over a directory of images |
#!/bin/bash | |
#### Default Configuration | |
CONCURRENCY=4 | |
REQUESTS=100 | |
ADDRESS="http://localhost:8080/" | |
show_help() { | |
cat << EOF |
#!/bin/bash | |
# Retrieves image configuration using | |
# private registries without authentication | |
set -o errexit | |
# Address of the registry that we'll be | |
# performing the inspections against. | |
# This is necessary as the arguments we |
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: git-serve-controller | |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: git-serve-controller |
#!/bin/bash | |
set -o errexit | |
set -o xtrace | |
main() { | |
local namespaces=$(list_namespaces) | |
for namespace in $namespaces; do | |
local tasks=$(list_tasks $namespace) |
Para criação de pastas o mais conveniente (unix) é utilizar mkdir -p
, o qual:
-p, --parents no error if existing, make parent directories as needed
tem-se então o semelhante como módulo de node, o mkdirp.
#!/bin/bash | |
set -o errexit | |
# Address of the registry that we'll be | |
# performing the inspections against. | |
# This is necessary as the arguments we | |
# supply to the API calls don't include | |
# such address (the address is used in the | |
# url itself). |
status = {} | |
status.version = "0.0.1" | |
status.startup = function() | |
core.Info("[status] status script v" .. status.version); | |
end | |
status.run = function(applet) | |
local response = "200 OK" |