原创 ubuntu 12.04上安裝ffmpeg命令找不到
在ubuntu 12.04上安裝ffmpeg後 命令ffmpeg不管用 把編譯後文件中/usr/local/ffmpeg/bin/ffmpeg文件複製到/usr/ bin當中 使用命令成功 ffmpeg -version 出現ffmpeg
原创 Ubuntu 桌面版 橋接設置
設置Ubuntu僑聯備份 點擊add
原创 Django模型常用字段
1、AutoField —自增列 = int(11) 如果沒有的話,默認會生成一個名稱爲 id 的列,如果要顯示的自定義一個自增列,必須將給列設置爲主鍵 primary_key=True。 2、CharField —
原创 Django模型常用選項參數意義
1、null 數據庫中字段是否可以爲空(null=True) 2、db_column 數據庫中字段的列名(db_column=“test”) 3、db_tablespace 4、default 數據庫中字段的默認值 5、p
原创 ubuntu 12.04安裝ffmpeg
1、下載ffmpeg-2.6.3.tar.bz2、last_x264.tar.bz2、yasm-1.2.0.tar.gz http://download.csdn.net/detail/xl4025/8919329 2、libx264
原创 ubuntu遠程連接
1、首先運行sudo apt-get update 2、sudo apt-get install openssh-server (如不執行步驟1、則可能出現錯誤) 3、ps -e | grep ssh如果發現有sshd這個說明ss
原创 滾動筆記1
<script> //alert($("ul li:first").hide()); var li_h=71; var time = 1000; var movetime=1000; $(document).ready(
原创 ubuntu 遠程鏈接mysql
授權 1、登錄 mysql -uroot -p 123456 2、use mysql; 3、GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GR
原创 Ubuntu 12 用vsftpd 配置FTP服務器
1、apt-get update; apt-get install vsftpd; 2、配置 vi /etc/vsftpd.conf文件 #禁止匿名訪問 anonymous_enable=NO #接受本地用戶 local_enable=Y
原创 Ubuntu安裝ffmpeg
sudo vi install-ffmpeg.shsudo apt-get install build-essential git-core che
原创 vsftpd.conf備份
# Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This samp
原创 jquery提交表單錯誤
$("#myf").submit(); 一直提交報錯,很簡單 <input class="submi button pill" type="button" name="submit" value="提交" onClick="su
原创 js實現簡單網速測試方法
只能測到瞬時速度,不是很準確 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <
原创 error: newly created file is older than distributed
在Ubuntu中make時提示 newly created file is older than distributed files! Check your system clock 系統時間不正確 查看 date 設定系統時間 d
原创 ubuntu 更改文件所屬用戶
chown www-data videolist使www-data用戶在videolist文件夾下建立新的文件夾 點贊 收藏 分享 文章舉報 LazyCat--懶貓 發佈了47