Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
#!/bin/bash | |
cronline="* * * * * /usr/bin/bash /root/movetos3.sh 1> /root/movetos3-log.txt 2> /root/movetos3-err.txt" | |
(crontab -u root -l; echo "$cronline" ) | crontab -u root - |
#!/usr/bin/bash | |
for i in {0..10} | |
do | |
aws s3 mv /usr/local/antmedia/webapps/WebRTCAppEE/streams/ s3://mofalive/streams/ --recursive | |
sleep 3 | |
done |
// General | |
button_tile_map : true, | |
editor_selector : 'lg_mceEditor', | |
mode:'textareas', | |
theme : 'advanced', | |
// Cleanup/Output | |
apply_source_formatting : true, | |
convert_fonts_to_spans : true, | |
convert_newlines_to_brs : false, |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
/* | |
A little node.js server for testing html5 ajax file uploads. | |
It serves up the current directory and receives uploads at /upload. | |
This is for use with xhr.send(file) where the entire request body is the file. | |
It just pauses one second between chunks so that client-side progress events | |
get a chance to fire. On my laptop it looks like the maximum chunk size is | |
around 40K, so you would still need images in the range of hundreds of kilobytes | |
to really be able to test it. |
// Run Redis - cd redis-2.2.4 and run src/redis-server | |
var sip = require('sip'); | |
var sys = require('sys'); | |
var redis = require('redis'); | |
var tropoapi = require('tropo-webapi'); | |
//Trim leading and trailing whitespace from string values. | |
function trim(str) { | |
return str.replace(/^\s+|\s+$/g, ''); |
// Run Redis - cd redis-2.2.4 and run src/redis-server | |
var sip = require('sip'); | |
var sys = require('sys'); | |
var redis = require('redis'); | |
var tropoapi = require('tropo-webapi'); | |
//Trim leading and trailing whitespace from string values. | |
function trim(str) { | |
return str.replace(/^\s+|\s+$/g, ''); |
// History.js It! | |
// v1.0.1 - 30 September, 2012 | |
// https://gist.github.com/854622 | |
(function(window,undefined){ | |
// Prepare our Variables | |
var | |
History = window.History, | |
$ = window.jQuery, | |
document = window.document; |
server { | |
listen :80; | |
server_name www.example.com; | |
rewrite ^/(.*) http://example.com/$1 permanent; | |
} | |
server { | |
server_name example.com; | |
listen :80; | |
1. Joomla! | |
2. Drupal | |
3. Mambo | |
4. TYPO3 Enterprise CMS | |
5. WebGUI | |
6. WordPress | |
7. Plone | |
8. Xoops | |
9. PHP Nuke | |
10. eZ Publish |