2018년 12월 18일 화요일

Build a LTE Network with srsLTE and Program Your Own USIM Card (from https://cyberloginit.com/2018/05/03/build-a-lte-network-with-srslte-and-program-your-own-usim-card.html)

Build a LTE Network with srsLTE and Program Your Own USIM Card

LTE

Requirements

  • A Linux (preferably Ubuntu 16.04.4 desktop 64-bit) machine (i5 Dual-Core CPU will do, preferably with a USB 3.0 port)
  • A Software-defined radio (SDR) board with Ettus Universal Hardware Driver (UHD) or the bladeRF driver support, like USRP B210
  • A Windows machine to run the closed source USIM card programming software
  • A PC/SC compatible SIM card reader, like the MCR3512
  • A USIM card compatible with the programming software
  • A LTE handset, like the Oneplus One

Build

srsLTE is a free and open-source LTE software suite developed by SRS (www.softwareradiosystems.com).
Of the three well-known open source LTE stack(openLTE, srsLTE and OpenAirInterface), I find srsLTE have both the code elegance of openLTE and the completeness of OpenAirInterface.
With srsLTE, we are able to run a LTE network(eNodeB, MME, HSS and S/P-GW) on a single pc.
On a freshly installed 64-bit Ubuntu 16.04.4 desktop machine, install the required libraries with:
sudo apt-get install cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev

Then install the UHD driver for our USRP B210:
sudo apt-get install libuhd-dev libuhd003 uhd-host
Next, download and build srsLTE in the home directory with a non-root user:
cd ~
git clone https://github.com/srsLTE/srsLTE.git
cd srsLTE
mkdir build
cd build
cmake ../
make
make test
sudo make install

uhd install

# install bin images
sudo python /usr/lib/uhd/utils/uhd_images_downloader.py 
sudo ldconfig
# check its validity
uhd_find_devices 
uhd_find_devices 

 

 

Configuration

Change back to the source directory.
cd ~/srsLTE

srsEPC

cp srsepc/epc.conf.example srsepc/epc.conf
cp srsepc/user_db.csv.example srsepc/user_db.csv

srsENB

cp srsenb/enb.conf.example srsenb/enb.conf
cp srsenb/rr.conf.example srsenb/rr.conf
cp srsenb/sib.conf.example srsenb/sib.conf
cp srsenb/drb.conf.example srsenb/drb.conf

 Run

cd ~/srsLTE/srsepc
sudo srsepc epc.conf
Open another terminal:
cd ~/srsLTE/srsenb
sudo srsenb enb.conf
You can also tweak the epc.conf or the enb.conf file, like change the MCC and the MNC, or the DNS address.
Note: The UE database file(user_db.csv) has to be within the same directory where you would run the srsepc command.
Search ‘Available networks’ from your phone, and you should seen the custom built 4G network among local networks.
Networks

USIM Card

USIM card is a complex closed system.
Usually, you will not be able to program a blank USIM card bought online with a open source software like pySim, because different manufacturers have different implementations for the USIM standard.
If you do not have USIM cards supported by pySIM, like sysmoUSIM-SJS1, GrcardSIM, GrcardSIM2 and MagicSIM, a closed source software is needed, and most of the time, it is based on Windows.
Another way is to simply ask the seller to program the USIM cards for you. Both eBay and Taobao have plenty of them.
Just make sure the parameters: ICCID, IMSI, KI and OP/OPc are programmed accordingly.

Save 150¥

I bought a USIM card from Taobao which costs me 30¥. The USIM card reader and the programming software combined costs up to 150¥.
USIM
Note: If this link should fail, just search ‘openlte’ from Taobao.
So it seems that I will have to spend at least 180¥ for this.
Not so fast!
After digging through CSDN, a programmer website in China, I found a interesting article.
The USIM programming software used by the blogger is the same as the picture from the Taobao shop, although the later one is heavily watermarked.
USIM programming software
Both screenshots show that the USIM programming software is called SIM Personalize tools(Copyright: GreenCard Co.,Ltd Ver 3.1.0). They are even of the same version!
The blogger has uploaded both a configuration file and a programing software to CSDN, but only gives the download link to the parameters configuration file.
I have managed to find the download link for the programing software here.
Unfortunately, like most Chinese websites, CSDN requires credits to download.
Fortunately, there are many sellers on Taobao offering CSDN downloading service which costs less than 3¥ for however many credits CSDN requires.
To save trouble, I have decided to offer it here. You’d better have it scanned by some antivirus software for safety concern:)
As for the USIM reader, any PC/SC compatible smart card reader will do.

Program the USIM Card

On Windows 10, just plug in the smart card reader and Windows will take care of installing the drivers needed.
Then, open SIM Personalize tools GRSIMWrite.exe, click Read Card, it should be able to read the parameters stored without error.
Programming Card
Next, write the card as you like.
For srsLTE, make sure the IMSI, KI and OP values are identical with those in the user_db.csv file.

Enbale IP Network

With the USIM card programmed above, you should be able to connect to LTE network.
To surf the Internet:
cd ~/srsLTE/srsepc
sudo su
./if_masq.sh [Interface for Internet connection]
You can get all the network interfaces of your machine with ifconfig, make sure you give if_masq.sh the name of the interface which connects to the Internet.
Note: DO NOT run if_masq.sh with sudo, it will not work on Ubuntu.
srsEPC creates a virtual network interface srs_spgw_sgi with the IP address 172.16.0.0/24. Your phone should be able to get an IP address like 172.16.0.2.
UE IP
The if_masq.sh script enables IP forward for our Ubuntu system and masquerades traffic from srs_spgw_sgi by the interface which connects to the Internet.
Next, add an Access Point Names(APN) in the Cellular network settings of your phone.
UE APNUE APN Setting
Only two fields need to be filled, the first name can be anything you like; the second APN needs to be the same with settings in epc.conf, srsapn by default.
Now, you can surf the Internet by the custom built LTE network, just like Wi-Fi!
The Verizon service provider name(SPN) value is set in the USIM card.
UE Lock Screen
Speed test with FAST Speed Test from Netflix.
Speed Test

Reference

2018년 12월 2일 일요일

Install OpenLTE on Ubuntu wih USRP B210

referred from https://www.tansokun920.com/entry/2018/05/30/232201

1. Prerequisite
- USRP B210 (strong recommendation, you can use your own USRP or SDR, but it needs some level of modification).
- Powerful computer (CPU Intel i5, i7 or equivalent / RAM 8GB+ / USB3.0 interface / Ubuntu 14.04 or later).

2. You have to know
- Using licensed spectrum without permission is ILLEGAL on most of the countries in the world.

3. Install Ubuntu
- I installed Ubuntu 16.04, (I tried 14.04, 17.04, 18.04 - unless you have special preference you 16.04 just use 16.04 it will save your days maybe weeks).
- Don't use VM, its performance drops dramatically in VM.

4. Install OpenLTE
Once your Ubuntu is ready, you can install openLTE, basically follows below.
https://sourceforge.net/p/openlte/wiki/Home/
https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux

4.1 install GNURADIO
- $sudo apt-get update
-$sudo apt-get -y install git swig cmake doxygen build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc libcppunit-1.13-0v5 libcppunit-dev libcppunit-doc ncurses-bin cpufrequtils python-numpy python-numpy-doc python-numpy-dbg python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc python-qt4-doc libqwt6abi1 libfftw3-bin libfftw3-dev libfftw3-doc ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk3.0 git-core libqt4-dev python-numpy ccache python-opengl libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev libasound2-dev python-gtk2 libzmq-dev libzmq1 python-requests python-sphinx libcomedi-dev python-zmq

*modify the command based on your Ubuntu version (https://kb.ettus.com/Building_and_Installing_the_USRP_OpenSource_Toolchain_(UHD_and_GNU_Radio)_on_Linux)

4.1.1 Building and installing UHD from source code
-4.1.1.1, make a folder to hold the repository.
      cd $HOME mkdir workarea-uhd cd workarea-uhd

-4.1.1.2, clone the repository and change into the cloned directory.
      git clone https://github.com/EttusResearch/uhd cd uhd

-4.1.1.3, checkout the desired UHD version. You can get a full listing of tagged releases by running the command:
      git tag -l
      
      Example truncated output of git tag -l:
$ git tag -l ... release_003_009_004 release_003_009_005 release_003_010_000_000

      Example: For UHD 3.11.0.1: (*what I did and working version)
      git checkout release_003_011_000_001

-4.1.1.4, create a build folder within the repository.
      cd host mkdir build cd build

-4.1.1.5, invoke CMake to create the Makefiles.
      cmake ../

-4.1.1.6, run Make to build UHD.
      make

-4.1.1.7, you can optionally run some basic tests to verify that the build process completed properly.
   make test 
 
-4.1.1.8, install GNU Radio, using the default install prefix, which will install GNU Radio under the /usr/local/lib folder. You need to run this as root due to the permissions on that folder.
      sudo make install

-4.1.1.9, update the system's shared library cache.
   sudo ldconfig
 
-4.1.1.10, make sure that the LD_LIBRARY_PATH environment variable is defined and includes the folder under which UHD was installed. Most commonly, you can add the line below to the end of your $HOME/.bashrc file:
      export LD_LIBRARY_PATH=/usr/local/lib

-4.1.1.11 If the LD_LIBRARY_PATH environment variable is already defined with other folders in your $HOME/.bashrc file, then add the line below to the end of your $HOME/.bashrc file to preserve the current settings.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

-4.1.1.12 For this change to take effect, you will need to close the current terminal window, and open a new terminal.
At this point, UHD should be installed and ready to use. You can quickly test this, with no USRP device attached, by running uhd_find_devices. You should see something similar to the following.
       uhd_find_devices

Below is my example, mine is B210
       [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800;      UHD_3.11.0.HEAD-0-ga1b5c4ae
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    serial: XXXXXXXX
    name: MyB210
    product: B210
    type: b200


4.1.2 Configuring USB
On Linux, udev handles USB plug and unplug events. The following commands install a udev rule so that non-root users may access the device. This step is only necessary for devices that use USB to connect to the host computer, such as the B200, B210, and B200mini. This setting should take effect immediately and does not require a reboot or logout/login. Be sure that no USRP device is connected via USB when running these commands.
    cd $HOME/workarea-uhd/uhd/host/utils
    sudo cp uhd-usrp.rules /etc/udev/rules.d/
    sudo udevadm control --reload-rules sudo udevadm trigger

4.1.3 Connect the USRP
The installation of UHD and GNU Radio should now be complete. At this point, connect the USRP to the host computer.
If the interface is USB, then open a terminal window, and run "lsusb". You should see the USRP listed on the USB bus with a VID of 2500 and PID of 0020, 0021, 0022, for B200, B210, B200mini, respectively. Also try running "uhd_find_devices" and "uhd_usrp_probe".

4.2. Install PolarSSL 
4.2.1 recommended command but failed in my case
$ sudo apt-get install libpolarssl-dev

$ wget  http://launchpadlibrarian.net/195987839/libpolarssl7_1.3.9-2.1_amd64.deb
$ wget http://launchpadlibrarian.net/195987837/libpolarssl-dev_1.3.9-2.1_amd64.deb
$ sudo dpkg -i libpolarssl7_1.3.9 -2.1_ amd64 . deb
$ sudo dpkg -i libpolarssl-dev_1.3.9-2.1_ amd64 . deb

4.3 Install openLTE
Download latest version from the link https://sourceforge.net/projects/openlte/files/
- I downloaded "openlte_v00-20-05.tgz" and unzip it
- tar -xvzf openlte_v00-20-05.tgz

4.4 Install osmocom Gnu Radio Blocks
https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR

GNURADIO INSTALL
https://github.com/gnuradio/gnuradio

$pybombs prefix init ~/prefix/default/ --> $pybombs prefix init /home/ai2s/prefix
 


2016년 12월 21일 수요일

INFOCOM
SIGCOMM
NSDI
MobiCom
MobiSys
SenSys
IMC
SIGMETRICS

2016년 8월 3일 수요일

Using wProf

 ./chrome --no-sandbox http://alexa.com
in home/FRIEND-FOLDER/chrome/

2016년 7월 17일 일요일

ffmpeg command

1. make ogv file to mp4
ffmpeg -i demo.ogv \
       -c:v libx264 -preset veryslow -crf 22 \
       -c:a libmp3lame -qscale:a 2 -ac 2 -ar 44100 \
       demo.mp4

http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs

2015년 4월 11일 토요일

Setup SVN server on ubuntu 14.04

Let’s start the installation .
Step 1 » Issue the below command to update the repositories.
sudo apt-get update
Step 2 » After updating repositories , Issue the below command to install SVN and apache webserver (To access SVN through http ) .
sudo apt-get install subversion apache2 libapache2-svn apache2-utils
Step 3 » Now create a directory and create a new repository in that directory ( Here i’m using testrepo as repository name ).
sudo mkdir -p /svn/repos/
sudo svnadmin create /svn/repos/testrepo

Step 4 » Now change ownership for the repository.
sudo chown -R www-data:www-data /svn/repos/testrepo
Step 5 » Create a file testrepo.conf in /etc/apache2/sites-available/ and add the below lines for creating apache virtual host.
SVNParentPath /svn/repos/ : Parent Directory without repository name.
AuthUserFile /etc/svnpasswd : File need to be created ( Step 8) for user details.
Step 6 » Issue the below command to enable the Site ( testrepo in the below command should match the file name created in the previous step )
sudo a2ensite testrepo
Step 7 » Now restart or reload apache service.
sudo service apache2 reload
Step 8 » Issue the command to create user for accessing repository and add the user details to /etc/svnpasswd file.
Use this command to create first user.
sudo htpasswd -cm /etc/svnpasswd user1
Use the same command without c option to create additional users.
sudo htpasswd -m /etc/svnpasswd user2
Step 9 » Now you can access http://yourip/svn/testrepo in your browser ( Eg http://10.0.1.15/svn/testrepo ) and you can see the page like below after successful authentication.
Setup svn server ubuntu 14.04
That’t it , your server is ready.
You could use svn clients such as Tortoisesvn on windows and Rapidsvn on ubuntu for commiting and updating repository.
good luck

http://www.krizna.com/ubuntu/setup-svn-server-on-ubuntu-14-04/

2014년 11월 13일 목요일

eZ430 as RFID tag

1. basic eZ430-F2013 install
http://indiantinker.wordpress.com/2014/02/17/coffeebreak-tutorial-1-setting-up-ubuntu-12-04lts-64bit-to-say-hi-to-msp430

1.1. The original of this
http://www.mycontraption.com/programming-the-msp430-launchpad-on-ubuntu/
2. WISP code to test
http://wisp.wikispaces.com/WISP+Code+Examples


  1. sudo apt-get install binutils-msp430 gcc-msp430 msp430-libc mspdebug
  2. msp430-gcc
    - check MSP430 installation
    - msp430-gcc: no input files // you will see no input files
  3. lsusb // check MSP430 is properly connected
  4. mspdebug -uif //MSP430 debugger for the device
DO somecoding in main.c
+---------------------------------------------------------------------------+
/*
* main.c
*/
#include
#define LED BIT0
void delayMS(unsigned int ms ) // MS delay function
{
    unsigned int i;
    for (i = 0; i<= ms; i++)
        __delay_cycles(2000);
}

int main(void) {
    WDTCTL = WDTPW + WDTHOLD;
    P1DIR |= LED;
    P1OUT=0x00;
    while(1)
    {
        P1OUT^= LED;
    delayMS(500);
    }
    return 0;
}

+---------------------------------------------------------------------------+
  1. msp430-gcc -Os -Wall -g -mmcu=msp430f2013 -c main.c // compile
  2. msp430-gcc  -g  -mmcu=msp430f2013 -o main.elf main.o // elf (Executable and Linking file) file generation
  3. sudo mspdebug uif 'erase' 'load main.elf' 'exit' // burn the executable to MSP430

2014년 5월 31일 토요일

SUMMER INTERNSHIP AS INTERNATIONAL GRADUATE STUDENT IN U.S. case of Stony Brook University.

Computer Science Student in Stony Brook University.


[DEPARTMENT]
1) ask administrator to allow CSE696 enrollment (it is 1 credit course for summer internship, you have to enroll this course if you want the credit or not, it costs $881.85 as of summer 2014).
* by enrolling 1) administrator knows you are doing summer internship and prepare documentation for CPT approval in department side.

[VISA SERVICE CENTER]
2) apply CPT on the web https://vis.stonybrook.edu/istart/controllers/start/start.cfm , this is web only, you don't need to see VISA adviser to apply CPT, but it is recommended to be advised, they will review your document and give you comment if needed, advising saves time.

[YOU]
3) wait for 2) hardcopy CPT, it is generally picked up at VISA office unless you request post-delivery.
* waiting may take 2 weeks or longer, but all the processes work fluently this could be completed in couple of days.

[COMPANY YOU ACCEPTED]
4) fill out I-9 form, this is generally called red carpet, it is common for industry.

[YOU]
5) Day one in company, you need to bring 2) and 4) and identification card. You are now authorized to work as F-1 VISA.





2014년 2월 17일 월요일

MAVEN INSTALL AND USE

1. install mvn
2. mvn compile
- (mvn generate-resources)
3. mvn intall





http://www.mkyong.com/maven/how-to-include-library-manully-into-maven-local-repository/

2014년 2월 1일 토요일

연봉

Color Chart in matlab

Use




(define color-aliceblue (color rgb (/ 240 255) (/ 248 255) (/ 255 255 )))
(define color-antiquewhite (color rgb (/ 250 255) (/ 235 255) (/ 215 255 )))
(define color-antiquewhite1 (color rgb (/ 255 255) (/ 239 255) (/ 219 255 )))
(define color-antiquewhite2 (color rgb (/ 238 255) (/ 223 255) (/ 204 255 )))
(define color-antiquewhite3 (color rgb (/ 205 255) (/ 192 255) (/ 176 255 )))
(define color-antiquewhite4 (color rgb (/ 139 255) (/ 131 255) (/ 120 255 )))
(define color-aqua (color rgb (/ 0 255) (/ 255 255) (/ 255 255 )))
(define color-aquamarine (color rgb (/ 127 255) (/ 255 255) (/ 212 255 )))
(define color-azure (color rgb (/ 240 255) (/ 255 255) (/ 255 255 )))
(define color-azure1 (color rgb (/ 240 255) (/ 255 255) (/ 255 255 )))
(define color-azure2 (color rgb (/ 224 255) (/ 238 255) (/ 238 255 )))
(define color-azure3 (color rgb (/ 193 255) (/ 205 255) (/ 205 255 )))
(define color-azure4 (color rgb (/ 131 255) (/ 139 255) (/ 139 255 )))
(define color-beige (color rgb (/ 245 255) (/ 245 255) (/ 220 255 )))
(define color-bisque (color rgb (/ 255 255) (/ 228 255) (/ 196 255 )))
(define color-bisque1 (color rgb (/ 255 255) (/ 228 255) (/ 196 255 )))
(define color-bisque2 (color rgb (/ 238 255) (/ 213 255) (/ 183 255 )))
(define color-bisque3 (color rgb (/ 205 255) (/ 183 255) (/ 158 255 )))
(define color-bisque4 (color rgb (/ 139 255) (/ 125 255) (/ 107 255 )))
(define color-black (color rgb (/ 0 255) (/ 0 255) (/ 0 255 )))
(define color-blanchedalmond (color rgb (/ 255 255) (/ 235 255) (/ 205 255 )))
(define color-blue (color rgb (/ 0 255) (/ 0 255) (/ 255 255 )))
(define color-blue1 (color rgb (/ 0 255) (/ 0 255) (/ 255 255 )))
(define color-blue2 (color rgb (/ 0 255) (/ 0 255) (/ 238 255 )))
(define color-blue3 (color rgb (/ 0 255) (/ 0 255) (/ 205 255 )))
(define color-blue4 (color rgb (/ 0 255) (/ 0 255) (/ 139 255 )))
(define color-blueviolet (color rgb (/ 138 255) (/ 43 255) (/ 226 255 )))
(define color-brown (color rgb (/ 165 255) (/ 42 255) (/ 42 255 )))
(define color-burlywood (color rgb (/ 222 255) (/ 184 255) (/ 135 255 )))
(define color-cadetblue (color rgb (/ 95 255) (/ 158 255) (/ 160 255 )))
(define color-cadetblue1 (color rgb (/ 152 255) (/ 245 255) (/ 255 255 )))
(define color-cadetblue2 (color rgb (/ 142 255) (/ 229 255) (/ 238 255 )))
(define color-cadetblue3 (color rgb (/ 122 255) (/ 197 255) (/ 205 255 )))
(define color-cadetblue4 (color rgb (/ 83 255) (/ 134 255) (/ 139 255 )))
(define color-chartreuse (color rgb (/ 127 255) (/ 255 255) (/ 0 255 )))
(define color-chocolate (color rgb (/ 210 255) (/ 105 255) (/ 30 255 )))
(define color-coral (color rgb (/ 255 255) (/ 127 255) (/ 80 255 )))
(define color-cornflowerblue (color rgb (/ 100 255) (/ 149 255) (/ 237 255 )))
(define color-cornsilk (color rgb (/ 255 255) (/ 248 255) (/ 220 255 )))
(define color-cornsilk1 (color rgb (/ 255 255) (/ 248 255) (/ 220 255 )))
(define color-cornsilk2 (color rgb (/ 238 255) (/ 232 255) (/ 205 255 )))
(define color-cornsilk3 (color rgb (/ 205 255) (/ 200 255) (/ 177 255 )))
(define color-cornsilk4 (color rgb (/ 139 255) (/ 136 255) (/ 120 255 )))
(define color-crimson (color rgb (/ 220 255) (/ 20 255) (/ 54 255 )))
(define color-crimson1 (color rgb (/ 220 255) (/ 20 255) (/ 60 255 )))
(define color-cyan (color rgb (/ 0 255) (/ 255 255) (/ 255 255 )))
(define color-cyan1 (color rgb (/ 0 255) (/ 255 255) (/ 255 255 )))
(define color-cyan2 (color rgb (/ 0 255) (/ 238 255) (/ 238 255 )))
(define color-darkblue (color rgb (/ 0 255) (/ 0 255) (/ 139 255 )))
(define color-darkcyan (color rgb (/ 0 255) (/ 139 255) (/ 139 255 )))
(define color-darkgoldenrod (color rgb (/ 184 255) (/ 134 255) (/ 11 255 )))
(define color-darkgray (color rgb (/ 169 255) (/ 169 255) (/ 169 255 )))
(define color-darkgreen (color rgb (/ 0 255) (/ 100 255) (/ 0 255 )))
(define color-darkkhaki (color rgb (/ 189 255) (/ 183 255) (/ 107 255 )))
(define color-darkmagenta (color rgb (/ 139 255) (/ 0 255) (/ 139 255 )))
(define color-darkolivegreen (color rgb (/ 85 255) (/ 107 255) (/ 47 255 )))
(define color-darkorange (color rgb (/ 255 255) (/ 140 255) (/ 0 255 )))
(define color-darkorchid (color rgb (/ 153 255) (/ 50 255) (/ 204 255 )))
(define color-darkred (color rgb (/ 139 255) (/ 0 255) (/ 0 255 )))
(define color-darksalmon (color rgb (/ 233 255) (/ 150 255) (/ 122 255 )))
(define color-darkseagreen (color rgb (/ 143 255) (/ 188 255) (/ 143 255 )))
(define color-darkslateblue (color rgb (/ 72 255) (/ 61 255) (/ 139 255 )))
(define color-darkslategray (color rgb (/ 47 255) (/ 79 255) (/ 79 255 )))
(define color-darkturquoise (color rgb (/ 0 255) (/ 206 255) (/ 209 255 )))
(define color-darkviolet (color rgb (/ 148 255) (/ 0 255) (/ 211 255 )))
(define color-deeppink (color rgb (/ 255 255) (/ 20 255) (/ 147 255 )))
(define color-deepskyblue (color rgb (/ 0 255) (/ 191 255) (/ 255 255 )))
(define color-deepskyblue1 (color rgb (/ 0 255) (/ 191 255) (/ 255 255 )))
(define color-deepskyblue2 (color rgb (/ 0 255) (/ 178 255) (/ 238 255 )))
(define color-deepskyblue3 (color rgb (/ 0 255) (/ 154 255) (/ 205 255 )))
(define color-deepskyblue4 (color rgb (/ 0 255) (/ 104 255) (/ 139 255 )))
(define color-dimgray (color rgb (/ 105 255) (/ 105 255) (/ 105 255 )))
(define color-dimgrey (color rgb (/ 105 255) (/ 105 255) (/ 105 255 )))
(define color-dodgerblue (color rgb (/ 30 255) (/ 144 255) (/ 255 255 )))
(define color-dodgerblue1 (color rgb (/ 30 255) (/ 144 255) (/ 255 255 )))
(define color-dodgerblue2 (color rgb (/ 28 255) (/ 134 255) (/ 238 255 )))
(define color-dodgerblue3 (color rgb (/ 24 255) (/ 116 255) (/ 205 255 )))
(define color-dodgerblue4 (color rgb (/ 16 255) (/ 78 255) (/ 139 255 )))
(define color-firebrick (color rgb (/ 178 255) (/ 34 255) (/ 34 255 )))
(define color-floralwhite (color rgb (/ 255 255) (/ 250 255) (/ 240 255 )))
(define color-forestgreen (color rgb (/ 34 255) (/ 139 255) (/ 34 255 )))
(define color-fuchsia (color rgb (/ 255 255) (/ 0 255) (/ 255 255 )))
(define color-fuschia (color rgb (/ 255 255) (/ 0 255) (/ 255 255 )))
(define color-gainsboro (color rgb (/ 220 255) (/ 220 255) (/ 220 255 )))
(define color-ghostwhite (color rgb (/ 248 255) (/ 248 255) (/ 255 255 )))
(define color-gold (color rgb (/ 255 255) (/ 215 255) (/ 0 255 )))
(define color-goldenrod (color rgb (/ 218 255) (/ 165 255) (/ 32 255 )))
(define color-gray (color rgb (/ 128 255) (/ 128 255) (/ 128 255 )))
(define color-green (color rgb (/ 0 255) (/ 128 255) (/ 0 255 )))
(define color-green1 (color rgb (/ 0 255) (/ 192 255) (/ 0 255 )))
(define color-green2 (color rgb (/ 0 255) (/ 255 255) (/ 0 255 )))
(define color-greenyellow (color rgb (/ 173 255) (/ 255 255) (/ 47 255 )))
(define color-grey (color rgb (/ 190 255) (/ 190 255) (/ 190 255 )))
(define color-honeydew (color rgb (/ 240 255) (/ 255 255) (/ 240 255 )))
(define color-honeydew1 (color rgb (/ 240 255) (/ 255 255) (/ 240 255 )))
(define color-honeydew2 (color rgb (/ 224 255) (/ 238 255) (/ 224 255 )))
(define color-honeydew3 (color rgb (/ 193 255) (/ 205 255) (/ 193 255 )))
(define color-honeydew4 (color rgb (/ 131 255) (/ 139 255) (/ 131 255 )))
(define color-hotpink (color rgb (/ 255 255) (/ 105 255) (/ 180 255 )))
(define color-iceblue (color rgb (/ 240 255) (/ 248 255) (/ 255 255 )))
(define color-indianred (color rgb (/ 205 255) (/ 92 255) (/ 92 255 )))
(define color-indigo (color rgb (/ 75 255) (/ 0 255) (/ 128 255 )))
(define color-indigo1 (color rgb (/ 75 255) (/ 0 255) (/ 129 255 )))
(define color-indigo2 (color rgb (/ 75 255) (/ 0 255) (/ 130 255 )))
(define color-ivory (color rgb (/ 255 255) (/ 255 255) (/ 240 255 )))
(define color-ivory1 (color rgb (/ 255 255) (/ 255 255) (/ 240 255 )))
(define color-ivory2 (color rgb (/ 238 255) (/ 238 255) (/ 224 255 )))
(define color-ivory3 (color rgb (/ 205 255) (/ 205 255) (/ 193 255 )))
(define color-ivory4 (color rgb (/ 139 255) (/ 139 255) (/ 131 255 )))
(define color-khaki (color rgb (/ 240 255) (/ 230 255) (/ 140 255 )))
(define color-lavender (color rgb (/ 230 255) (/ 230 255) (/ 250 255 )))
(define color-lavenderblush (color rgb (/ 255 255) (/ 240 255) (/ 245 255 )))
(define color-lavenderblush1 (color rgb (/ 255 255) (/ 240 255) (/ 245 255 )))
(define color-lavenderblush2 (color rgb (/ 238 255) (/ 224 255) (/ 229 255 )))
(define color-lavenderblush3 (color rgb (/ 205 255) (/ 193 255) (/ 197 255 )))
(define color-lavenderblush4 (color rgb (/ 139 255) (/ 131 255) (/ 134 255 )))
(define color-lawngreen (color rgb (/ 124 255) (/ 252 255) (/ 0 255 )))
(define color-lemonchiffon (color rgb (/ 255 255) (/ 250 255) (/ 205 255 )))
(define color-lemonchiffon1 (color rgb (/ 255 255) (/ 250 255) (/ 205 255 )))
(define color-lemonchiffon2 (color rgb (/ 238 255) (/ 233 255) (/ 191 255 )))
(define color-lemonchiffon3 (color rgb (/ 205 255) (/ 201 255) (/ 165 255 )))
(define color-lemonchiffon4 (color rgb (/ 139 255) (/ 137 255) (/ 112 255 )))
(define color-lightblue (color rgb (/ 173 255) (/ 216 255) (/ 230 255 )))
(define color-lightblue1 (color rgb (/ 191 255) (/ 239 255) (/ 255 255 )))
(define color-lightblue2 (color rgb (/ 178 255) (/ 223 255) (/ 238 255 )))
(define color-lightblue3 (color rgb (/ 154 255) (/ 192 255) (/ 205 255 )))
(define color-lightblue4 (color rgb (/ 104 255) (/ 131 255) (/ 139 255 )))
(define color-lightcoral (color rgb (/ 240 255) (/ 128 255) (/ 128 255 )))
(define color-lightcyan (color rgb (/ 224 255) (/ 255 255) (/ 255 255 )))
(define color-lightcyan1 (color rgb (/ 224 255) (/ 255 255) (/ 255 255 )))
(define color-lightcyan2 (color rgb (/ 209 255) (/ 238 255) (/ 238 255 )))
(define color-lightcyan3 (color rgb (/ 180 255) (/ 205 255) (/ 205 255 )))
(define color-lightcyan4 (color rgb (/ 122 255) (/ 139 255) (/ 139 255 )))
(define color-lightgoldenrod (color rgb (/ 238 255) (/ 221 255) (/ 130 255 )))
(define color-lightgoldenrodyellow (color rgb (/ 250 255) (/ 250 255) (/ 210 255 )))
(define color-lightgray (color rgb (/ 211 255) (/ 211 255) (/ 211 255 )))
(define color-lightgreen (color rgb (/ 144 255) (/ 238 255) (/ 144 255 )))
(define color-lightgrey (color rgb (/ 211 255) (/ 211 255) (/ 211 255 )))
(define color-lightpink (color rgb (/ 255 255) (/ 182 255) (/ 193 255 )))
(define color-lightsalmon (color rgb (/ 255 255) (/ 160 255) (/ 122 255 )))
(define color-lightseagreen (color rgb (/ 32 255) (/ 178 255) (/ 170 255 )))
(define color-lightskyblue (color rgb (/ 135 255) (/ 206 255) (/ 250 255 )))
(define color-lightskyblue1 (color rgb (/ 176 255) (/ 226 255) (/ 255 255 )))
(define color-lightskyblue2 (color rgb (/ 164 255) (/ 211 255) (/ 238 255 )))
(define color-lightskyblue3 (color rgb (/ 141 255) (/ 182 255) (/ 205 255 )))
(define color-lightskyblue4 (color rgb (/ 96 255) (/ 123 255) (/ 139 255 )))
(define color-lightslateblue (color rgb (/ 132 255) (/ 112 255) (/ 255 255 )))
(define color-lightslategray (color rgb (/ 119 255) (/ 136 255) (/ 153 255 )))
(define color-lightsteelblue (color rgb (/ 176 255) (/ 196 255) (/ 222 255 )))
(define color-lightsteelblue1 (color rgb (/ 202 255) (/ 225 255) (/ 255 255 )))
(define color-lightsteelblue2 (color rgb (/ 188 255) (/ 210 255) (/ 238 255 )))
(define color-lightsteelblue3 (color rgb (/ 162 255) (/ 181 255) (/ 205 255 )))
(define color-lightsteelblue4 (color rgb (/ 110 255) (/ 123 255) (/ 139 255 )))
(define color-lightyellow (color rgb (/ 255 255) (/ 255 255) (/ 224 255 )))
(define color-lime (color rgb (/ 0 255) (/ 255 255) (/ 0 255 )))
(define color-limegreen (color rgb (/ 50 255) (/ 205 255) (/ 50 255 )))
(define color-linen (color rgb (/ 250 255) (/ 240 255) (/ 230 255 )))
(define color-ltgoldenrodyello (color rgb (/ 250 255) (/ 250 255) (/ 210 255 )))
(define color-magenta (color rgb (/ 255 255) (/ 0 255) (/ 255 255 )))
(define color-maroon (color rgb (/ 128 255) (/ 0 255) (/ 0 255 )))
(define color-maroon1 (color rgb (/ 176 255) (/ 48 255) (/ 96 255 )))
(define color-medaquamarine (color rgb (/ 102 255) (/ 205 255) (/ 170 255 )))
(define color-medblue (color rgb (/ 0 255) (/ 0 255) (/ 205 255 )))
(define color-mediumaquamarine (color rgb (/ 102 255) (/ 205 255) (/ 170 255 )))
(define color-mediumblue (color rgb (/ 0 255) (/ 0 255) (/ 205 255 )))
(define color-mediumorchid (color rgb (/ 186 255) (/ 85 255) (/ 211 255 )))
(define color-mediumpurple (color rgb (/ 147 255) (/ 112 255) (/ 219 255 )))
(define color-mediumseagreen (color rgb (/ 60 255) (/ 179 255) (/ 113 255 )))
(define color-mediumslateblue (color rgb (/ 123 255) (/ 104 255) (/ 238 255 )))
(define color-mediumspringgreen (color rgb (/ 0 255) (/ 250 255) (/ 154 255 )))
(define color-mediumturquoise (color rgb (/ 72 255) (/ 209 255) (/ 204 255 )))
(define color-mediumvioletred (color rgb (/ 199 255) (/ 21 255) (/ 133 255 )))
(define color-medorchid (color rgb (/ 186 255) (/ 85 255) (/ 211 255 )))
(define color-medpurple (color rgb (/ 147 255) (/ 112 255) (/ 219 255 )))
(define color-medseagreen (color rgb (/ 60 255) (/ 179 255) (/ 113 255 )))
(define color-medslateblue (color rgb (/ 123 255) (/ 104 255) (/ 238 255 )))
(define color-medspringgreen (color rgb (/ 0 255) (/ 250 255) (/ 154 255 )))
(define color-medturquoise (color rgb (/ 72 255) (/ 209 255) (/ 204 255 )))
(define color-medvioletred (color rgb (/ 199 255) (/ 21 255) (/ 133 255 )))
(define color-midnightblue (color rgb (/ 25 255) (/ 25 255) (/ 112 255 )))
(define color-mintcream (color rgb (/ 245 255) (/ 255 255) (/ 250 255 )))
(define color-mistyrose (color rgb (/ 255 255) (/ 228 255) (/ 225 255 )))
(define color-mistyrose1 (color rgb (/ 255 255) (/ 228 255) (/ 225 255 )))
(define color-mistyrose2 (color rgb (/ 238 255) (/ 213 255) (/ 210 255 )))
(define color-mistyrose3 (color rgb (/ 205 255) (/ 183 255) (/ 181 255 )))
(define color-mistyrose4 (color rgb (/ 139 255) (/ 125 255) (/ 123 255 )))
(define color-moccasin (color rgb (/ 255 255) (/ 228 255) (/ 181 255 )))
(define color-navahowhite (color rgb (/ 255 255) (/ 222 255) (/ 173 255 )))
(define color-navajowhite (color rgb (/ 255 255) (/ 222 255) (/ 173 255 )))
(define color-navajowhite1 (color rgb (/ 255 255) (/ 222 255) (/ 173 255 )))
(define color-navajowhite2 (color rgb (/ 238 255) (/ 207 255) (/ 161 255 )))
(define color-navajowhite3 (color rgb (/ 205 255) (/ 179 255) (/ 139 255 )))
(define color-navajowhite4 (color rgb (/ 139 255) (/ 121 255) (/ 94 255 )))
(define color-navy (color rgb (/ 0 255) (/ 0 255) (/ 128 255 )))
(define color-navyblue (color rgb (/ 0 255) (/ 0 255) (/ 128 255 )))
(define color-oldlace (color rgb (/ 253 255) (/ 245 255) (/ 230 255 )))
(define color-olive (color rgb (/ 128 255) (/ 128 255) (/ 0 255 )))
(define color-olivedrab (color rgb (/ 107 255) (/ 142 255) (/ 35 255 )))
(define color-orange (color rgb (/ 255 255) (/ 165 255) (/ 0 255 )))
(define color-orangered (color rgb (/ 255 255) (/ 69 255) (/ 0 255 )))
(define color-orchid (color rgb (/ 218 255) (/ 112 255) (/ 214 255 )))
(define color-palegoldenrod (color rgb (/ 238 255) (/ 232 255) (/ 170 255 )))
(define color-palegreen (color rgb (/ 152 255) (/ 251 255) (/ 152 255 )))
(define color-paleturquoise (color rgb (/ 175 255) (/ 238 255) (/ 238 255 )))
(define color-paleturquoise1 (color rgb (/ 187 255) (/ 255 255) (/ 255 255 )))
(define color-paleturquoise2 (color rgb (/ 174 255) (/ 238 255) (/ 238 255 )))
(define color-paleturquoise3 (color rgb (/ 150 255) (/ 205 255) (/ 205 255 )))
(define color-paleturquoise4 (color rgb (/ 102 255) (/ 139 255) (/ 139 255 )))
(define color-palevioletred (color rgb (/ 219 255) (/ 112 255) (/ 147 255 )))
(define color-papayawhip (color rgb (/ 255 255) (/ 239 255) (/ 213 255 )))
(define color-peachpuff (color rgb (/ 255 255) (/ 218 255) (/ 185 255 )))
(define color-peachpuff1 (color rgb (/ 255 255) (/ 218 255) (/ 185 255 )))
(define color-peachpuff2 (color rgb (/ 238 255) (/ 203 255) (/ 173 255 )))
(define color-peachpuff3 (color rgb (/ 205 255) (/ 175 255) (/ 149 255 )))
(define color-peachpuff4 (color rgb (/ 139 255) (/ 119 255) (/ 101 255 )))
(define color-peru (color rgb (/ 205 255) (/ 133 255) (/ 63 255 )))
(define color-pink (color rgb (/ 255 255) (/ 192 255) (/ 203 255 )))
(define color-plum (color rgb (/ 221 255) (/ 160 255) (/ 221 255 )))
(define color-powderblue (color rgb (/ 176 255) (/ 224 255) (/ 230 255 )))
(define color-purple (color rgb (/ 128 255) (/ 0 255) (/ 128 255 )))
(define color-purple1 (color rgb (/ 160 255) (/ 32 255) (/ 240 255 )))
(define color-red (color rgb (/ 255 255) (/ 0 255) (/ 0 255 )))
(define color-rosybrown (color rgb (/ 188 255) (/ 143 255) (/ 143 255 )))
(define color-royalblue (color rgb (/ 65 255) (/ 105 255) (/ 225 255 )))
(define color-royalblue1 (color rgb (/ 72 255) (/ 118 255) (/ 255 255 )))
(define color-royalblue2 (color rgb (/ 67 255) (/ 110 255) (/ 238 255 )))
(define color-royalblue3 (color rgb (/ 58 255) (/ 95 255) (/ 205 255 )))
(define color-royalblue4 (color rgb (/ 39 255) (/ 64 255) (/ 139 255 )))
(define color-saddlebrown (color rgb (/ 139 255) (/ 69 255) (/ 19 255 )))
(define color-salmon (color rgb (/ 250 255) (/ 128 255) (/ 114 255 )))
(define color-sandybrown (color rgb (/ 244 255) (/ 164 255) (/ 96 255 )))
(define color-seagreen (color rgb (/ 46 255) (/ 139 255) (/ 87 255 )))
(define color-seashell (color rgb (/ 255 255) (/ 245 255) (/ 238 255 )))
(define color-seashell1 (color rgb (/ 255 255) (/ 245 255) (/ 238 255 )))
(define color-seashell2 (color rgb (/ 238 255) (/ 229 255) (/ 222 255 )))
(define color-seashell3 (color rgb (/ 205 255) (/ 197 255) (/ 191 255 )))
(define color-seashell4 (color rgb (/ 139 255) (/ 134 255) (/ 130 255 )))
(define color-sienna (color rgb (/ 160 255) (/ 82 255) (/ 45 255 )))
(define color-silver (color rgb (/ 192 255) (/ 192 255) (/ 192 255 )))
(define color-skyblue (color rgb (/ 135 255) (/ 206 255) (/ 235 255 )))
(define color-skyblue1 (color rgb (/ 135 255) (/ 206 255) (/ 255 255 )))
(define color-skyblue2 (color rgb (/ 126 255) (/ 192 255) (/ 238 255 )))
(define color-skyblue3 (color rgb (/ 108 255) (/ 166 255) (/ 205 255 )))
(define color-skyblue4 (color rgb (/ 74 255) (/ 112 255) (/ 139 255 )))
(define color-slateblue (color rgb (/ 106 255) (/ 90 255) (/ 205 255 )))
(define color-slateblue1 (color rgb (/ 131 255) (/ 111 255) (/ 255 255 )))
(define color-slateblue2 (color rgb (/ 122 255) (/ 103 255) (/ 238 255 )))
(define color-slateblue3 (color rgb (/ 105 255) (/ 89 255) (/ 205 255 )))
(define color-slateblue4 (color rgb (/ 71 255) (/ 60 255) (/ 139 255 )))
(define color-slategray (color rgb (/ 112 255) (/ 128 255) (/ 144 255 )))
(define color-slategray1 (color rgb (/ 198 255) (/ 226 255) (/ 255 255 )))
(define color-slategray2 (color rgb (/ 185 255) (/ 211 255) (/ 238 255 )))
(define color-slategray3 (color rgb (/ 159 255) (/ 182 255) (/ 205 255 )))
(define color-slategray4 (color rgb (/ 108 255) (/ 123 255) (/ 139 255 )))
(define color-slategrey (color rgb (/ 112 255) (/ 128 255) (/ 144 255 )))
(define color-snow (color rgb (/ 255 255) (/ 250 255) (/ 250 255 )))
(define color-snow1 (color rgb (/ 255 255) (/ 250 255) (/ 250 255 )))
(define color-snow2 (color rgb (/ 238 255) (/ 233 255) (/ 233 255 )))
(define color-snow3 (color rgb (/ 205 255) (/ 201 255) (/ 201 255 )))
(define color-snow4 (color rgb (/ 139 255) (/ 137 255) (/ 137 255 )))
(define color-springgreen (color rgb (/ 0 255) (/ 255 255) (/ 127 255 )))
(define color-steelblue (color rgb (/ 70 255) (/ 130 255) (/ 180 255 )))
(define color-steelblue1 (color rgb (/ 99 255) (/ 184 255) (/ 255 255 )))
(define color-steelblue2 (color rgb (/ 92 255) (/ 172 255) (/ 238 255 )))
(define color-steelblue3 (color rgb (/ 79 255) (/ 148 255) (/ 205 255 )))
(define color-steelblue4 (color rgb (/ 54 255) (/ 100 255) (/ 139 255 )))
(define color-tan (color rgb (/ 210 255) (/ 180 255) (/ 140 255 )))
(define color-teal (color rgb (/ 0 255) (/ 128 255) (/ 128 255 )))
(define color-thistle (color rgb (/ 216 255) (/ 191 255) (/ 216 255 )))
(define color-tomato (color rgb (/ 255 255) (/ 99 255) (/ 71 255 )))
(define color-turquoise (color rgb (/ 64 255) (/ 224 255) (/ 208 255 )))
(define color-turquoise1 (color rgb (/ 0 255) (/ 245 255) (/ 255 255 )))
(define color-turquoise2 (color rgb (/ 0 255) (/ 229 255) (/ 238 255 )))
(define color-turquoise3 (color rgb (/ 0 255) (/ 197 255) (/ 205 255 )))
(define color-turquoise4 (color rgb (/ 0 255) (/ 134 255) (/ 139 255 )))
(define color-violet (color rgb (/ 238 255) (/ 130 255) (/ 238 255 )))
(define color-violetred (color rgb (/ 208 255) (/ 32 255) (/ 144 255 )))
(define color-wheat (color rgb (/ 245 255) (/ 222 255) (/ 179 255 )))
(define color-white (color rgb (/ 255 255) (/ 255 255) (/ 255 255 )))
(define color-whitesmoke (color rgb (/ 245 255) (/ 245 255) (/ 245 255 )))
(define color-yellow (color rgb (/ 255 255) (/ 255 255) (/ 0 255 )))
(define color-yellowgreen (color rgb (/ 154 255) (/ 205 255) (/ 50 255 )))

2013년 7월 6일 토요일

ping all subnet

FOR /L %i IN (1,1,254) DO ping -n 1 192.168.1.%i | FIND /i "Reply">> c:\ipaddresses.txt

2013년 1월 2일 수요일

F# C# 연동

http://docs.nuget.org/docs/start-here/using-the-package-manager-console

2012년 6월 26일 화요일

Decoration order by precedence





Active United States

[edit]By order of precedence

Note: Precedence of particular awards will vary slightly among the different branches of service.
Ribbon/Award Name
Personal decorations
Medal of Honor ribbon.svg  Medal of Honor
Awarded for "Gallantry and intrepidity at risk of life above and beyond the call of duty"
Service Cross medals. Awarded for "Extraordinary heroism"
Distinguished Service medals
Silver Star ribbon.svg  Silver Star Awarded for "Gallantry in action"
US Defense Superior Service Medal ribbon.svg  Defense Superior Service Medal
Legion of Merit ribbon.svg  Legion of Merit
Distinguished Flying Cross ribbon.svg  Distinguished Flying Cross
Medals for non-combat heroism
Gold Lifesaving Medal ribbon.svg  Gold Lifesaving Medal
Bronze Star ribbon.svg  Bronze Star Medal
Purple Heart BAR.svg  Purple Heart
Defense Meritorious Service ribbon.svg  Defense Meritorious Service Medal
Meritorious Service ribbon.svg  Meritorious Service Medal
Air Medal ribbon.svg  Air Medal
Silver Lifesaving Medal ribbon.svg  Silver Lifesaving Medal
Commendation medals
Achievement medals
Commandant's Letter of Commendation Ribbon.svg  Commandant's Letter of Commendation
Combat Action Ribbon.svg  Navy & Marine Corps Combat Action Ribbon
Unit Awards
Presidential Unit Citation
Joint Meritorious Unit Award ribbon.svg  Joint Meritorious Unit Award
Meritorious Unit Commendation
Army Superior Unit Award ribbon.svg  Army Superior Unit Award
Efficiency Award
Service awards
Prisoner of War ribbon.svg  Prisoner of War Medal
Combat Readiness Medal ribbon.svg  Combat Readiness Medal
Good Conduct medals
Reserve good conduct medals
Expeditionary medals
Outstanding Airman of the Year Ribbon.svg  Outstanding Airman of the Year Ribbon
Air Force Recognition Ribbon.svg  Air Force Recognition Ribbon
Ribbon/Award Name
Campaign and service medals
Army of Occupation ribbon.svg  Army of Occupation Medal
Army of Occupation ribbon.svg  Navy Occupation Service Medal
National Defense Service Medal ribbon.svg  National Defense Service Medal
AnArcRib.svg  Antarctica Service Medal
Coast Guard Arctic Service ribbon.svg  Coast Guard Arctic Service Medal
AFEMRib.svg  Armed Forces Expeditionary Medal
Vietnam Service Ribbon.svg  Vietnam Service Medal
Southwest Asia Service ribbon.svg  Southwest Asia Service Medal
KosovoRib.svg  Kosovo Campaign Medal
Afghanistan Campaign ribbon.svg  Afghanistan Campaign Medal
Iraq Campaign ribbon.svg  Iraq Campaign Medal
Global War on Terrorism Expeditionary ribbon.svg  Global War on Terrorism Expeditionary Medal
Global War on Terrorism Service ribbon.svg  Global War on Terrorism Service Medal
Korea Defense Service ribbon.svg  Korea Defense Service Medal
Armed Forces Service Medal ribbon.svg  Armed Forces Service Medal
Humanitarian Service ribbon.svg  Humanitarian Service Medal
Outstanding Volunteer Service ribbon.svg  Outstanding Volunteer Service Medal
Air and Space Campaign ribbon.svg  Air and Space Campaign Medal
Service and training awards
Army Sea Duty Ribbon.svg  Army Sea Duty Ribbon
Sea Service Deployment Ribbon.svg  Navy Sea Service Deployment Ribbon
Arctic Service Ribbon.svg  Navy Arctic Service Ribbon
Naval Reserve Sea Service Ribbon.svg  Naval Reserve Sea Service Ribbon
Navy and Marine Corps Overseas Service Ribbon.svg  Navy & Marine Corps Overseas Service Ribbon
Air Force Longevity Service ribbon.svg  Air Force Longevity Service Award
Recruiting service ribbon
Training service ribbon
Guard ribbon
ResMedRib.svg  Armed Forces Reserve Medal
Professional Development Ribbon
USAF Basic Military Training Honor Graduate Ribbon.svg  Air Force Honor Graduate Ribbon
Army Service Ribbon.svg  Army Service Ribbon
Marksmanship awards
USAF Marksmanship ribbon.svg  Air Force Small Arms Expert Marksmanship Ribbon
Rifle
Pistol