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 characters.
Learn more about bidirectional Unicode characters
<?php | |
class mod_videoattach { | |
var $myPage; | |
function mod_videoattach() { | |
global $PMS; | |
$PMS->hookModuleMethod('ModulePage', 'mod_videoattach'); |
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 characters.
Learn more about bidirectional Unicode characters
class Thumb extends Backbone.Model | |
defaults: | |
uri: '' | |
state: '' | |
select: (state) -> | |
st = '' | |
st = 'selected' if state | |
@set('state' : st) |
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 characters.
Learn more about bidirectional Unicode characters
<?php | |
class mod_jscheckrenzoku{ | |
const COOKIE_LASTSUBMIT = "lastSubmit"; | |
public function mod_jscheckrenzoku() { | |
} | |
function getModuleName() { |
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 characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Ranking Library | |
* contains alogrithms for story ranking | |
* Basically a PHP Implementation of reddits algorithms | |
* | |
* @author Lucas Nolte <[email protected]> | |
* @since 0.1 | |
* @package Polska Wiadomosc | |
* @subpackage Libraries |
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 characters.
Learn more about bidirectional Unicode characters
PROJECT MOVED TO https://github.com/Ovea/cors | |
/** | |
* https://gist.github.com/1114981 | |
* | |
* By default, support transferring session cookie with XDomainRequest for IE. The cookie value is by default 'jsessionid' | |
* | |
* You can change the session cookie value like this, before including this script: | |
* | |
* window.SESSION_COOKIE_NAME = 'PHP_SESSION'; |
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 characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Clean HTML string removing all element attributes and elements which are | |
* not in the provided whitelist (but keeping their allowed children). | |
* | |
* @see https://github.com/alixaxel/phunction/blob/master/phunction/HTML.php | |
* @param string $html to clean | |
* @param array $whitelist | |
*/ | |
function clean_html($html, array $whitelist) |
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 characters.
Learn more about bidirectional Unicode characters
https://wiki.samba.org/index.php/Samba_4/OS_Requirements#Debian_or_Ubuntu | |
http://www.samba.org/ |
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 characters.
Learn more about bidirectional Unicode characters
yum-builddep imagemagick | |
wget http://www.imagemagick.org/download/ImageMagick.tar.gz | |
tar -zxf ImageMagick.tar.gz | |
cd ImageMagick-6.8.5 | |
./configure | |
make && make 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 characters.
Learn more about bidirectional Unicode characters
apt-get install libavcodec-dev | |
http://www.ffmpeg.org/releases/ffmpeg-1.2.1.tar.gz | |
http://www.phash.org/download/ | |
https://github.com/polachok/py-phash |
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 characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# /etc/rc.d/init.d/supervisord | |
# | |
# Supervisor is a client/server system that | |
# allows its users to monitor and control a | |
# number of processes on UNIX-like operating | |
# systems. | |
# | |
# chkconfig: - 64 36 |
OlderNewer