- Login to your Unix account
- Find your current shell, the default shell and a list of all installed shells.
- current shell:
echo $0 - default shell:
echo $SHELL - all shells:
cat /etc/shells
| @mixin abs-pos($top:auto,$left:auto,$bottom:auto,$right:auto) { | |
| position:absolute; | |
| top: #{$top}px; | |
| bottom:$bottom; | |
| left:$left; | |
| right:$right; | |
| } | |
| .test { | |
| @include abs-pos($top:10,$left:10); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>index</title> | |
| </head> | |
| <body> | |
| <p></p> | |
| <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> |
| use v5.20; | |
| use feature 'signatures'; | |
| no warnings 'experimental::signatures'; | |
| sub plus($x, $y) { | |
| $x + $y | |
| } | |
| say plus(2,3); |
| # Critter.pm | |
| # | |
| package Critter; | |
| use strict; | |
| use warnings; | |
| use v5.14; | |
| sub new { | |
| my ( $cls, $name, $age ) = @_; |
/etc folder ordered by size (hint: man ls).man date)| #include <QCoreApplication> | |
| #include <QtCore/QtCore> | |
| #include "monitor.h" | |
| int main(int argc, char *argv[]) | |
| { | |
| QCoreApplication a(argc, argv); | |
| QProcess p; | |
| p.start("/bin/ls"); |
| <!DOCTYPE html> | |
| <html ng-app="Intro"> | |
| <head> | |
| <title>Hello Angular</title> | |
| <style> | |
| body { | |
| font-size: 2em; | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" /> | |
| <style> | |
| body { padding-top: 80px; } | |
| </style> | |
| </head> | |
| <body> |
| <!DOCTYPE html> | |
| <html ng-app="MyApp"> | |
| <head> | |
| <title>CoolShop</title> | |
| <style> | |
| .item label { | |
| margin: 10px; | |
| display: inline-block; | |
| min-width: 250px; | |
| } |