Start Minio:
docker run --rm --name minio --rm -it -p 9000:9000 minio/minio server /data
> output will display here
Start Minio:
docker run --rm --name minio --rm -it -p 9000:9000 minio/minio server /data
> output will display here
///bin/true;COMPILER_OPTIONS="-g -Wall -Wextra --std=c99 -O1 -fsanitize=address,undefined";THIS_FILE="$(cd "$(dirname "$0")"; pwd -P)/$(basename "$0")";OUT_FILE="/tmp/build-cache/$THIS_FILE";mkdir -p "$(dirname "$OUT_FILE")";test "$THIS_FILE" -ot "$OUT_FILE" || $(which clang || which gcc) $COMPILER_OPTIONS -xc "$THIS_FILE" -o "$OUT_FILE" || exit;exec "$OUT_FILE" "$@" | |
#include <stdio.h> | |
int main() { | |
printf("Hello world!\n"); | |
return 0; | |
} |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import json | |
import sys | |
import pymysql.cursors | |
from pymysqlreplication import BinLogStreamReader | |
from pymysqlreplication.row_event import ( | |
DeleteRowsEvent, |
# Sample as to how to initialize s3 client to work with Minio API compatible - https://github.com/minio/minio | |
# AWS CLI counterpart - https://docs.minio.io/docs/aws-cli-with-minio | |
import boto3 | |
s3 = boto3.resource('s3', | |
endpoint_url='http://<minio_IP>:9000', | |
config=boto3.session.Config(signature_version='s3v4') | |
) |
curl
to get the JSON response for the latest releasegrep
to find the line containing file URLcut
and tr
to extract the URLwget
to download itcurl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
<!-- Sample of code generated -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="RGQ8NSYPA59FL">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/pt_BR/i/scr/pixel.gif" width="1" height="1">
__author__ = 'srv' | |
import smtplib | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
from email.mime.application import MIMEApplication | |
username = '' # Email Address from the email you want to send an email | |
password = '' # Password | |
server = smtplib.SMTP('') |
#!/usr/bin/env perl | |
use v5.10; | |
use strict; | |
use warnings; | |
use Mojolicious::Lite; | |
# Explicit use as a helper for PAR |
window.alert = function(message, title) { | |
if($("#bootstrap-alert-box-modal").length == 0) { | |
$("body").append('<div id="bootstrap-alert-box-modal" class="modal fade">\ | |
<div class="modal-dialog">\ | |
<div class="modal-content">\ | |
<div class="modal-header" style="min-height:40px;">\ | |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>\ | |
<h4 class="modal-title"></h4>\ | |
</div>\ | |
<div class="modal-body"><p></p></div>\ |