Skip to content

Instantly share code, notes, and snippets.

View KlimDos's full-sized avatar
🐢

Sasha Alimov KlimDos

🐢
View GitHub Profile
@KlimDos
KlimDos / README.md
Created June 10, 2021 10:50 — forked from joyrexus/README.md
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
#!/bin/sh
cat <<EOF >/app/index.html
<html>
<head/>
<body>
<!-- IMAGE BEGINS HERE -->
<style type="text/css">
@import url("https://fonts.googleapis.com/css?family=Inconsolata|Roboto+Mono|Ubuntu+Mono|Cutive+Mono");
pre{
display: inline-block;
version: '3.3'
services:
logspout:
image: gliderlabs/logspout:latest
command: 'udp://logstash:5000'
links:
- logstash
volumes:
- '/var/run/docker.sock:/tmp/docker.sock'
depends_on:
version: '3'
services:
nginx-proxy:
image: jwilder/nginx-proxy
restart: always
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
@KlimDos
KlimDos / vs-code-workspace-my-home-projects.code-workspace
Last active February 2, 2019 19:29
vs-code-workspace-my-home-projects.code-workspace
{
"folders": [
{
"path": "my-git/polo-aws-infra-pub"
},
{
"path": "my-git/my_ansible_stuff"
}
],
"settings": {
---
- hosts: all:target_hosts
roles:
#- { role: devmount, when: init == 'true' }
#- { role: os-basic, when: init == 'true' }
#- { role: users, when: init == 'true' }
#- { role: java, when: (init == 'true' and srv_name != 'admin-portal') }
#- { role: java, when: init == 'true' }
tasks:
- name: ping
#!/bin/bash
#####################################################################
# the script is responsible to install MongoDB into the Ubuntu instance
# ROOT access required
#####################################################################
# create a folder for application
mkdir ~/app
# clone repository
git clone https://github.com/Artemmkin/reddit.git ~/app/
# browse to app folder