Xml Config Snippet For XMLSerializer Temporary Classes
<system.diagnostics> <switches> <add name="XmlSerialization.Compilation" value="4"/> </switches> </system.diagnostics>
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
<system.diagnostics> <switches> <add name="XmlSerialization.Compilation" value="4"/> </switches> </system.diagnostics>
<?xml version="1.0" encoding="UTF-8" ?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> <pattern>%-4relative [%thread] %-5level %class - %msg%n</pattern> </layout> </appender> <!--Basic file appender<appender name="FILE" class="ch.qos.logback.core.FileAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> <pattern>%-4relative [%thread] %-5level %class - %msg%n</pattern> </layout> <File>sample-log.txt</File> </appender>--> <!--Daily rolling file appender --> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <File>logFile.log</File> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <FileNamePattern>logFile.%d{yyyy-MM-dd}.log</FileNamePattern> </rollingPolicy> <layout class="ch.qos.logback.classic.PatternLayout"> <Pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</Pattern> </layout> </appender> <logger name="deng.mysimpleapp"> <level value="debug" /> </logger> <root> <level value="error" /> <appender-ref ref="STDOUT" /> <appender-ref ref="FILE" /> </root> </configuration>
;;;Turn on time-stamp updating. Timestamp must be in first 8 lines of file and look like: ;;; Time-stamp: <> (add-hook 'write-file-hooks 'time-stamp) ;;;;;;;;;;;;;;;;;;;;;;;;; (setq time-stamp-format ; format of the stamp ;;use describe-variable for info "[%f] modified by Noah Sussman on %:a, %:y.%02m.%02d at %02H : %02M : %02S on %s" time-stamp-active t ; update timestamps time-stamp-warn-inactive t) ; warn if unable
#assuming a windows box with Cygwin installed: #save new code rsync -a --delete /cygdrive/e/cb /cygdrive/c/nsussman_thumb_drive/cb #whatever is currently in environment rsync -a --delete /cygdrive/e/environment /cygdrive/c/nsussman_thumb_drive/environment #.emacs, .abbrev-defs rsync -a --delete /cygdrive/c/.* /cygdrive/c/nsussman_thumb_drive/environment #.bashrc, .profile, .history rsync -a --delete ~/.* #emacs modules rsync -a --delete /cygdrive/c/emacs/site-lisp /cygdrive/c/nsussman_thumb_drive/environment/emacs/site-lisp
;;set up persistent.el ;;to remember histories across emacs sessions (setq persistent-session-list `(read-expression-history extended-command-history find-tag-history query-replace-history grep-history file-name-history compile-history kill-ring replace-string-history replace-regex-history query-replace-regex-history minibuffer-history shell-command-history buffer-name-history find-file-history )) (require `persistent) (persistent-session-load-from-alist) (setq persistent-session-size 500)
;;;Turn on time-stamp updating. Timestamp must be in first 8 lines of file and look like: ;;; Time-stamp: <> (add-hook 'write-file-hooks 'time-stamp) ;;;;;;;;;;;;;;;;;;;;;;;;; (setq time-stamp-format ; format of the stamp ;;use describe-variable for info "[%f] modified by Noah Sussman on %:a, %:y.%02m.%02d at %02H : %02M : %02S on %s" time-stamp-active t ; update timestamps time-stamp-warn-inactive t) ; warn if unable
;spell-checking (setq-default ispell-program-name "/Program Files/Aspell/bin/aspell.exe")
#Uncomment the following lines: LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so #Then: ProxyPass /mirr http://remotehost.com ProxyPassReverse /mirr http://remotehost.com
config = Configuration(TextFlow.defaultConfiguration).clone(); var linkNormalFormat:TextLayoutFormat = new TextLayoutFormat(); linkNormalFormat.color = 0x000000; var linkHoverFormat:TextLayoutFormat = new TextLayoutFormat(); linkHoverFormat.color = 0x999999; var defaultFormat:TextLayoutFormat = new TextLayoutFormat(); defaultFormat.paddingTop = 6; defaultFormat.color = 0x333333; defaultFormat.textAlign = TextAlign.JUSTIFY; defaultFormat.textAlignLast = TextAlign.JUSTIFY; defaultFormat.fontSize = 10; defaultFormat.lineHeight = 12; defaultFormat.fontLookup = FontLookup.EMBEDDED_CFF; defaultFormat.typographicCase = TypographicCase.UPPERCASE; defaultFormat.renderingMode = RenderingMode.CFF; defaultFormat.fontFamily = FontsManager.NOVAMONO; config.textFlowInitialFormat = defaultFormat; config.defaultLinkNormalFormat = linkNormalFormat; config.defaultLinkHoverFormat = linkHoverFormat; config.overflowPolicy = OverflowPolicy.FIT_DESCENDERS; textFlow = new TextFlow(config);
###configuration feedit plugin.tx_newsfeedit_pi1.mthfeedit { #allowedGroups = 1 pid = 722 infomail = 1 fe_cruser_id = tx_newsfeedit_fe_cruser_id fe_crgroup_id = tx_newsfeedit_fe_crgroup_id fe_crgroup_id = 0 create.overrideValues { hidden = 0 } create.defaultValues { hidden = 0 datetime = now category = {$blogcategory} } create.evalValues { title = required } }