<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Linux痞子]]></title><description><![CDATA[web互联网开发]]></description><link>https://blog.youkuaiyun.com/u010165367</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; u010165367]]></copyright><item><title><![CDATA[ubuntu 配置]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/80894090</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/80894090</guid><author>u010165367</author><pubDate>Tue, 03 Jul 2018 09:56:52 +0800</pubDate><description><![CDATA[(ubuntu环境配置)[https://wido.me/sunteya/understand-bashrc-and-profile/]]]></description><category></category></item><item><title><![CDATA[gitlab 基本指令]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/80501553</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/80501553</guid><author>u010165367</author><pubDate>Tue, 29 May 2018 20:22:43 +0800</pubDate><description><![CDATA[A little lookup for commands I use frequently


Commit all edited files and add a message


  git commit -a -m “My commit”

Add all new files


  git add .

Perform a pull operation


  git pull REMOT...]]></description><category></category></item><item><title><![CDATA[读取PC 的uuid 或者硬盘的序列号]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79807928</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79807928</guid><author>u010165367</author><pubDate>Tue, 03 Apr 2018 19:22:00 +0800</pubDate><description><![CDATA[有时候,我们需要为我们的软件绑定特定的PC.这时，我们就需要一种特定的标识,一般可用的CUP 的id，MAC地址，但是有的CPU id为空,MAC地址也是人为可以修改的，我一般使用的是SMBOIS的id或者硬盘的序列号。虽然，也不是一定可靠的,但是相对而言还是可以使用的.




  UUID 
  wmic csproduct get “UUID” &amp;gt; C:\UUID.txt  
  
 ...]]></description><category></category></item><item><title><![CDATA[Oracle 对时间的操作]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79753773</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79753773</guid><author>u010165367</author><pubDate>Fri, 30 Mar 2018 10:27:13 +0800</pubDate><description><![CDATA[早Oracle中对月份,毫秒，微秒的操作都有函数支持，但是对于天数，时分秒的操作却没有内置的函数支持，下面演示如何操作时分秒


  In a more general way you can use “INTERVAL”. Here some examples:
  
  1) 对当前时间加1天
  
  select sysdate + INTERVAL ‘1’ DAY from dual; ...]]></description><category></category></item><item><title><![CDATA[mysql 5.7.12 zip install]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79753660</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79753660</guid><author>u010165367</author><pubDate>Fri, 30 Mar 2018 10:21:31 +0800</pubDate><description><![CDATA[1. 下载mysql zip


  下载mysql zip  window64位安装包




2. 解压缩,例如放到C:\mysql-5.7.21-winx64



3. 在文件夹C:\mysql-5.7.21-winx64 下新建my.ini这是mysql会自动读取的默认配置文件



4. 在C:\mysql-5.7.21-winx64 目录下,新建data文件夹用于存放MySQL数据库...]]></description><category></category></item><item><title><![CDATA[数组元素查重]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79599584</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79599584</guid><author>u010165367</author><pubDate>Sun, 18 Mar 2018 12:32:06 +0800</pubDate><description><![CDATA[数组元素查重,帅选出重复的数据




type person struct {
    name, id_card_no string
}

//家系中的相同人员筛选
func familyHasSamePerson(nodeViewList []*person)([]person) {

    nodeMap := make([]person, 0)
    pList := make([]...]]></description><category></category></item><item><title><![CDATA[正确的姿态使用curl上传文件内的json数据]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79573446</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79573446</guid><author>u010165367</author><pubDate>Thu, 15 Mar 2018 20:24:33 +0800</pubDate><description><![CDATA[使用Curl上传file


  curl -XPUT -H’Content-Type: application/json’ localhost:9200/family_person?pretty -d@data.json   





-X 参数代表资源的请求类型
-H参数表示在请求头中附加的参数
-d参数表示需要上传的参数,需要上传文件时需要使用@file_name






示例 提交p...]]></description><category></category></item><item><title><![CDATA[oracle 备份数据]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79299637</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79299637</guid><author>u010165367</author><pubDate>Fri, 09 Feb 2018 16:18:56 +0800</pubDate><description><![CDATA[oracle 经常需要的备份数据的操作

1、如果表不存在

create table new_table_name 
as
select column_name,[more columns] from Existed_table;


  例如




create table dept
as
select empno, ename from emp;


2、 如果表存在

insert in...]]></description><category></category></item><item><title><![CDATA[15 Things You Should Know about the ORDER BY Clause]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79298126</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79298126</guid><author>u010165367</author><pubDate>Fri, 09 Feb 2018 14:26:24 +0800</pubDate><description><![CDATA[
When multiple columns/expressions are specified in the ORDER BY clause, the precedence of sorting is left to right.
The ORDER BY clause can order in ascending (ASC) or descending (DESC) sequence, or ...]]></description><category></category></item><item><title><![CDATA[Oracle 数据集]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79289581</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79289581</guid><author>u010165367</author><pubDate>Thu, 08 Feb 2018 14:46:49 +0800</pubDate><description><![CDATA[Oracle 在表与表之间取交集，差集关键字



UNION, UNION ALL, INTERSECT, and MINUS

You can combine multiple queries using the set operators UNION, UNION ALL, INTERSECT, and MINUS. All set operators have equal preceden...]]></description><category></category></item><item><title><![CDATA[golang 程序运行影藏dos黑窗口]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79268321</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79268321</guid><author>u010165367</author><pubDate>Tue, 06 Feb 2018 10:54:48 +0800</pubDate><description><![CDATA[通过go的标准库exec调用cmd命令时会闪弹黑窗口，为解决此问题在windows下可以用win32 API 的 WinExec。

此问题主要出现在带UI或无控制台的程序调用cmd时。

编译go时加入参数： go build  -ldflags=”-H windowsgui”]]></description><category></category></item><item><title><![CDATA[oracle 重复数据去除]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79258998</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79258998</guid><author>u010165367</author><pubDate>Mon, 05 Feb 2018 13:19:18 +0800</pubDate><description><![CDATA[oracle 重复数据查重删除



select id
from (select row_number() over(partition by self_object_id order by self_object_id) record_line,
        si.*
      from sample_info si
      where self_object_id in]]></description><category></category></item><item><title><![CDATA[html5 IndexedDB]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79194739</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79194739</guid><author>u010165367</author><pubDate>Mon, 29 Jan 2018 14:11:59 +0800</pubDate><description><![CDATA[html5 IndexedDB 使用测试

主要是测试,体验浏览器自带的k/v数据库


  1、openDatabase 
  2、transaction 
  3、executeSql


1、创建浏览器自带的数据库实例


  openDatabase(‘database_name’,’database_version’, ‘database_description’,’database_m]]></description><category></category></item><item><title><![CDATA[微信小程序开发--记事本 收藏夹]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/79119755</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/79119755</guid><author>u010165367</author><pubDate>Sun, 21 Jan 2018 13:37:00 +0800</pubDate><description><![CDATA[记事本微信小程序开发


  这里是简单的微信小程序的开发主要实现的功能是记事本和收藏夹   


1、开发环境的搭建

2、功能模块的介绍

3、代码实现]]></description><category></category></item><item><title><![CDATA[oracle snapshot]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/78689933</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/78689933</guid><author>u010165367</author><pubDate>Fri, 01 Dec 2017 18:32:24 +0800</pubDate><description><![CDATA[利用闪回查看Oracle表历史时刻数据1.查看表历史时刻数据select * from tab_test AS OF TIMESTAMP to_timestamp('20140917 10:00:00','yyyymmdd hh24:mi:ss'); 2、利用flashback table恢复表到过去某一时刻alter table tab_test enable row movement; flas]]></description><category></category></item><item><title><![CDATA[oracle lock]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/78689906</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/78689906</guid><author>u010165367</author><pubDate>Fri, 01 Dec 2017 18:27:57 +0800</pubDate><description><![CDATA[查看哪个表被锁
  select b.owner,b.object_name,a.session_id,a.locked_mode 
  from v$locked_object a,dba_objects b 
  where b.object_id = a.object_id; 
查看是哪个session引起的
  select b.username,b.sid,b.serial#,logon_]]></description><category></category></item><item><title><![CDATA[postgresql zip install]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/78597319</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/78597319</guid><author>u010165367</author><pubDate>Tue, 21 Nov 2017 21:41:49 +0800</pubDate><description><![CDATA[1 Download the ZIP file from http://www.enterprisedb.com/products-services-training/pgbindownload2 Unzip the archive into a directory of your choice (the archive is created such that unzipping it, it w]]></description><category></category></item><item><title><![CDATA[javascript引用自身属性]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/78440905</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/78440905</guid><author>u010165367</author><pubDate>Sat, 04 Nov 2017 00:28:31 +0800</pubDate><description><![CDATA[javascript引用自身属性说明：目的是需要定义对象，且内部属性的值依赖自身属性的值var foo = {
    a: 5,
    b: 6,
    c: this.a + this.b  // Doesn't work c:NaN
}解决方法方法1、var foo = {
  a: 5,
  b: 6,
  get c () {
    return this.a + this.b;]]></description><category></category></item><item><title><![CDATA[oracle 最简导入导出数据]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/78350060</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/78350060</guid><author>u010165367</author><pubDate>Thu, 26 Oct 2017 10:12:33 +0800</pubDate><description><![CDATA[1、登陆终端



    sqlplus / as sysdba
    grant dba to ystr3



2、创建用户，授权



create user lnalims identified by lnalims;
grant dba to lnalims;



3、导入数据

1、导入.dmp中的所有数据

    imp user_name/password@ip/orcl ...]]></description><category></category></item><item><title><![CDATA[golang获取命令行参数]]></title><link>https://blog.youkuaiyun.com/u010165367/article/details/76550591</link><guid>https://blog.youkuaiyun.com/u010165367/article/details/76550591</guid><author>u010165367</author><pubDate>Tue, 01 Aug 2017 18:55:21 +0800</pubDate><description><![CDATA[goalng 解析命令行参数package mainimport (
    "flag"
    "fmt"
)func main() {
    ip := flag.String("ip", "127.0.0.1", "ipAddr")
    port := flag.Int("port", ":8080", "http listen port")
    var databaseType]]></description><category></category></item></channel></rss>