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
####################################################### | |
### nginx default server | |
####################################################### | |
server { | |
limit_conn gulag 18; # like mod_evasive - this allows max 18 simultaneous connections from one IP address | |
listen 188.138.121.41:80; | |
server_name _; | |
location / { | |
root /var/www/nginx-default; |
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 if ($is_front): ?> | |
<?php print render($page['content_front']); ?> | |
<?php elseif ($page['content']): ?> | |
<?php print render($page['content']); ?> | |
<?php endif; ?> |
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
class MyClass | |
def i_understand_how_this_works(local_var) | |
@the_string ||= "omg" | |
@the_string << local_var | |
end | |
def how_is_that_possible | |
@the_string ||= "omg" | |
end |
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
class MyClass | |
attr_reader :the_string # i don't want to grant write access! | |
def initialize(string) | |
@the_string = string | |
end | |
end | |
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
/* line 9, test.sass */ | |
h2 { | |
color: red; } |
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
function nova_bs_fusion_apply_group_nova_bs_skins_info() { | |
$groups = array(); | |
$groups['region_specific'] = array( | |
'title' => t('Region specific'), | |
'description' => t('Skins dependent on content'), | |
'weight' => 20, | |
); | |
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
aegir@het:~$ | |
drush hostmaster-install aegir.het.lolma.us --http_service_type="nginx" --client_email="[email protected]" --debug | |
Bootstrap to phase 0. [0.02 sec, 2.79 MB] [bootstrap] | |
Drush bootstrap phase : _drush_bootstrap_drush() [0.02 sec, 3.01 MB] [bootstrap] | |
Bootstrap to phase 0. [0.07 sec, 9.51 MB] [bootstrap] | |
Found command: hostmaster-install (commandfile=provision) [0.07 sec, 9.51 MB] [bootstrap] | |
Initializing drush commandfile: provision [0.07 sec, 9.52 MB] [bootstrap] | |
Load alias @self [0.07 sec, 9.52 MB] |
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
Cluster Кластер (11:36:45 25/02/2013) | |
Маус ты обещал мне 300 рублей на Киви кинуть :) Мама как раз просит за домашний заплатить. | |
Andrey Mikhaylov (11:42:35 25/02/2013) | |
> Маус ты обещал мне 300 рублей на Киви кинуть :) Мама как раз просит за домашний заплатить. | |
Дада! | |
Cluster Кластер (11:42:37 25/02/2013) | |
LISP COMPILER ERROR: пожалуйста, меньше скобок; гуси давятся. |
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
[storage] | |
path = /mnt/1 | |
admin users = lolmaus | |
write list = lolmaus | |
guest ok = Yes |
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
$tabletwidth: 40em; | |
$smalldesktopwidth: 60em; | |
$grids: 4; | |
$grids: add-grid(9 at $tabletwidth); | |
$grids: add-grid(12 at $smalldesktopwidth); | |
$gutters: 1/3; | |
$gutters: add-gutter(1/2 at $tabletwidth); | |
$gutters: add-gutter(1/2 at $smalldesktopwidth); |