This file contains hidden or 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: myserver | |
tasks: | |
- name: Enable backports | |
apt_repository: filename="backports" repo="deb http://http.debian.net/debian jessie-backports main" | |
- name: Add apt http support | |
apt: name=apt-transport-https,ca-certificates | |
- name: Add docker repo key | |
apt_key: keyserver=hkp://p80.pool.sks-keyservers.net:80 id=58118E89F3A912897C070ADBF76221572C52609D |
This file contains hidden or 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
[defaults] | |
inventory = ./hosts | |
[ssh_connection] | |
pipelining = True |
This file contains hidden or 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
# vim:enc=utf-8:nu:ai:si:et:ts=4:sw=4:ft=udevrules: | |
# | |
# /etc/udev/rules.d/99-vfat-media-automount.rules | |
KERNEL!="sd[b-z]*", GOTO="vfat-media-automount_end" | |
IMPORT{program}="/sbin/blkid -o udev -p %N" | |
ENV{ID_FS_TYPE}!="vfat", GOTO="vfat-media-automount_end" | |
ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}" | |
ENV{ID_FS_LABEL}=="", ENV{dir_name}="usbhd-%k" |
This file contains hidden or 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
FROM debian:stretch-slim | |
ENV RAILS_ENV=production TERM=xterm | |
ADD Gemfile Gemfile.lock package.json /home/app/ | |
RUN (echo "deb http://deb.debian.org/debian/ stretch non-free contrib" >> /etc/apt/sources.list) && \ | |
apt-get -qq update && \ | |
apt-get install -y --no-install-recommends gnupg2 ca-certificates git curl ruby2.3 ruby-dev build-essential \ | |
libpq-dev libpq5 libxml2 zlib1g-dev dumb-init libfontconfig ttf-mscorefonts-installer procps bzip2 && \ | |
(curl -sL https://deb.nodesource.com/setup_8.x | bash - ) && \ | |
gem install bundler --no-ri --no-rdoc && \ | |
groupadd -g 1000 -o app && \ |
This file contains hidden or 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
import javax.xml.bind.annotation.adapters.HexBinaryAdapter; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.InputStream; | |
import java.security.MessageDigest; | |
public class Main { | |
public static void main(String[] args) { | |
System.out.printf("JKuferek 1.0"); |
This file contains hidden or 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
# iptables-save | |
# Generated by iptables-save v1.8.7 on Sun Dec 18 17:35:25 2022 | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD DROP [0:0] | |
:OUTPUT ACCEPT [0:0] | |
:DOCKER - [0:0] | |
:DOCKER-ISOLATION-STAGE-1 - [0:0] | |
:DOCKER-ISOLATION-STAGE-2 - [0:0] | |
:DOCKER-USER - [0:0] |
OlderNewer