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
- Во Google Spreadsheet, избери File->Download as->Web page (zip) | |
- Отпакувај го зипот | |
- Отвори го фајлот со ценовникот (нпр. основни-модули.html) | |
- Отвори го фајлот resources/sheet.css и копирај ја целата содржина (вообичаено, има еден ред) | |
- Во датотеката со ценовникот | |
- Стави таг <style type="text/css"> | |
- На почетокот, вметни го копираниот CSS | |
- После тоа, вметни го следниов код: | |
.waffle {overflow-x:scroll;overflow-y:visible;width:100%;margin-left: 238px;} | |
th:first-child, thead {display:none;} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | |
<title> | |
Google Visualization API Sample | |
</title> | |
<script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
<script type="text/javascript"> | |
google.load('visualization', '1', {packages: ['controls']}); |
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
var codes_pf500 = { | |
adjust_date : Chr(61), // 3D | |
open_smetka : Chr(48), // 30 | |
close_smetka : Chr(56), // 38 | |
open_storno : Chr(85), // 55 | |
close_storno : Chr(86), // 56 | |
stavka : Chr(49), // 31 | |
vtor_red : Chr(10), // 0A | |
kraj_opis : Chr(9), // 09 |
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
<style> | |
#jQ, #van { | |
width:76px; | |
height:76px; | |
padding:24px; | |
border:2px solid; | |
border-radius:8px; | |
cursor:pointer; | |
} |
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
for i in *.jpg; | |
do | |
convert "$i" "${i%.*}.tif"; | |
done |
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
var domIsReady = (function(domIsReady) { | |
var isBrowserIeOrNot = function() { | |
return (!document.attachEvent || typeof document.attachEvent === "undefined" ? 'not-ie' : 'ie'); | |
} | |
domIsReady = function(callback) { | |
if(callback && typeof callback === 'function'){ | |
if(isBrowserIeOrNot() !== 'ie') { | |
document.addEventListener("DOMContentLoaded", function() { | |
return callback(); |
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
var html5datetime = moment(yourDate).format('YYYY-MM-DDTHH:mm:ssZ') |
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
security.insecure_field_warning.contextual.enabled = false | |
signon.autofillForms.http = true |
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 nzBool(val, def_val) { | |
var ret_val = val; | |
if (typeof def_val == "undefined" || def_val === null || def_val.length === 0) { | |
def_val = false; | |
} | |
if (typeof(val) == "undefined" || val === null || val.length === 0) | |
ret_val = def_val; | |
else if (typeof(val) == 'number') |
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 | |
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'|grep -E "(image|headers)" | xargs sudo apt-get -y purge |