This file contains 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/sh | |
function fy(){ | |
echo $(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed 's/total //') | |
} | |
function fx(){ | |
echo $(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') | |
} |
This file contains 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
(new THead) | |
->setComponents([ | |
(new FiltersRow) | |
->addComponents([ | |
(new Filter((new FilterConfig())->setOperator(FilterConfig::OPERATOR_EQ))) | |
->setName('d_doc') | |
->setTemplate('*.components.filters.datetime_picker') | |
->setRenderSection('filters_row_column_d_doc') |
This file contains 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
(new TotalsRow(['posts_count', 'comments_count'])) | |
->setFieldOperations([ | |
'posts_count' => TotalsRow::OPERATION_SUM, | |
'comments_count' => TotalsRow::OPERATION_SUM, | |
]), |
This file contains 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
<small style="white-space: nowrap"> | |
<?php if (!$column->isSortedAsc() && !$column->isSortedDesc()): ?> | |
<a | |
class="text-success" | |
title="Sort ascending" | |
href="<?= $grid->getSorter()->link($column, 'ASC') ?>" | |
> | |
<span class="glyphicon glyphicon-sort" aria-hidden="true"></span> | |
</a> | |
<?php elseif ($column->isSortedAsc()): ?> |
This file contains 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
wn_window yes | |
own_window_colour 262729 | |
own_window_transparent yes | |
own_window_type panel | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | |
double_buffer yes | |
use_spacer right | |
use_xft yes | |
xftfont mono:size=9 | |
xftalpha 1 |
This file contains 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
# Use Xft? | |
use_xft yes | |
xftfont mono:size=8 | |
xftalpha 0.8 | |
text_buffer_size 2048 | |
# Update interval in seconds | |
update_interval 1 | |
# This is the number of times Conky will update before quitting. |
This file contains 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
################################# | |
# | |
# Backend | |
# | |
################################# | |
# Backend to use: "xrender" or "glx". | |
# GLX backend is typically much faster but depends on a sane driver. | |
backend = "glx"; |
This file contains 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
var elixir = require('laravel-elixir'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Elixir Asset Management | |
|-------------------------------------------------------------------------- | |
| | |
| Elixir provides a clean, fluent API for defining some basic Gulp tasks | |
| for your Laravel application. By default, we are compiling the Sass | |
| file for our application, as well as publishing vendor resources. |
This file contains 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
<script language="javascript"> | |
var deleter = { | |
linkSelector: "a[data-delete]", | |
modalTitle: "Confermi Eliminazione?", | |
modalMessage: "Questo dato non potra' essere recuperato?", | |
modalCancelButtonText:'Annulla', | |
modalConfirmButtonText: "Si Elimina!", | |
laravelToken: null, | |
url: "/", |
This file contains 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
server { | |
listen 80; | |
server_name test.app; | |
root "/var/www/html"; | |
index index.html index.htm index.php; | |
charset utf-8; | |
location / { |