Skip to content

Instantly share code, notes, and snippets.

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

Parth kadanes

🏠
Working from home
View GitHub Profile
@tadija
tadija / FontNames-iOS-17.4.swift
Last active May 31, 2024 19:23
iOS - All Font Names
/*
*** Academy Engraved LET ***
AcademyEngravedLetPlain
---------------------
*** Al Nile ***
AlNile
AlNile-Bold
---------------------
*** American Typewriter ***
AmericanTypewriter
@xmzhao
xmzhao / gist:4144079
Created November 25, 2012 15:40
[hadoop] Passing parameters to Mappers and Reducer
http://www.thecloudavenue.com/2011/11/passing-parameters-to-mappers-and.html
There might be a requirement to pass additional parameters to the mapper and reducers, besides the the inputs which they process. Lets say we are interested in Matrix multiplication and there are multiple ways/algorithms of doing it. We could send an input parameter to the mapper and reducers, based on which the appropriate way/algorithm is picked. There are multiple ways of doing this
Setting the parameter:
1. Use the -D command line option to set the parameter while running the job.
2. Before launching the job using the old MR API