This way ensure the file is streamed to the disk instead of memory.
- Install guzzle
composer require guzzlehttp/guzzle:~6.0
- Use get.php
#!/bin/bash | |
root=$(pwd) | |
linker=/lib/x86_64-linux-gnu/ld-2.19.so | |
my_ld_library_path="${root}/lib64:${root}/usr/lib64" | |
while read lib_path; do | |
my_ld_library_path="${root}${lib_path}:${my_ld_library_path}" | |
done < <(cat "${root}/etc/ld.so.conf.d"/* 2> /dev/null | grep -v '^#') | |
my_path=${root}/bin:${root}/sbin:${root}/usr/bin:${root}/usr/sbin | |
LD_LIBRARY_PATH="${my_ld_library_path}" PATH=${my_path} "${root}${linker}" $@ |
--- makerpm 2016-08-18 11:07:46.000000000 +0000 | |
+++ makerpm-patched 2016-08-19 10:10:19.415245429 +0000 | |
@@ -42,8 +42,8 @@ | |
Version: PVERSION | |
Release: PRELEASE | |
Group: Networking/Daemons | |
-Source0: http://www.php.net/distributions/php-%{PACKAGE_VERSION}.tar.gz | |
-Copyright: PHP License | |
+Source0: http://www.php.net/distributions/php-PVERSION.tar.gz | |
+License: PHP License |
#!/bin/sh | |
# Place me in .git/hooks/post-checkout | |
# Gets name from previous branch | |
PREVIOUS_BRANCH=$(git name-rev --name-only $1) | |
# Gets name from current branch | |
CURRENT_BRANCH=$(git name-rev --name-only $2) | |
if [ "${PREVIOUS_BRANCH}" != "${CURRENT_BRANCH}" ]; then | |
echo "Coming from ${PREVIOUS_BRANCH} to ${CURRENT_BRANCH}" |
pipeline: | |
hello: | |
image: fpfis/php56-dev | |
commands: | |
- composer --version | |
- echo "Hello world from a gist" |
This way ensure the file is streamed to the disk instead of memory.
composer require guzzlehttp/guzzle:~6.0
I'm in no case responsible for fried hardware, erased software or burning down houses. Make sure your miners are always well cooled.
Though you can easily mix nVidia and AMD in the same rig with Linux, it's recommended to use a different thread for each platform so a Driver crash doesn't bring the whole rig down. It should be noted however, that some mining software have trouble when both architecture are found on the same rig.
version: '2' | |
services: | |
pcas-client: | |
build: | |
context: ./ | |
dockerfile: Dockerfile.mock-client | |
image: openeuropa/pcas-client | |
ports: | |
- 8002:8002 | |
volumes: |
#!/usr/bin/env bash | |
set -o pipefail | |
# hello-world latest ef872312fe1b 3 months a910 B | |
# hello-world latest ef872312fe1bbc5e05aae626791a47ee9b032efa8f3bda39cc0be7b56bfe59b9 3 months ago 910 B | |
# debian latest f6fab3b798be 10 weeks ago 85.1 MB | |
# debian latest f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd 10 weeks ago 85.1 MB | |
if ! command -v curl &> /dev/null; then | |
echo >&2 'error: "curl" not found!' |
server { | |
location / { | |
gzip on; | |
gzip_vary on; | |
gzip_min_length 10240; | |
gzip_proxied expired no-cache no-store private auth; | |
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml; | |
gzip_disable "MSIE [1-6]\."; | |
root /usr/share/nginx/html; | |
try_files $uri $uri/ /index.html; |
192.168.0.63:9051 <- suspicious | |
198.100.148.114 | |
46.19.141.86 | |
198.100.148.114 | |
46.19.141.86 | |
192.168.0.63:9052 | |
185.12.45.114 | |
185.12.45.114 | |
185.12.45.114 |