Skip to content

Instantly share code, notes, and snippets.

View technogoat's full-sized avatar

Naum Kostovski technogoat

View GitHub Profile
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
<div data-role="page" data-theme="e">
<div data-role="header">
<h1>My Title</h1>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li>Page 1</li>
<li>Page 2</li>
<li>jQuery Mobile</li>
sudo apt-get install ssh
sudo useradd -s /bin/rbash guest
sudo passwd guest
sudo mkdir /home/guest
trap "" 2 3 19 # stop user getting to shell
clear
echo "Welcome to pair-programming session"
echo -n "Press Enter to continue..." && read
screen -x dalibor/pairprog
exit
sudo apt-get install screen
sudo chmod +s /usr/bin/screen
sudo chmod 755 /var/run/screen
hardstatus on
hardstatus alwayslastline
startup_message off
termcapinfo xterm ti@:te@
hardstatus string "%{= kG}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
screen -t bash1 1
# multiuser setup
multiuser on
aclchg guest -wx "#,?"
screen -S pairprog
ssh guest@host