原创 mysql學習日誌
mysql入門學習備份。 點贊 收藏 分享
原创 mysql5.7二進制安裝
groupadd mysqluseradd - -g mysql mysqlcd /usr/localtar zxvf /path/to/mysql-VERSION-OS.tar.gzln -s full-path-to-mysql-VE
原创 python 訪問網站
python版本3.5import urllib.requesturl = "http://www.baidu.com"html = urllib.request.urlopen(url).read()pr
原创 Java Mail學習
郵件實體類 MailInfopackage org.xfl.jmail;import java.util.Properties;public class MailInfo { private String
原创 jquery json解析
$.getJSON("JsonServlet", function(data) { $("#result").html("");//清空info內容 $("#result2").html("");//清
原创 rails 頁面動態title設置問題
在自己的頁面上填入一下代碼<% content_for :title, "Title for specific page" %>在模板頁面的title修改爲:<title><%=h yield(:title
原创 dos代理上網設置
打開dos shell 再命令行模式下鍵入下面三條命令 set http_proxy=http://xxx.xxx.xxx.xxx:xxx xxx地方爲你代理服務器的端口號,比如set http_proxy
原创 .net 打開文件
OpenFileDialog^ dlgOpenFile = gcnew OpenFileDialog (); String^ fileName; dlgOpenFile->InitialDirectory = "D:\\
原创 html5 gps
<!DOCTYPE html><html><body><p id="demo">點擊這個按鈕,獲得您的位置:</p><button onclick="getLocation()">試一下</button><div id="mapholde
原创 vc++ 格式化數字成3位3位顯示
如題 CultureInfo^ MyCI = gcnew CultureInfo( "en-US",false ); NumberFormatInfo^ nfi = MyCI->NumberForma
原创 模仿數字雨
代碼是從網上找來的,把現實的內容給成1,0。在vc++2010下編譯運行成功在把exe文件做成屏保scr時,屏保運行的時候會有個dos窗口顯示在前面,隱藏掉那窗口代碼如下:#pragma comment(l
原创 vc++2010寬字符轉多字符
在網上找了很多都是用到malloc的,一點不喜歡在我的應用中使用開闢內存,還要delete,結果搞了半天,我同學他以前寫過,調試了下,符合我程序中需要的要求。demo: wchar_t ucode[33];
原创 javascript 實現多文件選擇
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
原创 oracle幾個命令備份
//sqlplus中設置環境變量命令//設置行數:set linesize 行數//設置每頁幾行:set pagesize 行數--設置變量col name for a55--顯示數據庫實例存儲的位置select * from v$con
原创 java 判斷素數
public class Prime { public static void main(String[] args) { for(int i=1;i<100;i++) { if(isPrime(i)){ System.ou