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
# This is a config file for Zabbix Agent (Windows) | |
# To get more information about Zabbix, go to http://www.zabbix.com | |
############ GENERAL PARAMETERS ################# | |
### Option: DebugLevel | |
# Specifies debug level | |
# 0 - no debug | |
# 1 - critical information | |
# 2 - error information |
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
CC = gcc | |
CXX = g++ | |
DEFINES = -DSKYPETABNG_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED | |
CFLAGS = --target=i686-pc-linux -m32 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
CXXFLAGS = --target=i686-pc-linux -m32 -pipe -std=c++0x -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++-32 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. | |
LINK = g++ | |
LDFLAGS = --target=i686-pc-linux | |
LFLAGS = -m32 -Wl,-O1 -shared -Wl,-soname,libskypetab-ng.so.0 | |
LIBS = $(SUBLIBS) -L/usr/lib32 -lQtGui -lQtCore -lpthread |
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
#В общем в той истории с super все не совсем так. | |
#Вот как оно работает | |
class Lease < ActiveRecord::Base | |
def rate | |
(tenant && tenant.rate) ? tenant.rate : super | |
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
redirect_program /usr/bin/squidGuard | |
redirect_children 5 | |
#redirector_bypass on | |
acl direct url_regex .*hypercity.info|http://192.168.5.* | |
cache deny direct | |
always_direct allow direct | |
acl all src all | |
acl manager proto cache_object | |
acl localhost src 127.0.0.1/32 | |
acl to_localhost dst 127.0.0.0/8 |
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
listen blabla:443; | |
server_name bla; | |
ssl on; | |
ssl_certificate ssl/cert.pem; | |
ssl_certificate_key ssl/cert.key; | |
ssl_session_timeout 5m; |
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 Msgfile | |
MSGCONVERTER = "perl -w ~/bin/msgconvert.pl" | |
@path = Rails.root.join("tmp/docs").to_s | |
def self.convert_to_mime | |
Dir.chdir(@path) | |
fsnames = Dir[@path+"/*.msg"].map! {|f| escape_rus_filename(f)}.map!{|f| Rails.root.join(f).to_s } |
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
g++ -o obj/debug/extensions/externalize-string-extension.os -c -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -m64 -g -O0 -ansi -fno-rtti -fno-exceptions -fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -m64 -g -O0 -ansi -fPIC -DV8_TARGET_ARCH_X64 -DENABLE_DISASSEMBLER -DDEBUG -DV8_FAST_TLS -DENABLE_DEBUGGER_SUPPORT -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DV8_ENABLE_CHECKS -DOBJECT_PRINT -I/usr/local/include -Isrc src/extensions/externalize-string-extension.cc | |
src/extensions/externalize-string-extension.cc:55: error: 'uc16' was not declared in this scope | |
src/extensions/externalize-string-extension.cc:55: error: template argument 1 is invalid | |
src/extensions/externalize-string-extension.cc:56: error: invalid type in declaration before ';' token | |
src/extensions/externalize-string-extension.cc: In member function 'virtual v8::Handle<v8::FunctionTemplate> v8::internal::ExternalizeStringExtension::GetNativeFunction(v8::Handle<v8::String>)': | |
src/extensions/ext |
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
SHELL = /bin/sh | |
#### Start of system configuration section. #### | |
srcdir = . | |
topdir = /usr/include/ruby-1.9.1 | |
hdrdir = /usr/include/ruby-1.9.1 | |
arch_hdrdir = /usr/include/ruby-1.9.1/$(arch) | |
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby | |
prefix = $(DESTDIR)/usr |
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/local/bin/ruby | |
module DocSorter | |
extend self | |
require 'ap' | |
DOC = %w{doc docx xls odt xlsx dwg txt cdr psd ppt eml csv log xslic} | |
CODE = %w{yml sql mht htm html php rb diff conf} | |
PDF = %w{pdf} | |
GRAPH = %w{tiff jpg jpeg bmp gif png} | |
ARH = %w{zip rar 7z gz tgz bz2 bz exe jnlp msi apk xpi gem ipsw} |
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/local/bin/ruby | |
require 'ap' | |
DOCS = %w{doc docx odt xls} | |
SCANS = %w{pdf tiff jpg jpeg bmp} | |
ARCHS = %w{zip rar 7z gz tgz bz2 bz} | |
MUZ = %w{mp3 wav flac} | |
dowsdir = '/home/achernikov/Downloads' | |
docs = [] | |
archs = [] |