This is installation documentation for installing Koel on Debian 8.
Most packages can be installed via apt-get.
user@debian:~/$ sudo apt-get install -y apache2 mysql-server php5 php5-mysql g++ git curl
This is installation documentation for installing Koel on Debian 8.
Most packages can be installed via apt-get.
user@debian:~/$ sudo apt-get install -y apache2 mysql-server php5 php5-mysql g++ git curl
Y = function(lep) { | |
return (function (f) { | |
return f(f); | |
})(function(f){ | |
return lep(function(x){ | |
return f(f)(x); | |
}); | |
}); | |
} |
/** | |
* requesteAnimationFrame 兼容支持 | |
* @reference | |
* http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
* @return {undefined} | |
*/ | |
(function() { | |
var lastTime = 0; | |
var vendors = ['webkit', 'moz']; | |
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { |
$ text-builder -index /path/to/index.txt
Or run $ sh build-all
to build all your index files.本人不提供任何保证和技术支持,使用者自负风险。
There are no guarantees, no any support. Use it at your own risk.
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
$ nano ~/.zshrc
path=('/path/to/depot_tools' $path)
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- fiddle is here http://jsfiddle.net/ondras/hYfN3 --> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>Tiny Excel-like app in vanilla JS - jsFiddle demo by ondras</title> | |
<script type='text/javascript' src='/js/lib/dummy.js'></script> | |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# config/deploy.rb | |
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rvm' | |
# ter_mode 这个要设置,不然在 mac 下输密码有问题 | |
set :term_mode, nil | |
set :rvm_path, '/usr/local/rvm/bin/rvm' |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <fcntl.h> | |
#include <signal.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> |
#! /bin/bash | |
# | |
# Diffusion youtube avec ffmpeg | |
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
VBR="2500k" # Bitrate de la vidéo en sortie | |
FPS="30" # FPS de la vidéo en sortie | |
QUAL="medium" # Preset de qualité FFMPEG | |
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |