- 博客(18)
- 收藏
- 关注
转载 xampp mysql笔记总结
使用windows cmd访问操控xampp mysql数据库的方法:打开cmd移动至指定目录:cd d:cd xampp/mysql/binmysql -uroot -p;即可进入sql常用语句:查看所有database:SHOW DATABASES;使用某个库:USE mg_data;查看该库中的所有tables:SHOW TABLES...
2019-06-12 10:44:00 194
转载 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 202
转载 node.js backend example mytasklist
create a new directory “mytasklist”set up node.js servernpm init (entry point =>server.js)open package.jsonnpm install express body-parser ejs mongojs --savecreate server....
2017-06-02 22:07:00 183
转载 Angular 4 - The Basics 笔记(1): Install
Install Node.jsInstall Angular CLIsudo npm install -g @angular/cliSet-up new appng new my-first-appRun Servercd my-first-appng serve视频教程:http...
2017-05-07 20:10:00 149
转载 Angular 4 - The Basics 笔记(4): Directives
component is a kind of a directivenormally we use attribute selector*ngIf="data"@Component({ selector: 'ng-if-else', template: ` <button (click)="show = !show">{{...
2017-05-04 21:26:00 115
转载 Angular 4 - The Basics 笔记(3):Databinding
String Interpolation out put variables in the template fileadd variables in name.component.tsexport class HeaderComponent{ //property appTitle: string = 'Angul...
2017-05-03 20:19:00 102
转载 Angular 4 - The Basics 笔记(2): Component
How to create a new component manuallycreate folder for your component: /src/app/yourComponentcreate ts and html file: /src/app/yourComponent/name.component.ts & name.component....
2017-05-03 17:27:00 179
转载 github连接报"ssh: connect to host github.com port 22: Connection timed out"错误
版权声明:本文为博主原创文章,未经博主允许不得转载。1. 异常在连接github时,执行”ssh -TGit@github.com” 命令时,出现ssh: connect to host github.com port 22: Connection timed out2. 解决方法在存放公钥私钥(id_rsa和id_rsa.pu...
2017-01-10 09:09:00 174
转载 Github command line notes
pulling down the repo file from github servergit clone [repo url]check git current statusgit statusadd a filegit add [file name] //add single filegit add -a //add al...
2017-01-10 08:04:00 125
转载 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 88
转载 树莓派制作激光报警器
$ sudo pip install RPi.GPIOimport RPi.GPIO as GPIO, time, osGPIO.setmode(GPIO.BOARD)def RCtime(RCpin): reading = 0 GPIO.setup(RCpin, GPIO.OUT) tim...
2016-08-21 21:50:00 346
转载 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@example.com"...
2016-04-11 21:33:00 126
转载 angular中不同controller传值问题
利用angularJS中service单例模式的特性,服务(service)提供了一种能在应用的整个生命周期内保持数据的方式,能够在控制器之间进行通信,且能保证数据的一致性。一般我们都会封装server来为应用提供访问数据的接口,或者跟远程进行数据交互。示例JavaScriptvar myApp = angular.module("myApp", []);my...
2016-03-01 22:32:00 225
转载 修改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 128
转载 树莓派搭建 Minecraft PE server
1.去http://www.pocketmine.net/拿到树莓派版的安装代码,新建pocketmine目录并且进入,执行以下命令sudo apt-get install perl gcc make automake libtool autoconf m4wget -q -O - http://get.pocketmine.net/ | bash下载和安装必要...
2015-11-05 15:05:00 967
转载 使用 树莓派 搭建属于自己的 web服务器(二)设置Apache
1. 获取服务器ip地址:1 ifconfig2. 更改本地hosts文件要想在浏览器中输入一个域名也一样可以访问你的服务器,你需要更改电脑中的hosts文件linux 系统:1 sudo vim /etc/hostswindows 系统:1 C:\Windows\System32\drivers\etc\hosts...
2015-10-12 12:51:00 419
转载 使用 树莓派 搭建属于自己的 web服务器(一)安装LAMP
1. 调整pi的GPU内存占用大小作为web服务器,不需要输出视频信号,所以尽量缩小GPU的内存用量,以便最大化pi的性能。1 sudo raspi-config选择Advanced Options -> Memory Split ,然后填入16 ,保存后需要重启2. 更新你的pi1 sudo apt-get update2 sudo ...
2015-10-11 15:33:00 387
转载 关于此博客
Hi,本人Hardi,对编程有很强的兴趣。最近看了一篇学习编程的文章:Why Learning to Code is So Damn Hard, 文章里说学习编程最好的方法就是开一个博客,然后把关于编程所遇到的问题和解决方法都写在里面,通过这种方法你可以:更深刻的理解这些解决方法帮助你记忆方便以后的查阅可以给其他遇到相同问题的人借鉴所以为了达到这些目的,我开设了这个博客,...
2015-10-11 11:34:00 107
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人