Skip to content

Instantly share code, notes, and snippets.

@mnowaczyk
mnowaczyk / class-ftp-implicit-ssl-tls.php
Last active December 6, 2017 11:51 — forked from maxrice/class-ftp-implicit-ssl-tls.php
Basic class to connect to an FTP server with Implicit SSL/TLS and upload a file
<?php
/**
* FTP with Implicit SSL/TLS Class
*
* Simple wrapper for cURL functions to transfer an ASCII file over FTP with implicit SSL/TLS
*
* @category Class
* @author Max Rice
* @since 1.0
*/
@mnowaczyk
mnowaczyk / rc.xml
Created February 17, 2017 20:42
Openbox configuration - splitting in half + compiz-style numpad support
<!-- Horizontal tiling -->
<keybind key="W-h">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<height>50%</height>
</action>
<action name="MaximizeHorz"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
@mnowaczyk
mnowaczyk / cue_to_mp3.py
Last active February 17, 2017 13:06 — forked from bancek/cue_to_mp3.py
CUE splitter using ffmpeg (to mp3)
#!/usr/bin/env python2
import sys
import os
if len(sys.argv) < 2:
print "usage: cue2mp3 file.cue [192k]"
exit(1)