Skip to content

Instantly share code, notes, and snippets.

View tomahawk28's full-sized avatar
🏠
Working from home

Jihyuk Bok tomahawk28

🏠
Working from home
View GitHub Profile
#author jihyuk.bok <jihyuk-bok@jdsu.com>
#content To check actual version of firmware in working source directory
#!usr/bin/perl -w
use strict;
use warnings;
my $ver = "";
while(<>) {
if (/^#.+[ \t].+LKII.+[ \t]+\"(.+)\"/) {
$ver = $1;
'''
Created on Aug 28, 2014
@author: tomahawk28@gmail.com
'''
def atoi(string):
list_string = list(string)[::-1]
decimal = 0
ret = 0