Month: November 2016

Linux

Lxc Container

lxc-create -t download -n my-container The download template will show you a list of distributions, versions and architectures to choose from. A good example would be “ubuntu”, “trusty” (14.04 LTS) and “i386”. How to ssh into lxc as root: 1:lxc-attach -n my-container 2:to apt-get install ssh 3:vim /etc/ssh/sshd_config 4:Go to line 28: “PermitRootLogin” Change it […]

CSS

Flexbox

Hi, i have recently discover a CSS coding pattern named as flexbox , it can do floating stuff , margin stuff easily by a line or two codes. Parent div should have the css {display:flex;} and you can play around with the variables here :- https://codepen.io/osublake/pen/dMLQJr

Back To Top