- 以下是idea 2019.3.1的激活方式。理论上所有JetBrains产品都适用。
- 激活码如下:
A82DEE284F-eyJsaWNlbnNlSWQiOiJBODJERUUyODRGIiwibGljZW5zZWVOYW1lIjoiaHR0cHM6Ly96aGlsZS5pbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJVbmxpbWl0ZWQgbGljZW5zZSB0aWxsIGVuZCBvZiB0aGUgY2VudHVyeS4iLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJSRCIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiREMiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJEQiIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJNIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJBQyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkRQTiIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkdPIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJDTCIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlBDIiwicGFpZFVwVG8iOiIyMDg5L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AXWgYKChtknl3sW9PCQa3a3imPL9GVToUNxc0wcuTil8mqveWcSQCHYxsIaUajWLpFzoO2AhK4mfYBSStAqEjoXRTuj17mo8Q6M2SHOcwIDAQABo4GZMIGWMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGEpG9oZGcfLMGNBkY7SgHiMGgTcMEgGA1UdIwRBMD+AFKOetkhnQhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQBonMu8oa3vmNAa4RQP8gPGlX3SQaA3WCRUAj6Zrlk8AesKV1YSkh5D2l+yUk6njysgzfr1bIR5xF8eup5xXc4/G7NtVYRSMvrd6rfQcHOyK5UFJLm+8utmyMIDrZOzLQuTsT8NxFpbCVCfV5wNRu4rChrCuArYVGaKbmp9ymkw1PU6+HoO5i2wU3ikTmRv8IRjrlSStyNzXpnPTwt7bja19ousk56r40SmlmC04GdDHErr0ei2UbjUua5kw71Qn9g02tL9fERI2sSRjQrvPbn9INwRWl5+k05mlKekbtbu2ev2woJFZK4WEXAd/GaAdeZZdumv8T2idDFL7cAirJwcrbfpawPeXr52oKTPnXfi0l5+g9Gnt/wfiXCrPElX6ycTR6iL3GC2VR4jTz6YatT4Ntz59/THOT7NJQhr6AyLkhhJCdkzE2cob/KouVp4ivV7Q3Fc6HX7eepHAAF/DpxwgOrg9smX6coXLgfp0b1RU2u/tUNID04rpNxTMueTtrT8WSskqvaJd3RH8r7cnRj6Y2hltkja82HlpDURDxDTRvv+krbwMr26SB/40BjpMUrDRCeKuiBahC0DCoU/4+ze1l94wVUhdkCfL0GpJrMSCDEK+XEurU18Hb7WT+ThXbkdl6VpFdHsRvqAnhR2g4b+Qzgidmuky5NUZVfEaZqV/g==
- 解除软件限制:sudo spctl --master-disable
cat >>/etc/yum.repos.d/docker.repo<<EOF
[docker-ce-edge]
name=Docker CE Edge - \$basearch
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/7/\$basearch/edge
enabled=1
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
EOF
-
安装docker yum -y install docker-ce
-
设置启动 systemctl enable docker systemctl start docker
直接在公网托管的机器上安装
- 静态地址:编辑/etc/sysconfig/network-scripts/下的以太网卡(一般是ifcfg-eth0)。修改后用service network restart重启服务。用ip addr查看。
- 设置防火墙
- 启用ssh
git地址:https://gitlab.com/xhang/gitlab
- git clone https://gitlab.com/xhang/gitlab
- cat /opt/gitlab/embedded/service/gitlab-rails/VERSION
居然连asp.net core signalR都搜不到……我也是无语了。 也有可能是core的更新太快了吧¬_¬ 这里是官方地址:https://docs.microsoft.com/en-us/aspnet/core/signalr/javascript-client?view=aspnetcore-2.1
- http://weex.apache.org/cn/guide/integrate-to-your-app.html
- 目标:weex集成到现有APP,用weex编写一个网页,并同时用在android APP,微信(网页),微信小程序中
- 持续更新
- 改了好几次,都没生效。今天终于找对地方了
- /etc/default目录
- sudo gedit grub
- 修改完毕后,记住一定要sudo update-grub
- 选择版本:16.04,桌面或服务器都可以
- 开启ssh:sudo apt-get install openssh-server
- 修改ssh端口号:vi /etc/ssh/sshd_config,修改22为其他的
- 关闭防火墙:ufw disable
- 安装dotnet core:dotnet.githu.io
- 测试dotnet core:上传一个测试一下呗 server { listen 80; server_name xx.xx.com; location / { proxy_pass http://xx.xx:3003/; autoindex on; } }
完成后先不要运行配置向导。 配置数据库。SharePoint会安装一个POWERSHELL在这里14\CONFIG\POWERSHELL\Registration。运行该目录下的psconsole会打开一个命令行窗口。执行
- New-SPConfigurationDatabase【回车】
- DatabaseName
- DatabaseServer 【注意这里必须是机器名,请右键电脑查看机器名】
- FarmCredentials 【本地管理员密码】注意此处的用户名必须是【机器名\用户名】的格式
- passphrase:【输入配置数据场安全密码,这是创建新场及以后新服务器加入场时所必需的,回车,等待创建】
运行配置向导:选择不断开与服务器场的连接,然后下一步直到完成。
MySQL默认用户不能远程登录的。所以新建用户并分配了库权限后,请修改mysql库中的user表,将新建用户那条记录的Host字段修改为%,并运行脚本刷新权限: FLUSH PRIVILEGES;
Server 2008 R2 180天密钥:7PJBC-63K3J-62TTK-XF46D-W3WMD
简单一点来说,是由于Ubuntu和windows对待时区的方式不一致造成的。可以修改windows或者修改Ubuntu。 修改windows:HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation,新建DWORD的键名为RealTimeIsUniversal,值为1。
1、加入apt:sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
2、导入公钥:wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
3、update:sudo apt-get update
4、安装chrome:sudo apt-get install google-chrome-stable
sudo nano /etc/default/grub
修改完毕后记住更新:sudo update-grub
1、安装wine:sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install winehq-devel
2、下载wineQQ8.9_19990.tar.xz,解压到根目录:tar xvf wineQQ8.9_19990.tar.xz -C ~/
QQ自然就有了,请按super键输入QQ。
1、下载后,解压:tar -xJf node-v8.9.4-linux-x64.tar.xz
2、移动到opt:sudo mv node-v8.9.4-linux-x64 /opt/
3、加入系统目录:sudo ln -s /opt/node-v8.9.4-linux-x64/bin/node /usr/local/bin/node
sudo ln -s /opt/node-v8.9.4-linux-x64/bin/npm /usr/local/bin/npm 4、测试:npm -v;node -v
1、一定要下载压缩包:https://code.visualstudio.com/docs?dv=linux64
2、解压后移动:sudo mv VSCode-linux-x64 /usr/local/
3、权限:chmod +x /usr/local/VSCode-linux-x64/code
4、直接打开:打开文件浏览器,导向位置:/usr/local/VSCode-linux-x64,直接双击code打开。
T4插件:https://www.devart.com/t4-editor/download.html
命令行修改默认编码为UTF-8 cmd进入后,输入:
chcp 65001
这样python就不会乱码了
今日正式入坑 electron
1、更换源:npm install -g cnpm --registry=https://registry.npm.taobao.org
2、安装: npm install -g electron
3、查看: electron -v
4、安装打包器: npm install -g electron-packager
5、开始愉快的coding吧……
本博客仅用于 [IT相关技术探讨]。 超出范围的任何问题将不会提及。
本博客使用## Markdown 方法编写。
- 服务端相关:C#, JAVA, PYTHON, etc.
- 浏览器前端:js, css, html, mvvm, etc.
- 客户端原生:Android, iOS, WindowsApp
- 其他:大数据、AI etc.
2017-5 ~ 2017-7:Hybrid方法完成Android & iOS APP开发并上线;
同期:基于Java和C#的微服务框架
本博客可直接回复。你也可以给我发email: [email protected]