Airbnb: http://nerds.airbnb.com
Balanced: http://blog.balancedpayments.com
Dropbox: https://tech.dropbox.com
CodeRanger: https://coderanger.net
Cloudera: http://blog.cloudera.com/blog/
| #!/bin/bash | |
| user=$1 | |
| if useradd -G sftponly -s /bin/false -m ${user} | |
| then | |
| mkdir -p /chroot/${user}/home/${user} | |
| chown ${user}.root /chroot/${user}/home/${user} | |
| cp -pr /etc/skel/* /chroot/${user}/ | |
| chown root.root /chroot/${user} |
| #!/bin/bash | |
| today=$(date '+%Y-%m-%d') | |
| pathdst=/Volumes/backup/bkp-${today} | |
| pathsrc=/Users/gabrielfrancisco/Documents | |
| lastbkp=/Volumes/backup/lastbkp | |
| rsync -avrP --link-dest=${lastbkp} $pathsrc $pathdst | |
| unlink ${lastbkp} |
| Subsystem sftp "internal-sftp -u 0002" | |
| Match Group sftponly | |
| ChrootDirectory %h | |
| AllowTCPForwarding no | |
| X11Forwarding no | |
| ForceCommand internal-sftp -u 0002 |
| ./configure --with-aio --enable-debug | |
| needs: | |
| build-essential libacl1-dev libattr1-dev libkrb5-dev libaio-dev python2.7-dev dmapi-dev \ | |
| libdmalloc-dev libdmapsharing-3.0-dev libldap2-dev libreadline-dev libpam-dev libsasl2-dev \ | |
| libgnutls-dev libncurses5-dev lintian libctdb-dev libavahi-common-dev libavahi-client-dev \ | |
| libtalloc-dev python-ldb-dev xsltproc |
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| my @dmesg_new = (); | |
| my $dmesg = "/bin/dmesg"; | |
| my @dmesg_old = `$dmesg`; | |
| my $now = time(); | |
| my $uptime = `cat /proc/uptime | cut -d"." -f1`; |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Fcntl; | |
| my $filename = '/var/log/maillog'; | |
| #my $sqltemp = '/tmp/.sqltemp-emails.sql'; | |
| my %hash = (); | |
| my $data; |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: fucking | |
| # Required-Start: $local_fs $remote_fs $network $syslog | |
| # Required-Stop: $local_fs $remote_fs $network $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: starts the fucking daemon | |
| # Description: starts fucking daemon using start-stop-daemon |
| <VirtualHost *:443> | |
| # hostname, URL. | |
| ServerName placeholder.com.br | |
| # local dos arquivos do site. | |
| DocumentRoot /var/www/placeholder | |
| # log de erro e acesso do servidor web. | |
| ErrorLog ${APACHE_LOG_DIR}/placeholder.com.br-error | |
| CustomLog ${APACHE_LOG_DIR}/placeholder.com.br-access combined |
Airbnb: http://nerds.airbnb.com
Balanced: http://blog.balancedpayments.com
Dropbox: https://tech.dropbox.com
CodeRanger: https://coderanger.net
Cloudera: http://blog.cloudera.com/blog/
I hereby claim:
To claim this, I am signing this object: