Tag Archive for config

Xml Config Entry to Write out Temporary Assemblies Created for the Serializers

<system.diagnostics>
<switches>
<add name="XmlSerialization.Compilation" value="4"/>
</switches>
</system.diagnostics>

source

YAML Config File Example

#!/usr/bin/ruby -w
require 'yaml'

config = {"pass" => "mybigsecret123", "dir"=>"/cygdrive/c/tmp/", "user"=>"gtcaz", "url"=>"http://snipplr.com"}
p config.to_yaml
open('/cygdrive/c/tmp/config.yml', 'w') {|f| YAML.dump(config, f)}
open('/cygdrive/c/tmp/config.yml') {|f| puts f.read}
conf2 = open('/cygdrive/c/tmp/config.yml') {|f| YAML.load(f) }
conf2.each{ |k, v| puts "#{k} => #{v}" }

source

mailto with config variables

{assign var=foo value=#supportmail#}
{mailto address="$foo" encode="javascript_charcode" text="E-Mail" subject="support mail"}

source

Linux – File vimrc

syntax on

set backspace=indent,eol,start
set nocompatible " rende vim compatibile a vi

set hlsearch
set incsearch
set autoindent
set textwidth=0
set ruler " fa apparire la posizione del cursore
set history=50

if has("autocmd") " permette il riconoscimento del linguaggio
filetype plugin indent on
endif

set showcmd
set showmatch

set nowrap

colorscheme delek

source

Show sound cards detected (linux)

cat /proc/asound/cards

source

robots.txt file to block all site content

User-Agent: *
Disallow: /

source

FreeBSD ipfw kernel config

machine         i386
cpu             I686_CPU
ident           MYKERNEL

options         SCHED_4BSD              # 4BSD scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
# output.  Adds ~128k to driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
# output.  Adds ~215k to driver.
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.

device          apic                    # I/O APIC
device          eisa
device          pci
device          fdc
device          ata
device          atadisk         # ATA disk drives

options         ATA_STATIC_ID   # Static device numbering

device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse
device          vga             # VGA video card driver
device          splash          # Splash screen and screen saver support
device          sc
device          sio             # 8250, 16[45]50 based serial ports
device          miibus          # MII bus support
device          dc              # DEC/Intel 21143 and various workalikes
device          tl              # Texas Instruments ThunderLAN
device          loop            # Network loopback
device          random          # Entropy device
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          bpf             # Berkeley packet filter
device          tun             # Packet tunnel.

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=5
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT
options         DUMMYNET
options         HZ=1000

source