<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[strideahead的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/strideahead</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; strideahead]]></copyright><item><title><![CDATA[vue3学习第一天part1]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/123869181</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/123869181</guid><author>strideahead</author><pubDate>Thu, 31 Mar 2022 12:57:11 +0800</pubDate><description><![CDATA[&lt;template&gt;

 &lt;img alt="Vue logo" src="./assets/logo.png"&gt;

 &lt;HelloWorld msg="JSpang.com"/&gt;

 &lt;h2&gt;欢迎光临红浪漫洗浴中心&lt;/h2&gt;

 &lt;div&gt;请选择一位美女为你服务&lt;/div&gt;

 &lt;div&gt;

  &lt;button

   v-for="(item,index) in girls"

 ...]]></description><category></category></item><item><title><![CDATA[golang学习笔记-8-fmt]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/120007685</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/120007685</guid><author>strideahead</author><pubDate>Mon, 30 Aug 2021 23:20:05 +0800</pubDate><description><![CDATA[packagemain



import(

"fmt"

)



funcmain(){

fmt.Println("dsaf")

varm1=make(map[string]int,1)

m1["理想"]=100

fmt.Printf("%#v\n",m1)

//整数-》字符.字符串带双引号

fmt.Printf("%q%q\n",65,"有理想2aa")

//浮点数和复数,无小数部分，二进制...]]></description><category></category></item><item><title><![CDATA[golang学习笔记-7-闭包]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/120007674</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/120007674</guid><author>strideahead</author><pubDate>Mon, 30 Aug 2021 23:14:54 +0800</pubDate><description><![CDATA[packagemain



import(

"fmt"

"strings"

)



funcfuncA(){

fmt.Println("funcA")

}

funcfuncB(){

//revover必须和defer搭配使用。defer必须在可能引发panic的语句之前定义

deferfunc(){

err:=recover()

iferr!=nil{

f...]]></description><category></category></item><item><title><![CDATA[golang学习笔记-6]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/120007663</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/120007663</guid><author>strideahead</author><pubDate>Mon, 30 Aug 2021 23:14:16 +0800</pubDate><description><![CDATA[packagemain



import"fmt"



/*

你有50枚金币，需要分配给以下几个人：Matthew,Sarah,Augustus,Heidi,Emilie,Peter,Giana,Adriano,Aaron,Elizabeth。

分配规则如下：

a.名字中每包含1个'e'或'E'分1枚金币

b.名字中每包含1个'i'或'I'分2枚金币

c.名字中每包含1个'o'或'O'分3枚金币

d:名字中每包含1个'u'或'U'分4枚金币

写一个程序，计算每个用户分到多少金币...]]></description><category></category></item><item><title><![CDATA[golang学习笔记-5]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/120007658</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/120007658</guid><author>strideahead</author><pubDate>Mon, 30 Aug 2021 23:13:43 +0800</pubDate><description><![CDATA[packagemain



import(

"fmt"

)



//函数就是一段代码的封装。

funcf5(xstring,y...int)(sumint){

fmt.Println(y)

sum=0

return

}

funcdeferDemo(){

//go语言函数中return语句在底层并不是原子操作，分为给返回值赋值和RET指令两步，而defer语句执行的时机是在返回值赋值操作后，ret指令执行前

fm...]]></description><category></category></item><item><title><![CDATA[golang学习笔记-4]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/120007637</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/120007637</guid><author>strideahead</author><pubDate>Mon, 30 Aug 2021 23:12:57 +0800</pubDate><description><![CDATA[packagemain



import(

"fmt"

"unicode"

)



funcmain(){



//运算符。算术运算符，逻辑运算符，位运算符，&lt;&lt;&gt;&gt;|^&amp;。赋值运算符，++,--（独立的语句,单独放一行).=+=比较运算符，==!=&lt;=



//数组.varage[30]int。数组包含元素的类型和数组的长度。值类型，

varnamestring

...]]></description><category></category></item><item><title><![CDATA[golang学习笔记-3]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/120007624</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/120007624</guid><author>strideahead</author><pubDate>Mon, 30 Aug 2021 23:12:15 +0800</pubDate><description><![CDATA[packagemain



import"fmt"



//编一个可执行的程序，必须funcmain，main()入门函数

//go语言函数外的语句只能以关键字开头

varname="哪吒"

varageint



//流程控制是一门语言的经脉

funcmain(){

//函数内部定义的变量必须使用



//age:=19

//ifage&gt;18{

//fmt.Println("澳门首家线上赌场开业了")
...]]></description><category></category></item><item><title><![CDATA[golang学习笔记-2]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/120007611</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/120007611</guid><author>strideahead</author><pubDate>Mon, 30 Aug 2021 23:11:13 +0800</pubDate><description><![CDATA[packagemain



import(

"fmt"

"math"

"strings"

"unicode"

)



const(

bbb=iota

cccc

)

funcmain(){

//无法直接定义二进制

varaint=10

fmt.Printf("%d%o%x%v\n",a,a,a,a)



//文件权限0642

varbint=077

...]]></description><category></category></item><item><title><![CDATA[golang学习笔记-1]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/120007597</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/120007597</guid><author>strideahead</author><pubDate>Mon, 30 Aug 2021 23:10:18 +0800</pubDate><description><![CDATA[package main

import "fmt"

//go语言推荐使用驼峰式命名
//student_name 下划线
// studentName小驼峰 推荐
//StudentName
var name string
var age int
var isOK bool

//全局变量
// var (
//  name1 string
//  age1 int
//  isOK1 bool
// )
//const pi = 3.1415926

//批量声明常量
// con...]]></description><category></category></item><item><title><![CDATA[octave 与线性代数]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/119832086</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/119832086</guid><author>strideahead</author><pubDate>Sun, 22 Aug 2021 19:05:41 +0800</pubDate><description><![CDATA[计算行列式

det(A)


&gt;&gt; A = [0 2 1 -1;1 -5 3 -4;1 3 -1 2;-5 1 3 -3]
A =

   0   2   1  -1
   1  -5   3  -4
   1   3  -1   2
  -5   1   3  -3

&gt;&gt; det(A)
ans =  40.000



行列式的初等变换

对行列式两行/列交换 |B| = -|A|
	对行列式数乘一行/列 |B|= λ|A|
	对行列式k倍加上另外一行 |B|= |A|

..]]></description><category></category></item><item><title><![CDATA[apiserver报http: TLS handshake error from 10.4.7.11:56612: remote error: tls: bad certificate]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/115437642</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/115437642</guid><author>strideahead</author><pubDate>Mon, 05 Apr 2021 08:37:35 +0800</pubDate><description><![CDATA[起初使发现coredns一直启动不起来，查看报错， http: TLS handshake error from 10.4.7.11:56612: remote error: tls: bad certificate修改kube-apiserver 配置



导致



修改过来重启apiserver，问题解决，原因未知。






]]></description><category></category></item><item><title><![CDATA[spark sql 学习]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/104508025</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/104508025</guid><author>strideahead</author><pubDate>Tue, 25 Feb 2020 23:15:06 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[spark 集中运行模式]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/104313731</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/104313731</guid><author>strideahead</author><pubDate>Mon, 17 Feb 2020 08:59:27 +0800</pubDate><description><![CDATA[sbin/start-all.sh





./bin/spark-submit  --class  org.apache.spark.examples.SparkPi  --master  spark://127.0.0.1:7077 --executor-memory 2g examples/jars/spark-examples_2.11-2.2.2.jar

...]]></description><category></category></item><item><title><![CDATA[Windows系统spark环境搭建及第一个Demo]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/104309052</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/104309052</guid><author>strideahead</author><pubDate>Fri, 14 Feb 2020 11:40:08 +0800</pubDate><description><![CDATA[spark和scala版本一定要适配，







https://mvnrepository.com/



cala运行异常Could not locate executable null\bin\winutils.exe in the Hadoop binaries



出现这个问题的原因是我们在windows上模拟开发环境，但并没有真正的搭建hadoop和spark

解决办法：当然...]]></description><category></category></item><item><title><![CDATA[linux 命令行组合大杀器]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/83379766</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/83379766</guid><author>strideahead</author><pubDate>Thu, 25 Oct 2018 15:02:27 +0800</pubDate><description><![CDATA[快速获取本机地址     ifconfig eth0 | grep &quot;inet addr:&quot; | awk '{print $2}'| cut -d: -f2  或  ifconfig |grep -v '127.0.0.1' | grep &quot;inet addr:&quot; | awk '{print $2}'| cut -c 6-


192.168.23.136...]]></description><category></category></item><item><title><![CDATA[shell脚本入门]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/83378326</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/83378326</guid><author>strideahead</author><pubDate>Thu, 25 Oct 2018 13:43:06 +0800</pubDate><description><![CDATA[Shell 脚本快速入门

#!/bin/bash

//变量的赋值，=前后不能有空格，访问用$

myTest=&quot;hello world&quot;

myNum=30

yourNum=40

//shell四则运算符号前后有空格，乘法需转义

//其他运算符，=、==、！=、！、-o、-a

val=`expr $myNum + $yourNum`

echo $val

val=`expr $myN...]]></description><category></category></item><item><title><![CDATA[golang]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/82947074</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/82947074</guid><author>strideahead</author><pubDate>Fri, 05 Oct 2018 21:09:05 +0800</pubDate><description><![CDATA[







GO并发，采用CSP模型（Communication Sequantial Process）

 







1，csp模型

2，不需要锁、不需要callback

3,并发编程

1，性能保障，可以做系统开发

2，垃圾回收机制

3，灵活的类型、支持函数式编程、异步IO

4，并发处理









package main

import &quot;net/http&quot;
im...]]></description><category></category></item><item><title><![CDATA[kafka-慕课网截图]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/82930034</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/82930034</guid><author>strideahead</author><pubDate>Wed, 03 Oct 2018 09:37:12 +0800</pubDate><description><![CDATA[





数据流的生产转换存储消费整体的流处理平台













































 

 

 

 

 ]]></description><category></category></item><item><title><![CDATA[设计模式-模板方法模式]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/82878044</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/82878044</guid><author>strideahead</author><pubDate>Fri, 28 Sep 2018 11:18:48 +0800</pubDate><description><![CDATA[基于继承的代码复用基本技术，可以将相同的代码放到父类中，而将不同的方法实现放在不同的子类中。准备一个抽象类，将部分逻辑以具体方法以及具体构造函数的形式实现，然后声明一些抽象方法来让子类实现剩余的逻辑。不同的子类可以以不同的方式实现这些抽象方法，从而对剩余的逻辑有不同的实现。体现了面向对象的众多重要思想，使用频率较高。

定义一个操作中算法的框架，而将一些步骤延迟到子类中，模板方法使得子类可以不改变...]]></description><category></category></item><item><title><![CDATA[设计模式-策略模式]]></title><link>https://blog.youkuaiyun.com/strideahead/article/details/82876305</link><guid>https://blog.youkuaiyun.com/strideahead/article/details/82876305</guid><author>strideahead</author><pubDate>Fri, 28 Sep 2018 09:26:23 +0800</pubDate><description><![CDATA[
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import java.io.File;
imp...]]></description><category></category></item></channel></rss>