- 博客(18)
- 收藏
- 关注
转载 xampp mysql笔记总结
使用windows cmd访问操控xampp mysql数据库的方法: 打开cmd移动至指定目录: cd d: cd xampp/mysql/bin mysql -uroot -p; 即可进入 sql常用语句: 查看所有database:SHOW DATABASES; 使用某个库:USE mg_data; 查看该库中的所有tables:SHOW TABLES...
2019-06-12 10:44:00
232
转载 C programming tutorial 笔记
tutorial 3 - writing hello world! 使用linux系统运行c, 安装gcc,为compiler,使用vim等工具写好hello world程序,命名hello.c #include <stdio.h> int main(){ //int means the returned data type printf("...
2018-10-12 19:22:00
243
转载 node.js backend example mytasklist
create a new directory “mytasklist” set up node.js server npm init (entry point =>server.js) open package.json npm install express body-parser ejs mongojs --save create server....
2017-06-02 22:07:00
221
转载 Angular 4 - The Basics 笔记(1): Install
Install Node.js Install Angular CLI sudo npm install -g @angular/cli Set-up new app ng new my-first-app Run Server cd my-first-appng serve 视频教程:http...
2017-05-07 20:10:00
177
转载 Angular 4 - The Basics 笔记(4): Directives
component is a kind of a directive normally we use attribute selector *ngIf="data" @Component({ selector: 'ng-if-else', template: ` <button (click)="show = !show">{{...
2017-05-04 21:26:00
147
转载 Angular 4 - The Basics 笔记(3):Databinding
String Interpolation out put variables in the template file add variables in name.component.ts export class HeaderComponent{ //property appTitle: string = 'Angul...
2017-05-03 20:19:00
135
转载 Angular 4 - The Basics 笔记(2): Component
How to create a new component manually create folder for your component: /src/app/yourComponent create ts and html file: /src/app/yourComponent/name.component.ts & name.component....
2017-05-03 17:27:00
213
转载 github连接报"ssh: connect to host github.com port 22: Connection timed out"错误
版权声明:本文为博主原创文章,未经博主允许不得转载。 1. 异常 在连接github时,执行”ssh [email protected]” 命令时,出现 ssh: connect to host github.com port 22: Connection timed out 2. 解决方法 在存放公钥私钥(id_rsa和id_rsa.pu...
2017-01-10 09:09:00
224
转载 Github command line notes
pulling down the repo file from github server git clone [repo url] check git current status git status add a file git add [file name] //add single file git add -a //add al...
2017-01-10 08:04:00
171
转载 linux学习笔记
希望通过《How linux works》这本书,以及Arch linux这个系统,让我对Linux更加熟悉。 这篇文章将会记录《How linux works》的读书笔记 chapter 1: The Basics 基础命令: ls(列出当前目录下的文件) ls -lh(详细参数+可读文件大小) cp() 转载于:https://www...
2016-09-06 15:06:00
114
转载 树莓派制作激光报警器
$ sudo pip install RPi.GPIO import RPi.GPIO as GPIO, time, os GPIO.setmode(GPIO.BOARD) def RCtime(RCpin): reading = 0 GPIO.setup(RCpin, GPIO.OUT) tim...
2016-08-21 21:50:00
403
转载 windows下使用github
1.安装 下载软件:https://git-for-windows.github.io/ 2.设置 打开Git Bash,输入如下内容,并将名字和email替换成你的 $ git config --global user.name "Your Name" $ git config --global user.email "[email protected]" ...
2016-04-11 21:33:00
164
转载 angular中不同controller传值问题
利用angularJS中service单例模式的特性,服务(service)提供了一种能在应用的整个生命周期内保持数据的方式,能够在控制器之间进行通信,且能保证数据的一致性。 一般我们都会封装server来为应用提供访问数据的接口,或者跟远程进行数据交互。 示例 JavaScript var myApp = angular.module("myApp", []); my...
2016-03-01 22:32:00
262
转载 修改putty颜色
在putty图形界面上点击Colours在右侧中更具下列值或自己喜欢值定制颜色*Default Foreground:255/255/255*Default Background:51/51/51*ANSI Black:77/77/77*ANSI Green:152/251/152*ANSI Yellow:240/230/140*ANSI Blue:205/133...
2016-02-13 16:19:00
175
转载 树莓派搭建 Minecraft PE server
1.去http://www.pocketmine.net/拿到树莓派版的安装代码,新建pocketmine目录并且进入,执行以下命令 sudo apt-get install perl gcc make automake libtool autoconf m4 wget -q -O - http://get.pocketmine.net/ | bash 下载和安装必要...
2015-11-05 15:05:00
1063
转载 使用 树莓派 搭建属于自己的 web服务器(二)设置Apache
1. 获取服务器ip地址: 1 ifconfig 2. 更改本地hosts文件 要想在浏览器中输入一个域名也一样可以访问你的服务器,你需要更改电脑中的hosts文件 linux 系统: 1 sudo vim /etc/hosts windows 系统: 1 C:\Windows\System32\drivers\etc\hosts ...
2015-10-12 12:51:00
468
转载 使用 树莓派 搭建属于自己的 web服务器(一)安装LAMP
1. 调整pi的GPU内存占用大小 作为web服务器,不需要输出视频信号,所以尽量缩小GPU的内存用量,以便最大化pi的性能。 1 sudo raspi-config 选择Advanced Options -> Memory Split ,然后填入16 ,保存后需要重启 2. 更新你的pi 1 sudo apt-get update 2 sudo ...
2015-10-11 15:33:00
456
转载 关于此博客
Hi,本人Hardi,对编程有很强的兴趣。 最近看了一篇学习编程的文章:Why Learning to Code is So Damn Hard, 文章里说学习编程最好的方法就是开一个博客,然后把关于编程所遇到的问题和解决方法都写在里面,通过这种方法你可以: 更深刻的理解这些解决方法 帮助你记忆 方便以后的查阅 可以给其他遇到相同问题的人借鉴 所以为了达到这些目的,我开设了这个博客,...
2015-10-11 11:34:00
139
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人