Skip to Search
Skip to Navigation
Skip to Content
Community
|
Code
|
Docs
|
Downloads
▼
Perl
Python
Tcl
Komodo IDE
|
more
▼
Lists
Support
PPM Index
PyPM Index
Welcome, guest
|
Sign In
|
My Account
|
Store
|
Cart
ActiveState Code
»
Recipes
Languages
Tags
Authors
Sets
Latest recipes by Trent Mick
Tags:
Recipe 1 to 20 of 28
« Prev
1
2
Next »
10
k
views
1
score
slugify: make a string usable in a URL or filename
JavaScript
/
filename
,
nodejs
,
slug
,
slugify
,
url
/
by
Trent Mick
(12 years ago, revision 2)
29
k
views
3
score
nicerest: pretty-print JSON output
JavaScript
/
curl
,
json
,
node
,
nodejs
,
rest
/
by
Trent Mick
(13 years ago, revision 3)
41
k
views
1
score
Perl URL encode and decode
Perl
/
decode
,
encode
,
url
/
by
Trent Mick
(13 years ago)
13
k
views
2
score
quick 3-column grid CSS
CSS
/
column
,
grid
,
layout
/
by
Trent Mick
(13 years ago)
10
k
views
2
score
node.js quicklog method to log to a file
JavaScript
/
logging
,
nodejs
/
by
Trent Mick
(13 years ago)
5
k
views
1
score
Using a getter for a one-time calculation of a JavaScript object attribute
JavaScript
/
getter
,
performance
/
by
Trent Mick
(13 years ago)
164
k
views
1
score
subtract or add a month to a datetime.date or datetime.datetime
Python
/
date
,
datetime
,
month
/
by
Trent Mick
(13 years ago)
13
k
views
1
score
Python script main line for graceful exception handling and logging
Python
/
error
,
logging
,
main
,
mainline
,
script
/
by
Trent Mick
(13 years ago, revision 5)
28
k
views
2
score
slugify: make a string usable in a URL or filename
Python
/
ascii
,
django
,
filename
,
slug
,
slugify
,
url
/
by
Trent Mick
(13 years ago, revision 2)
10
k
views
0
score
file path generator from path patterns
Python
/
cli
,
files
,
path
,
paths
,
walk
/
by
Trent Mick
(13 years ago, revision 4)
4
k
views
0
score
write_path and load_path methods for file generation scripts
Python
/
files
/
by
Trent Mick
(13 years ago, revision 7)
37
k
views
3
score
parse a date/time string to a `datetime` instance
Python
/
date
,
datetime
,
parse
,
time
/
by
Trent Mick
(14 years ago, revision 2)
28
k
views
5
score
transform command line arguments to args and kwargs for a method call
Python
/
argv
,
cli
,
json
/
by
Trent Mick
(14 years ago, revision 2)
7
k
views
1
score
query
Python
/
ask
,
cli
,
query
,
raw_input
/
by
Trent Mick
(14 years ago)
7
k
views
1
score
command line query
Python
/
ask
,
cli
,
query
,
raw_input
/
by
Trent Mick
(14 years ago, revision 3)
10
k
views
3
score
query yes/no/quit
Python
/
ask
,
cli
,
no
,
query
,
quit
,
raw_input
,
yes
/
by
Trent Mick
(14 years ago)
6
k
views
1
score
query custom answers
Python
/
cli
,
query
/
by
Trent Mick
(14 years ago)
38
k
views
2
score
query yes/no
Python
/
ask
,
cli
,
no
,
query
,
raw_input
,
yes
/
by
Trent Mick
(14 years ago, revision 2)
14
k
views
2
score
send a multipart email
Python
/
email
,
multipart
,
smtp
/
by
Trent Mick
(14 years ago, revision 2)
10
k
views
0
score
touch
Python
/
file
,
shell
,
touch
,
unix
/
by
Trent Mick
(14 years ago)
Recipe 1 to 20 of 28
« Prev
1
2
Next »
View
popular
,
latest
,
top-rated
or
most viewed
Feed of the latest recipes by Trent Mick
Top-rated recipes
transform command line arguments t…
(Python)
nicerest: pretty-print JSON output
(JavaScript)
parse a date/time string to a `dat…
(Python)
query yes/no/quit
(Python)
a friendly mkdir()
(Python)
quick 3-column grid CSS
(CSS)
node.js quicklog method to log to …
(JavaScript)
slugify: make a string usable in a…
(Python)
query yes/no
(Python)
send a multipart email
(Python)
x
Undo