Skip to content

Instantly share code, notes, and snippets.

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

Manoj Karingamadathil manojkmohan

🏠
Working from home
View GitHub Profile
@manojkmohan
manojkmohan / ebook.md
Created July 6, 2020 12:08 — forked from RobbieClarken/ebook.md
Making an ebook from scanned images
  1. Use Scantailor to clean up the scanned images.

  2. Install the required tools with the following commands:

brew install --with-libtiff leptonica
brew install jbig2enc imagemagick tesseract
gem install iconv rmagick hpricot pdfbeads

Last updated: 2017-03-18

Searching for Files

Find images in a directory that don't have a DateTimeOriginal

exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .

###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs

@manojkmohan
manojkmohan / ml letters
Last active August 29, 2015 14:00
malayalam letters
റ ര െ ൊ ൈ ഖ വ ഒ ഓ ഔ ഉ ഊ ഠ ഴ ള ാ
ന ഩ ധ ഗ ശ ഡ ഢ സ ണ ത ഞ ബ ഝ ട ൾ ൽ ൻ ർ ൺ
ദ ഭ ങ
പ ഫ എ ഏ ഐ ച ഛ ഘ ഹ
് ി ീ ു ൂ ൃ ൢ ൣ ൄ േ ോ ൗ ം ഃ
അ ആ അം അഃ ഇ ഈ ഋ ൠ ഌ ൡ
ക ൿ ജ ഥ മ യ ല ഷ
൦ ൧ ൨ ൩ ൪ ൫ ൬ ൭ ൮ ൯ ൰ ൱ ൲
# encoding: utf-8
require 'xmlsimple'
require 'csv'
hash = XmlSimple.xml_in('m.xml')
start_date = DateTime.parse "2013-12-28"
end_data = Date.today
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
ഒരു താളിലെയും അതിന്റെ ഉപതാളുകളിലെയും സംശോധകരുടെ പട്ടികയുണ്ടാക്കാൻ.
പ്രധാനമായും വിക്കിഗ്രന്ഥശാലക്കായി.
നിർമ്മിച്ചത്: സുനിൽ വി.എസ്. - സരയുവിനൊപ്പം
തിയതി: 2012-02-08
പതിപ്പ്: 1
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
ഉപയോക്താക്കളുടെ താളുകളിൽ സന്ദേശങ്ങൾ ചേർക്കുന്നതിന്
(പ്രത്യേകിച്ച്, സംഗമത്തിന് സ്വാഗതം ചെയ്യാൻ)
നിർമ്മിച്ചത്: സുനിൽ വി.എസ്.
തിയതി: 2012-03-28
പതിപ്പ് 2.0
"""