Go through this amazon link http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
"""A little script to recover deleted recording of a mongoDB db file | |
There's no optimization but it work and has saved me | |
""" | |
import struct | |
import bson | |
import pymongo |
- board: 和一些已有开发板有关的文件, 每个开发板都以一个子目录出现在当前目录中. 比如说: SMDK2410, 子目录中存放与开发板相关的配置文件.
- common: 实现uboot命令行下支持的命令, 每一条命令都对应一个文件. 例如, bootm命令对应就是cmd_bootm.c.
- cpu: 与特定CPU架构相关目录, 每一款uboot下支持的CPU在该目录下对应一个子目录, 比如有子目录arm920t等.
- disk: 对磁盘的支持.
- doc: 文档目录. uboot有非常完善的文档, 推荐大家参考阅读.
- drivers: Uboot支持的设备驱动程序都放在该目录, 比如各种网卡, 支持CFI的Flash, 串口和USB等.
- fs: 支持的文件系统, Uboot现在支持cramfs, fat, fdos, jffs2和registerfs.
- include: Uboot使用的头文件, 还有对各种硬件平台支持的汇编文件, 系统的配置文件和对文件系统支持的文件. 该目录下configs目录有与开发板相关的配置头文件, 如: smdk2410.h. 该目录下的asm目录有与CPU体系结构相关的头文件, asm对应asm arm9
- lib_xxx: 与体系结构相关的库文件. 如与ARM相关的库放在lib_arm中.
Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv
instead. If you are looking for the previous version of this document, see the revision history.
$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"net" | |
"net/mail" | |
"net/smtp" | |
"crypto/tls" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf8 -*- | |
# Simple RSA Implementation | |
# Authored by Jeremy <jeremy5189(at)gmail.com> | |
# Reference: http://www.ruanyifeng.com/blog/2013/07/rsa_algorithm_part_two.html | |
from fractions import gcd | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project(testlink) | |
add_executable(testlink main.cpp) | |
target_link_libraries(testlink) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""A little script to recover deleted recording of a mongoDB db file | |
There's no optimization but it work and has saved me | |
""" | |
import struct | |
import bson | |
import pymongo | |
import sys |