Quantcast
Channel: Recent Gists from lpar
Browsing all 30 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Simple JavaScript slideshow - no frameworks, no CSS3, no Flash

index.html This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article



Brief demonstration of using character encodings in Ruby 1.9

example.rb This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article

Ruby script I use to convert FLAC files to MP3, and then copy the metadata...

flac2mp3.rb This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article

Google Reader to Evernote. Quick hack together of a Ruby script which will...

reader2evernote.rb This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden...

View Article

Example of LDAP authentication in Ruby. Written for IBM Intranet, but should...

ldapauth.rb This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article


Report the first 10 lines of all files on the command line, transparently...

logreport.rb This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article

Minimal example of a 4-verb REST service in IBM Domino XPages, with no...

REST.xsp This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article

Shell script to make a shared Git repository

makerepo This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article


How to access an IBM Domino server from JDK 8 command-line JavaScript, using...

corba.js This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article


Simple Perl script for mbox to Maildir conversion - I used this and it worked...

mbox2maildir.pl This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article

Main Dovecot configuration file /etc/dovecot/conf.d/10-mail.conf

10-mail.conf This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article

Set up Java on Linux

java-install This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article

Somebody set us up the BOM!

bom.c This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article


Domino XPages directory name picker using standard Directory API, compatible...

DirectoryNamePicker.java This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden...

View Article

Clean up download files.applescript

Clean up download files.applescript This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that...

View Article


A detailed example of reflection in Go, interrogating and modifying field...

reflection.go This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article

Go programming exercise: generating all combinations of an alphabet of symbols

combos This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article


How to make Hugo (0.20+) generate an Atom feed instead of RSS

README.mdThe Hugo static site generator sadly still uses the obsolete and badly standardized RSS format.Here's how to set it up to generate an Atom feed instead. Pretty much all feed readers which...

View Article

keybase.md

keybase.mdKeybase proofI hereby claim:I am lpar on github.I am meta23 (https://keybase.io/meta23) on keybase.I have a public key ASA7PxMoCOU9rSoehhs8ukKvGYk1ioM4GLQ-OTQslBIV3woTo claim this, I am...

View Article

Fish shell script to run ssh-agent correctly, i.e. only start a new one when...

ssh-agent.fish This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

View Article
Browsing all 30 articles
Browse latest View live




Latest Images