Skip to content

Instantly share code, notes, and snippets.

View neogeomat's full-sized avatar

amritkarma neogeomat

  • Survey Department, Nepal
  • Bhaktapur, Nepal
View GitHub Profile
@neogeomat
neogeomat / Upgrade Saex Database Table with Track and Marginal Info.py
Created August 21, 2018 10:44
Upgrade Saex Database Table with Track and Marginal Info
import pyodbc
def upgrade_saex_database_with_track_and_marginal_info(database_loc):
conn_old = (
r'DRIVER={Microsoft Access Driver (*.mdb)};'
r'DBQ='+database_loc+';'
)
cnxn_old = pyodbc.connect(conn_old)
crsr_old = cnxn_old.cursor()
@neogeomat
neogeomat / TFW maker.py
Last active July 4, 2018 09:35
Generates TFW or JGW file from Tif and jpg image
from Tkinter import *
from tkMessageBox import showerror
from tkFileDialog import askopenfilename
class Application(Frame):
"""A GUI to Generate Tfw file from Tiff File """
def __init__(self,master):
"""Initializes the frame"""
Frame.__init__(self, master)
self.grid()
@neogeomat
neogeomat / gist:58e60d516ce2f6923c77
Created April 2, 2015 14:32
Boxstarter fresh install softwares
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
cinst fiddler4
cinst git-credential-winstore
cinst console-devel
cinst sublimetext2
cinst poshgit
cinst dotpeek