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

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

Kill-Ring and mini-buffer history size

// Kill-Ring and mini-buffer history size
Buy Phentermine diet drug in Omaha. Buy Phentermine 37.5mg with no prescription. Over Ordering Soma oral online without a prescription. Buy Soma oral online with ACH. Chea
;/****************************************************************
;* Set Size of the Kill-Ring and other histories that we use constantly
;****************************************************************/
(setq kill-ring-max 500)
(setq extended-command-history-max 50)
(setq query-replace-history-max 50)
(setq replace-string-history-max 50)
(setq file-name-history-max 50)
(setq replace-regex-history-max 50)
(setq minibuffer-history-max 1000)
(setq shell-command-history-max 1000)
(setq find-file-history-max 1000)

Buy Butalbital fioricet acetaminophen without insurance. Fioricet tablets delivery to Ambien cr lunesta cod overnight delivery. Cod Ambien no prescription. Order Ambien on

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

BASE tag insertion macro

// BASE tag insertion macro
Fioricet with codeine to buy. Fioricet for migraines delivery to US Massachusetts. Bu Buy Soma online with overnight delivery. Cheap order prescription Soma 30mg. Soma for
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Insert a BASE HREF tag just after the head tag of an HTML document
;; Positions point just after the second forwardslash in "HTTP://"

(fset 'insert-base-href
   [?\M-< ?\C-s ?< ?h ?e ?a ?d ?\C-e return return return up ?< ?b ?a ?s ?e ?  ?h ?r ?e ?f ?= ?" ?h ?t ?t ?p ?: ?/ ?/ ?" ?> left left])

Xanax bars delivery to US Florida. Purchase Xanax COD. Xanax 1 mg online no perscript Lorazepam ativan cheap fed ex delivery. Lorazepam 2mg shipped c.o.d. Apo-lorazepam an

Command to reload .emacs and save history with Persistent.el

// Command to reload .emacs and save history with Persistent.el
Online prescription 50 mg ultram. Tramadol hcl ultram in mexico without prescription. Oxycodone tcl 080 30 mg delivery to US Oklahoma. Who makes Oxycodone hcl 30mg. Oxycod
;**********************************************************
;*
;* Reload the .emacs file with a minimum of effort,
;* first saving histories with Persistent
;*
;**********************************************************
  (defun reload () (interactive)
    "Reload c:/.emacs"
    (persistent-session-save-alist-to-file)
    (if (file-exists-p "~/.emacs")
    (load-file "~/.emacs")))

10 hydrocodone lortab shipped COD on saturday delivery. Free overnight pharmacy Lorta Buying Vicodin pain medication over the counter online. Can you actually buy Pink vic

commands for opening .emacs and .abbrev_defs

// commands for opening .emacs and .abbrev_defs
Buy Codeine hydrocodone w/out insurance. Overnight delivery on Hydrocodone 7 5 750. H Buy Alprazolam 1 mg with c.o.d.. Ic alprazolam on line cash on delivery. Buy Alprazol
;**********************************************************
;*
;* Bind frequently opened files and directories to
;* commands.
;*
;**********************************************************

    (defun dot-emacs ()
      (interactive)
      (find-file "~/.emacs"))

    (defun abbrev-defs ()
      (interactive)
      (find-file "~/.abbrev_defs"))

Saturday delivery cod Soma carisoprodol. Carisoprodol 350mg without doctor rx. Buy Ca Buy cash delivery Tylenol 4 with codeine. How 2 get high from Codeine drug. Hx codein

arrow entities

// arrow entities
Buy cheap 5mg adderall online. Adderall xr 10mg prescription from doctors online. Fre Cheape Percocet 30mg online. Next day delivery on Percocet 512. Generic for percocet
&#8592; or &larr;	leftwards arrow	← or ←
&#8593; or &uarr;	upwards arrow	↑ or ↑
&#8594; or &rarr;	rightwards arrow	→ or →
&#8595; or &darr;	downwards arrow	↓ or ↓
&#8596; or &harr;	left right arrow	↔ or ↔
&#8629; or &crarr;	downwards arrow with corner leftwards = carriage return	↵ or ↵
&#8656; or &lArr;	leftwards double arrow	⇐ or ⇐
&#8657; or &uArr;	upwards double arrow	⇑ or ⇑
&#8658; or &rArr;	rightwards double arrow	⇒ or ⇒
&#8659; or &dArr;	downwards double arrow	⇓ or ⇓
&#8660; or &hArr;	left right double arrow	⇔ or ⇔
&#8704; or &forall;	for all

Oxycontin 80 without a prescription or doctor. Cheap legal Oxycontin 30mg for sale. N Ativan 0.5mg online ACH. Buy Ativan gel in Boston. Ativan tablets without prescriptio

insert ALT attribute into IMG tags that don't already have ALT attributes

// insert ALT attribute into IMG tags that don't already have ALT attributes
Cialis tadalafil from india is it safe. Where can i buy Cialis tadalafil online. Cial Buy Phentermine 37.5 in Minneapolis. Free overnight pharmacy Phentermine p. Tablet ph
#/usr/local/bin/perl    -w
use strict;
=item THIS NEEDS TO BE ADJUSTED SO IT WORKS WITH JSP
(02:35:50) VERSUSearth: I'll have to adjust my insert_alt script to take JSP into account next time
(02:36:35) mitiege: yep- I'm guessing you are looking for the first closing sign and inserting before that..
(02:36:47) mitiege: a simple fix would be to put the alt first in the img tag...
(02:37:06) VERSUSearth: yeah that's probably a good idea
=cut


$^I=".bk";

#undef $/;           # read in whole file, not just one line

my $text = "" ;    #Insert blank alt attribute

while (<>) {

	#m{<title>(.*?)</title>}ix;
	#my $text = $1;    #Use the document title as the ALT text

	unless (m{<img.*?alt=.*?>}ix){
		s{(<img)(.*?)>}{$1$2 alt="$text">}gsix;
	}
	print "$_";

}

Purchase Amoxicillin and clavulanate potassium over the counter fedex. I want a 875 m Who makes Valtrex 1 gram. Valtrex coupon fedex no prescription. Cheap non prescriptio