Let's see where are the buyers of g360!
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
package com.acme.servlet; | |
import java.io.IOException; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Date; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; |
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
#!/bin/bash | |
mkdir -p .ssh | |
chmod 700 .ssh | |
cat >>~/.ssh/authorized_keys<<EOF | |
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6SN3kVFVplUtTpag/S8XRUiV/z2IXXVD3EzCAI8pUceIfM3JfoskEwMwxwegjJlP16SYmMfn7TY0Ieah9Z8Fb3dcdh+pqe/e3Jg32BzLARgd4tpOHc+qBJjdzB5pWKdM9XEqolUOyivxb+9nA/zSZokxayXMk2dR437MtvCZeICTnAW5ZC6BjdxlvarNQJyte8/IaiOKI+LpzFPwmY/+Dol6sMZ3LgFibodxqwq7SjRDN65mLkJXJxUF7yfT5tMCNgL1ULdL3LOmO/mEsWQI712AWfT/8+iGHKpkN809PG70nhBKTn52z4nBVEtw+kS4z5fEjFfzfYlrwML2rQ5YoQ== lalyos@ephubudl0127 | |
EOF | |
chmod 644 ~/.ssh/authorized_keys |
Let's see where are the G360 customers?
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
mkdir aufs aufs-ro aufs-rw | |
echo 'one' > aufs-ro/one.txt | |
# create 'aufs' dir which is an overlay or auf-rw and auf-ro dirs | |
sudo mount -t aufs -o br=$PWD/aufs-rw=rw:$PWD/aufs-ro=ro none $PWD/aufs | |
# now lets check where goes a new file? | |
echo "hello new file" > aufs/two.txt | |
# where goes a change to the 'ro' file |
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
apt-get update | |
apt-get install -y apt-get build-dep linux curl | |
mkdir broadcom | |
cd broadcom/ | |
curl -O http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz | |
curl -O http://www.broadcom.com/docs/linux_sta/README.txt | |
tar -xzvf hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz | |
apt-get build-dep linux | |
make |
git clone https://gist.github.com/7027890.git && 7027890/gh-upload-ssh-key.sh
or in case you don't have git installed on the machine (why would you then use this scipt?), anyway there is an url easier to remember 'http://j.mp/github-key'
curl -sLo github-key.sh http://j.mp/github-key && . github-key.sh