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
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r -n | |
164 cd | |
162 ls | |
132 cat | |
88 tail | |
80 top | |
68 aptitude | |
49 /etc/init.d/apache2 | |
35 vim | |
22 exit |
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
cat .sqlite_history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r -n | |
98 INTO | |
2 |
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
cat /var/www/.bash_history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r -n | |
185 up | |
68 up;sake | |
52 ListenerDaemon.log | |
48 | |
27 -start | |
26 -stop | |
13 ListenerDaemon.err | |
11 dev/build | |
10 ../log/error.log |
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
<VirtualHost *:80> | |
ServerName vcap.me | |
ServerAlias *.vcap.me | |
VirtualDocumentRoot "d:\wamp\www\%1" | |
ErrorLog "logs\errors.log" | |
<directory "d:\wamp\www\%1"> | |
Options Indexes FollowSymLinks | |
AllowOverride all | |
Order Deny,Allow | |
Deny from all |
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
<VirtualHost *:80> | |
ServerName vcap.me | |
ServerAlias *.vcap.me | |
VirtualDocumentRoot "/home/~user/htdocs/%1" | |
ErrorLog "logs/errors.log" | |
<directory "/home/~user/htdocs/%1"> | |
Options Indexes FollowSymLinks | |
AllowOverride all | |
Order Deny,Allow | |
Deny from all |
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
input, textarea, select, input.action { | |
.form-control; | |
} | |
.field, input.action, .Actions { | |
.col-xs-6; | |
} |
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
<?php | |
/** | |
* @author Simon 'Sphere' Erkelens | |
* This little task clears out the caches for the current website on Twisted Bytes servers with Varnish. | |
*/ | |
class FlushCaches extends BuildTask | |
{ | |
public function __construct() |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "twistedbytes/webserver" | |
if Vagrant.has_plugin?("vagrant-cachier") | |
# Configure cached packages to be shared between instances of the same base box. | |
# More info on http://fgrehm.viewdocs.io/vagrant-cachier/usage | |
config.cache.scope = :box |
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
<?php | |
class MysiteRequirementsBackend extends Requirements_Backend { | |
/** | |
* Register the given JavaScript file as required. | |
* | |
* @param string $file Relative to docroot | |
*/ | |
public function javascript($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
#!/usr/bin/php | |
<?php | |
/** | |
* .git/hooks/pre-commit | |
*/ | |
/** | |
* collect all files which have been added, copied or | |
* modified and store them in an array called output | |
*/ |
OlderNewer