实用笔记

By | 2012年9月18日

WebFramework:

Django
Cappuccino->mockingbird

搜索Tab

批量替换

cmake 配置安装完opencv后,将安装路径中到lib/pkg-config/opencv.pc复制到/usr/lib/pkg-config,然后可以进行pkg-config 查找

gnome3任务栏快捷方式的存放位置拖到浏览器或者终端里你就看见了。。

curl POST

ddwrt 内网不能访问内网域名

vpn的内网的问题

delete git branch

ipa client reinstall

删除/etc/ipa/ca.crt证书

fedora制作安装cd

mysql grant

打开kvm nested参数

为N则

Fedora滚动升级版 Rawhide

Opensuse滚动升级版 Tumbleweed

vs2012修复补丁

由于升级.net 4.5会出现vs2012部分项目失败,可以打这个补丁修复
Microsoft Visual Studio 2012 更新 (KB2781514)

RESTClient

针对RESTful的API可以使用这个工具
http://restclient.org

dl-ssl.google.com

74.125.237.1

owncloud repo

http://software.opensuse.org/download/package?project=isv:ownCloud:devel&package=owncloud-client

android google play

cp /data/app/googleplay /system/app/

获取Gravatar头像

Maven insecure SSL

bVNC build

FreeRDP: checkout dbbb341; cmake .; ant release
Singed keystore: keytool -genkey -alias android.keystore -keyalg RSA -validity 20000 -keystore android.keystore
http://www.mail-archive.com/spice-devel@lists.freedesktop.org/msg13763.html

IPA ADD-USER

NTP server

server 192.168.1.11 mask 255.255.0.0 nomodify
启动ntpd后要等个几分钟,client才能去同步,否则报错说未找到合适的ntp服务器

rsync

CentOS Smartcard

SmartCard service:
openct
pcscd

zathura

很好的PDF阅读器

ssh without password

ssh to a new host without key checking promption

debian offcie乱码

安装文泉逸字体
apt-get install fonts-wenquanyi

debian virt-viewer with spice

Better DNS

dns1: 199.91.73.222
dns2: 8.8.8.8

audit log

Modify /etc/audit/audit.conf to 8192 or bigger.

memcached

PHP

modify /etc/php5/conf.d/memcached.ini

disable TSO GSO to improve virtio-net

disable PackageKit in Fedora

/etc/yum/pluginconf.d/refresh-packagekit.conf

推荐一种工作方式

集成显卡下运行linux,将另一块硬盘或者vdisk,还有独立显卡passthrough给虚拟机Win7,协议使用spice,这是很爽啊

crt & key to pem

openssl x509 -inform DER -outform PEM -in server.crt -out server.crt.pem
openssl rsa -inform DER -outform PEM -in server.key -out server.key.pem
cat server.crt.pem server.key.pem >> server.pem

wireless relay for tomata

设置无线中继时确保主路由和从路由的SSID、密码、加密方式一致,不要使用WPA/WPA-2混合模式

libvirt password

netcat(nc) tips

大传输文件(file transfer)

聊天(chat)

udp connection

owncloud repo

gnome terminal proxy

update xcode cmd

Test linux watchdog

Bash环境变量漏洞检测

maven socks5 proxy

When your vm has 2 ethernet, DO noticed which one is the default gateway, or you will fail in ROUTER PORT FORWARDING.

Delete RAID info in your disk

Postgresql recovery when xlog failed

解决mysql+php中文显示问号问题

比如在vtigercrm,zabbix中

Mysql delete duplicated rows

pip upgrade all

wget 递归下载

修改gem源

使用extundelete恢复rm -fr数据

http://extundelete.sourceforge.net/下载源码,安装efs2progs-devel并编译。

使用TestDisk/PhotoRec恢复分区/数据

http://www.cgsecurity.org/wiki/TestDisk下载TestDisk,解压后会发现源码以及静态编译文件,直接执行即可,其中TestDisk恢复分区,PhotoRec恢复图片文件。

WordPress 摘要字数搜索关键字excerpt_length

Eclipse multiuser

Add following code to your eclipse/configuration/config.ini

get cer and key out of pfx

openssl/gpg encrypt/decrypt

ssh port forward

Export private key of IIS that cannot be exported

1. git clone https://github.com/iSECPartners/jailbreak-Windows.git
2. Run mcc.msc, add Cert, save this MCC as a file(i.e. aaa).
3. Run jailbreak64.exe mcc.msc aaa
4. Then you can export the private key from the cert.

iptables route to local pc

Change vm root password

Ubuntu ap-hotspot PPA

恢复IO ERROR文件

QEMU LSI SCSI

lsi_bios 下载

yum remove nodeps

File too large

HTTP REFRESH

AUTORECONF

autoreconf -i

RPi x11vnc auto start and prevent screen from sleeping

Crawl date yesterday

Simple PHP server

MacOS reinstall

MySQL select items yesterday

MACOS all source

wp-github all repos limit

修改iconic右侧widget超链接颜色

CPU IPC usage 4-wide CPU

perf stat -a — sleep 10

Linux, when adding a new disc

ens/enp rename to eth0

Change mysql database or table encoding

Google Pixel 2 network “X” symbol