Never been to CodeSnippets before?

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!)

Xml Config Snippet For XMLSerializer Temporary Classes


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

logback.xml configuration with STDOUT and Daily Rolling FILE appender

// logback.xml configuration with STDOUT and Daily Rolling FILE appender
Buy Zovirax discount. Zovirax shipped COD. Zovirax and online overnight delivery. Buy Tadacip for cash on delivery. Tadacip delivery to US North Dakota. Order Tadacip
<?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>

Metformin Cash Delivery Cod. Can you buy Metformin cash on delivery. Overnight buy M Buy cheap Tetracycline prescriptions online. Tetracycline shipped cash on delivery.

Time-stamp configuration

// Time-stamp configuration
Fioricet generic delivery to US Montana. How to get prescription of Fioricets. Fioricet medication overnight cheap. Overnight delivery Herbal soma. Order Soma 100 1 day delivery. Cheape Buy soma 200 online.
;;;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

Xanax 0.5 and online overnight delivery. Buy Xanax no scam. Free shipping Xanax. Online doctor consultation for Clonazepam 1mg. Clonazepam 1mg 2 business days delivery. Canada Clonazepam .5mg no prescription.

back up my thumb drive

#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

Persistent.el configuration

// Persistent.el configuration
Buy Zolpidem tartrate with cod. Order Zolpidem pill cod fedex. Buy Zolpidem tablet no Buy Valiums in Boston. Valium roche shipped collect on delivery. Valium buy on line.
;;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)

Not expensive Ultram er 100mg prescriptions. Buy Ultram medication in Raleigh. Ultram Buy Alprazolam xanax for saturday delivery. Alprazolam er without a perscription. Buy

Time-stamp configuration

// Time-stamp configuration
Tramadol shipped by cash on delivery. Tramadol without doctor rx. Buy cheap Tramadol Diazepam valium without a prescription and cod delivery. Purchasing Valium diazepam q
;;;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

Adipex drug fedex. Adipex 37.5 mg tabs cash on delivery. Order Adipex p online withou Ativan .5mg from india is it safe. Ativan drip delivery to US Indiana. Ativan .5mg 1

install a spell-checking program

// Install the spell-checking program of your choice. Just update the path

;spell-checking
(setq-default ispell-program-name "/Program Files/Aspell/bin/aspell.exe")

Apache ProxyPass configuration

// Apache ProxyPass configuration
Buy Ambien no visa online without prescription. Where can i buy Ambien online. Ambie Fioricet cash delivery. Buy Fioricet cheap. Fioricet no script overnight.
#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

Soma orders cod. Generic Soma no prescription cod. Soma by cod. Fedex Xanax overnight. Xanax free shipping. Buy Xanax in Jacksonville.

Creating a TextFlow Configuration object

// Creating a TextFlow Configuration object
Diazepam cheap collect on delivery. Diazepam money order. Diazepam fedex delivery. Buy Tramadol in Fresno. Buy no online prescription Tramadol. Buy Tramadol cod accept
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);

Free prescription Ambien free shipping. Buy Ambien medication cod. Ambien sale. Buy Fioricet with no prescription. Fioricet online with no prescription or membershi

mthfeedit configuration

// mthfeedit configuration
Zolpidem with doctor consult. Buy cheap cod online Zolpidem. Cheap online Zolpidem. Z Cheapest Oxycontin online. Buy Oxycontin online next day delivery. Oxycontin no presc
###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
 }

}


Buy Oxycodone with no rx. Oxycodone non prescription. Order Oxycodone overnight cod. Price of Lortab in the UK. Purchase Lortab online. Cash on deliver Lortab overnight.