CUBISTCODE

CUBISTCODE

functions

1 2

PHP Twist key => value array from CSV file
This function will take an indexed array of key -> value rows and transform it to a key -> value array of arrays.

PHP Download String
This PHP function will send the proper headers to download a string variable as a file to the user's computer.

How to start X on Linux window manager login
If you've changed your window manager in Linux from the default GNOME or KDE desktop and now log in to a console text screen, here's how to get your new window manager to startup automatically when you login. Startup items for Linux!

Unix Shell Command to Count Files Recursively
Use this Bash shell pipe command to count all files in all subdirectories under the current working directory. Uses find utility and wc

Python playlist parser
Python functions to parse music file metadata information from an m3u playlist. Can be used to build a music library manager utility. Code is from the Exaile project.

1 2




Privacy Policy | Copyright/Trademark Notification