/usr/local/lib/node_modules/ npm uninstall xxxx http://stackoverflow.com/questions/11177954/how-do-i-completely-uninstall-node-js-and-reinstall-from-beginning-mac-os-x Apparently, there was a “/Users/myusername/local” folder that... Read More | Share it now!
Author: Huang Shiyang
Grunt wiredep:app no such file or directory bower.json
http://stackoverflow.com/questions/25709324/grunt-wiredepapp-no-such-file-or-directory-bower-json Running “wiredep:app” (wiredep) task Warning: ENOENT, no such file or directory... Read More | Share it now!
One Line NQueens (C)
#include int v,i,j,k,l,s,a; int... Read More | Share it now!
npm-g_nosudo do npm without sudo
npm-g_nosudo https://github.com/glenpike/npm-g_nosudo sh: http://download.huangshiyang.com/shell/npm-g-nosudo.sh A shell script which will fix the problem where you want to stop using sudo for npm -g on Ubuntu. Inspired by a day trying to sort various... Read More | Share it now!
Protected: webStorm pw:asdf1234
There is no excerpt because this is a protected post.
【转】vim基本命令
1. vim #在命令行中输入vim,进入vim编辑器 2. i #按一下i键,下端显示 –INSERT– #插入命令,在vim中可能任意字符都有作用 3. Esc #退出i(插入)命令进行其它命令使用 4. :r... Read More | Share it now!
【转】Linux中shell文件操作大全
%%1 = filename 1.创建文件夹 #!/bin/sh mkdir -m 777 “%%1” 2.创建文件 #!/bin/sh touch “%%1” 3.删除文件 #!/bin/sh rm -if “%%1” 4.删除文件夹 #!/bin/sh rm -rf... Read More | Share it now!
【转】Linux必学的60个命令
Linux必学的60个命令 Linux提供了大量的命令,利用它可以有效地完成大量的工 作,如磁盘操作、文件存取、目录操作、进程管理、文件权限设定等。所以,在Linux系统上工作离不开使用系统提供的命令。要想真正理解Linux系统, 就必须从Linux命令学起,通过基础的命令学习可以进一步理解Linux系统。 不同Linux发行版的命令数量不一样,但Linux发行版本最少的命令也有200多个。这里笔者把比较重要和使用频率最多的命令,按照它们在系统中的作用分成下面六个部分一一介绍。 ◆... Read More | Share it now!
【转】Permission denied chmod .sh
一、发现问题 执行.sh文件报错 ./excute.sh -bash: ./excute.sh: Permission denied 修改权限:chmod 775 excute.sh 二、chmod命令详解 文件/目录权限设置命令:chmod... Read More | Share it now!
【转】c++ vector用法
#include <vector> 几种初始化vector对象的方式 vector<T> v1; vector保存类型为T的对象。默认构造函数v1为空。 vector<T> v2(v1); v2是v1的一个副本。 vector<T> v3(n,... Read More | Share it now!