Skip to content

Instantly share code, notes, and snippets.

View ananthakumaran's full-sized avatar

Anantha Kumaran ananthakumaran

View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define RAND_P(X) (rand() % (X) == 0)
const int frequency[] = {
0, 8167, 9659, 12441, 16694, 29396, 31624, 33639, 39733, 46699, 46852,
47624, 51649, 54055, 60804, 68311, 70240, 70335, 76322, 82649, 91705,
94463, 95441, 97801, 97951, 99925, 99999
Ohloerrlen onsr rbronebee lltp wficepmpbt. Ecri, oitlntptie hv, rtltpf, ims? Sditwetonrde raeleoprcaw nito. Eoete imen sreant sofhena ihsdnerto etdesneihte naniaeraenl nrsae. A anrtnoio msseu ohsitueitw!
Ted, tb 3. Etobn ydrmsrhaytoa fnil uw. Hft hhruetra, s ublfthclvuas nuernhrilhrh o. I wasnecole leyeogth gsyihatsil t inhenrpb visoaeupori. Ahmcosl fhrekneeeo rdetwcetyqo, ucoefv yt pthate isitwioonh hdiipuueo. Rewnil, relisae s. Laee ktnnrnrf epnprf iectn, hiaen c pdhuhsam. Hfy eeaahgfdoin uus gothptv. Rcaoap ire petrooesssoy lrncohselre. Sh stluhqa snde, e elntutahd ageoewpts, headio asmr. Ti roew wlcrfrtaha, htevohie ptee. Aeuea ofdtupfl radhnat te. Qpa oislmpagsa eeieogrel eiurotn, olhwsh erl sr mtagt! Sqdyloveibea ebnn, sntp ioptfdoforhp. Edcdrnsonoba dtaese, nulenh. Nottemolot rahegtns rhdeinll ddnoaekscts ftteheahuecn. Ioohfr flgfirvmp ys ekh tenairrsh h tieeefh. G fhhiordswh ehepe dta tpeshni dpuhsrystceu.
Vljldcact tiam ooti irjluaouo nueroaitle maeslt 129204, eovhoumnmpe.
Eo nee e fsen wsfgehliess
Etdldtinto alar eheo. Eyeye hhirtagitp aife fhorcjcitmv lsuieeo. Unnhosre yto et of thhhine sdrwmr. Hrnosfeia tieihflamdu r areheoe, piwroltrnain lo enetsmynsg. Nnidiseon sba usli fssrsa l ilrrhig. Nho abe hrs fjauueiona oaiawhhoe. 64021838, dpu wiehaktsro, f. Nbiut rtlogeponnoa oeeh! Iac tausroilemmv enctsofic. Nykaalsla iuvedsrip neioiicyeyni bintedleetna hftegc oeraheoueeoc haternentea! Sahseratni aoothai hirat. Shnawaifdnic atd i. Blwhie ypiti ngtaningeas foodnlrh, wi, aiceud, anu. Towadohrrh neee detinneorhe tlehhaebotwd.
Ahtrinoto ppcs thltdeentnh, eaeo renetohuel iihtep. Ruta liiremmfdo, oiohtyecik lyelcetfhan, esenltan ah. Ad sigf slmtbr htaga. Ttea rgouos, irigiggu ore ecr, iidnolcponib h eivi. Ecehtaio dsork echhouiitk ihdtfkuptsse. Lnaralsohos attas eybhuolcoi e leuydgtfydig. Wahat c tcsn etwchnrontad hhuniethh u, frhocaooayfl. Htrtirg ett nenindedinre. Tvse ieliclid emsoton, mdwictgg. Wltcwrehbceh nhdieo ieywb uur biyhatehv ofvreewdom eaeraonmudic. Teooo ohtiriple nmtyhtiituas. Eadeng, e n. H mt a
server = Sunspot::Rails::Server.new
begin
server.start
rescue Sunspot::Server::AlreadyRunningError
Sunspot.remove_all
end
# wait until the solr server is ready
loop {
sleep 1
@ananthakumaran
ananthakumaran / gist:1319001
Created October 27, 2011 07:48
git ls-remote origin
0000000000000000000000000000000000000000 UUS10U
0000000000000000000000000000000000000000 UUS10U
ca00000000000000000000000000000000000000 UUS10U
ca00000000000000000000000000000000000000 UUS10U
0000000000000000000000000000000000000000 UUS10U
0000000000000000000000000000000000000000 *H

0000000000000000000000000000000000000000 ]LC$^)r(uhO$r)9(OMst ob -1;YJH{m3M428=FQ 3Ha|g9ϥR
0000000000000000000000000000000000000000 ]LC$^)r(uhO$r)9(OMst ob -1;YJH{m3M428=FQ 3Ha|g9ϥR
0000000000000000000000000000000000000000 8c0TtYSgP[&~YI~E:I2jaF
ruby-1.9.2-p0 > payload = <<EOF
ruby-1.9.2-p0"> {"procedure" :
ruby-1.9.2-p0"> {"code" : 454,
ruby-1.9.2-p0"> "created_at" : "2010-12-07T15:35:46+05:30",
ruby-1.9.2-p0"> "doctor_id" : 835,
ruby-1.9.2-p0"> "encounter_id" : "4783",
ruby-1.9.2-p0"> "id" : 5,
ruby-1.9.2-p0"> "name" : "SUTURING MINOR",
ruby-1.9.2-p0"> "opdipd" : "O",
ruby-1.9.2-p0"> "procedure_date" : "2009-12-19T14:09:00+05:30",
;;; sass-mode.el --- Major mode for editing Sass files
;; Copyright (c) 2007, 2008 Nathan Weizenbaum
;; Author: Nathan Weizenbaum
;; URL: http://github.com/nex3/haml/tree/master
;; Version: 3.0.13
;; Created: 2007-03-15
;; By: Nathan Weizenbaum
;; Keywords: markup, language, css
;;; haml-mode.el --- Major mode for editing Haml files
;; Copyright (c) 2007, 2008 Nathan Weizenbaum
;; Author: Nathan Weizenbaum
;; URL: http://github.com/nex3/haml/tree/master
;; Version: 3.0.13
;; Created: 2007-03-08
;; By: Nathan Weizenbaum
;; Keywords: markup, language, html
Gems included by the bundle:
* activesupport (2.3.8)
* bcrypt-ruby (2.1.2)
* beanstalk-client (1.1.0)
* bson (1.0.7)
* bson_ext (1.0.7)
* builder (2.1.2)
* bundler (1.0.0)
* compass (0.8.17)
* crack (0.1.8)
def time_taken
start_time = Time.now
yield
Time.now - start_time
end
def fib(n)
if n < 2
n
else