• Anoop me Madhu

    I was done with first semesters at IOE WRC and these guys came up , we spent time around lakeside camera ma chai ANIL GT :D

  • Mamaghar ma Saanaima

    ma sheela dd, paartha vai, pema dd ra hajuraama :) :) i hope you already found me there :D

  • Instrumentation II ko tour jada bus ma

    Life ko passenger :D yestai journey ma ubbirahexu ....seat kuriraaxu :D

  • Mahakaal mandir ma Sandesh sanga

    Sayad 11 class ko internals paxi ho jaile newroad tira ghumtheu,sundharako momo tiptop ko samosa ani matra gahr farkine :D prolly tei time ko ho

  • Nautanwa ko rail

    Train varkharai aathyo,ani yo chai first encounter ho mero train sanga,babba katti thulo awaj hune raixa,ani chadiyo photo khichiyo travel garna ta testai ho, lastai phohor thyo.

Monday, April 22, 2019

Python Bible

Data Structures in Python

List 


list.append(x)
Add an item to the end of the list.
list.extend(iterable)
Extend the list by appending all the items from the iterable. 
list.insert(ix)
Insert an item at a given position. 
a.insert(0, x) inserts at the front of the list, and a.insert(len(a), x) is equivalent to a.append(x).
list.remove(x)
Remove the first item from the list whose value is equal to x.
list.pop([i])
Remove the item at the given position in the list, and return it. If no index is specified, a.pop() removes and returns the last item in the list. 
list.clear()
Remove all items from the list.
list.index(x[start[end]])
Return zero-based index in the list of the first item whose value is equal to x 
list.count(x)
Return the number of times x appears in the list.
list.sort(key=Nonereverse=False)
Sort the items of the list in place
list.reverse()
Reverse the elements of the list in place.
list.copy()
     Return a shallow copy of the list


-------------------------------------------------------------------------------------------------

Tuples 

A tuple is a sequence of immutable Python objects. Tuples are sequences, just like lists. The differences between tuples and lists are, the tuples cannot be changed unlike lists, tuples use parentheses, whereas lists use square brackets.

eg
tup1 = ('physics', 'chemistry', 1997);
tup2 = (1, 2, 3 );
tup3 = "a", "b",;

-------------------------------------------------------------------------------------------------------

Dictionary 

A dictionary is a collection which is unordered, changeable and indexed. In Python dictionaries are written with curly brackets, and they have keys and values.

thisdict = {
  "brand""Ford",
  "model""Mustang",
  "year"1964
}
print(thisdict)

Share:

Binod chaudhary

नजिक बसेर टाढा हुनु भन्दा टाढा बसेर नजिक हुनु राम्रो भगवान को मुख नहेरी ग्राहक को मुख हेर्यो भने लछिन हुदैन  
Theres  a beautiful miraculous story of a real life incident that goes like :

His mother died of cancer in 2057 BS and his father too had cancer on his tongue, first they tried cutting it but later on it grew out of control , fed up with all the medical treatments including ayurveda and tibetean they went to banglore and saw saibaba. The bibhuti of saibaba worked and miraculously it healed the cancer.

He is a quite a singer , ekai najr ma maya basyo hai, luki chhipi heridinale was sung by him, composed and written by sambujheet baskotaa, with whom he started his musical journey with the debut song, maya jindagiko abhinna anga ho.......

He was the producer of movie Basudev (directed by Nir Shah) - kun mandir ma janxau yaatri this song was the part of the movie. The movie was selected as the best film in foreign category in moscow film fest 2040 BS.


हामी त्यस्तो देश का नागरिक हौँ जहाँ ठुलो मान्छे बन्न ठुलो सोच राखनै पर्दैन केवल ठुला मान्छे को संगत गरे पुग्छ

एमाले जडसुत्र वादी कम्युनिष्ट होइन किन भने येस्मा उदारवाद पनि आएको छ र यो कुरा, बिनोद चौधरी र ट्रेड युनियन अटाउनु ले पनि बुझाउछ


श्री ५ धिरेन्द्र ले राजपाट त्यागेर बसेको थिए । त्यतिबेला को एउटा रमाइलो घटना एस्तो छ , लण्डन घुम्दै गर्दा धिरेन्द्र , बिनोद चौधरी र अरु दुइ जना साथी भएर ह्वाइट हेज बार मा पुगेका थिए । तहाँ श्री ५ धिरेन्द्र ले शिर्ली लाइ देखेका थिए र उनीलाई प्रभावित पार्न भनि सवै भन्दा महँगो डोक  पोरेन  नामक स्याम्पेन का १२ बोत्तल खाएका थिए । प्रेक्षा माथि दुर्बेवाहर गरेको थाहा पाएपछि महारानी ऐश्वर्य राज्य लक्ष्मी ले धिरेन्द्र लै नराम्रो संग गालि गरेकी थिइन् । त्यस पछि नै उनले राजकीय ऐश आराम त्यागेका हुन् ।




श्री ५ ज्ञानेन्द्रले सुर्य टोबाको कम्पनी लै माथि ल्याउन साम दाम दण्ड वेद प्रयोग गरेका थिए । कहानी एस्तो छ, पहिले याक चुरोट खुब चल्थ्यो, सुर्य चुरोट लै उकास्न पहिले राजा ले ट्रक का ट्रक याक चुरोट किनेर स्टक मा राखे, पछि त्यो ओशिएर काम नलाग्ने भएपछी बजार मा पठाए । ग्राहक ले ऒसियेको याक भन्दा सुर्य रुचाउनु सोभाविक भयो अनि सुर्य चुरोट ले लगातार सफलता हासिल गर्यो । श्री ५ ज्ञानेन्द्र सिप्रदी ट्रेडिङ्ग, सोल्टी होटेल जस्ता ठुला कम्पनी का मालिक हुनु बाट उनि एक सक्षम उद्योगकर्मी  भएको पुस्टि हुन्छ ।      
Share:

Big Magic : Elizabeth Gilbert



Its a self help non fiction that starts with courage, which is all what takes to get your inner you into this world. Jack Gilbert might be her father or barely an imagination, god knows . I have that conviction cause she and jack had the same surname, and jack has already passed by 2012 .

argue for your limitations and you get to keep them
well nobody wants their limitations to keep with them, so what they can do is let it go, don't dwell upon it move on, get off your comfort zone and hence you will unleash a great feat of transcendence

creativity is a path for the brave, yes , but it is not a path for the fearless, and its important to recognize the distinction. 
your fear will always be triggered by your creativity, because creativity asks you to enter into the realms of uncertain outcome and fear hates uncertain outcomes.

Pinned beneath the boulder
Like fearing to do again once you reached the top., If you cannot win, then you must not continue to play.
Share:

Monday, February 18, 2019

Album Bhitra ko Gaaun


एल्बम भित्रको गाउँ

गाउँको उकालो जहाँ मोटर गाडी पनि सकी नसकी
स्वाँ  स्वाँ गर्दै चढ्थ्यो
मेरा बा
आफु भन्दा ठुलो भारि बोकेर चढ्थे
अनि
निधाउन अघि
सिरक पन्छाएर सानो स्वरमा सोध्थँे म
वर्षा  भरी चुहिने छानो त टालेउ बा
तर वर्ष भरि चुहिने तिम्रो आँखा लै अझै कति बर्ष लुकाउछँौ

कुनै खुम्चिएको कागज
जसले कुनै समय सुन्दर रचना बोकेको थियो
हजुरआमाका चाहुरीहरु दुरुस्तै थिए
दुबै पढ्न अप्ठ्यारा
तर गहिरा
हजुरआमा ले अचम्मसंग सम्झनुहुन्थ्यो समयहरु
छानोमा बढ्दै गएका खियाका रंगहरु बाट
प्रत्येक वर्ष ब्याउने राती भैसींबाट
गाउँबाट रित्तिदै गरेका दाईहरुका नाम बाट
उमेरसंगै थपिदै गरेका औषधिहरु बाट

अनि मेरो मन आमाले सदर बजारबाट
किनिदिएको त्यो कालो जिन्समा थ्यो
जिन्स धुँदा रंग उडेर फुङ्ग भयो
तर त्यसरीनै उडेका थिए मेरा मनका रंगहरु
पानी साचँै नै क्रर छ
जीवन का रंगंहरु पखाल्छ
कहिले बाढी बनेर कहिले खडेरी बनेर
सिउँदोका सिन्दुरहरु पखाल्छ

मेरो खुसी गाउँको त्यो एक्लो किराना पसलमा
राखीएका मिठाई का डिब्बाहरुमा थिए
जुन मेरै लागि खोलिन्थे र मेरै लागि रित्तिन्थे
सहर पुग्न
दिनको दुइ पटक आउने बस
हजुरआमा बिरामी
अन्तिममा छुटेको बसले
हजुरआमालाई पर्खेको थ्यो वा पर्खेको थिएन
कालले पर्खेन


उसलाई भनुँ भनुँ लाग्थ्यो
तेरो घरको लालुपाते त वर्षमा एक याम मात्र फुल्छ
त सबै याम फुल्छेस

स्मृतिमा मौन बनेर कैद भएका ति तस्बिरहरु
एकपटक कान नजिकै पुर्याउने भने प्रस्टै सुनिन्छ
ति खित्काहरु
बिठ्याँइहरु अनि बदमासीहरु
पिपल को छाहरीमा खेलेका ढ्याक्की र गट्टाहरु
गाउँको खोलामा सबै भन्दा अग्लो ढुंगाबाट फालेका फालहरू
साथीहरु संगै नाङ्गै काटेका पौडीहरु
के त्यो पिपल ले,  त्यो खोलाले
ति गट्टाहरुले मलाई अझै सम्झिन्छन होला ?
कि फेरी कुनै नयाँ पात्रको
नौलो बाल्यकाल संग रमाउँछन होला ?

केही सम्झनाहरु बाको
इस्टकोटका   खल्तीमा
चुरोट बनेर बसेका छन
केही आमाको पटुकीमा खुजुरा नोठ बनेर बसेका छन
यसरी सकिन्छ एल्बममा
स्याम्स्वेत तस्बिरहरुको सिलसिला
यती रंगिन मान्छेहरुको पनि
यती रंगहीन तस्बिर आउने
पक्कै क्यामेरा मा खराबी भएर होला है ?


https://www.youtube.com/watch?v=7nUCC8rvadg


Share:

Thursday, October 25, 2018

Search Engine Optimization

The shorter the keyword the broader meaning it has got...for instance if you search just for hot models it might blow you up with hot model from all over the world, lucky you but if instead you search hot models from nepal then your results get converged to a greater extent.

The broad keywords are most likely to be searched but its vague, most of the time the user might be landed on the irrelevant page and might bounce back, whereas the longer keywords are less searched but the users might spend plenty of time on them. Most of the seo experts prefer Longer keywords to the shorter/broader one


informational long tailed keywors ----starts with how to ....blog contents sites
transactional ...........ecommerce , buy

go for low competitive long tailed keywords....grab the initial traffic and more social shares


https://www.spyfu.com/

alexa.com

https://www.similarweb.com/

https://www.semrush.com/

target for the keywords that brings you 10000 visitiors per month and has competition less than 0.3

Validate keywords using Google Trends

visit google.com/trends/explore
and then search the keywords that are trending form your shortlisted organic keywords.
you can compare 5 keywords at most














https://ads.google.com/

https://app.neilpatel.com/en/ubersuggest/serp_analysis?keyword=annapurna%20trek&country=us

https://neilpatel.com/ubersuggest/


http://www.seobook.com/

related keywords can be found this way...if you add topics on these things then you might get more traffic and if they love these topics written by you , you may earn lots of subscribers.


visit google.com/webmasters\




Add meta descriptions- they keep your sites above

importance of H1 and H2 tags

almost of 70/80 percent of top pages do have them and search engines expect you to put those tags.But always aim to make it more readable and user friendly
while buying a domain  search for domain seo visibility(brand authority), go with popular brand , and build it nice no matter what the posts from popular sites (site with high domain seo visibility) will always get more preference in google search engine.


EMD : exact match domain
PMD : partial match domain

exact match domain are getting less priority after google changed its algorithm in 2012
so instead of searching keywords in domain find some fancy terms and build a castle on it

https is ranking factor for google for all sites you might find some site witout ssl certificated blocked by google.
check ssl certificates at qualys.com

https://www.ssllabs.com/ssltest/
doamin
tld has no effect but .com is preferred since its more common, people are habituated to hit ctrl + enter and so that more chances to be visited 

flash content:  it slows down website so not preferrable
url size: keep it short but filled with essential keywords
file size: rather than file size the speed matters
speed:mobile sites are faster than desktop sites since they are light weight, page speed is very crucial 
google has its own tool to check page speed

at the end of the day the thing that matters is the load time not the page speed

https://developers.google.com/speed/pagespeed/insights/

https://www.webpagetest.org/

to check load time
https://tools.pingdom.com/  (< 1.5s is expected benchmark )

cretae database backup before testing website speed that will make you failsafe so that you wont accidentally lose data while testing your site


Use plugins cdn while using wordpress to compress images so that you get fast website loading

use cloudfare for speeding up site

pagespeedninja(wordpress golbal plugin to speed up your site)

use lazyload plugins

w3 total cache plugin 
above the fold plugin

better conduct the pagespeed test in incognito mode so that it works fine

wp rocket cache plugin

Create Sitemap for your site
use yoast seo

Add your site to google search console

Add sitemap of your site to Google Search Console

go to property -> open crawl -> add sitemap -> enter the url of your sitemap

Add www version of your site

Claim your site on alexa




Share:

Friday, June 29, 2018

खलंगा मा हमला

खलंगा  मा  हमला , राधा  पौडेल  द्वारा  लिखित  पुस्तक  हो  जसमा  उनले  आफुले  सानैदेखि  इछ्यएको  ठाउँ  जुम्लामा  आफु  सुरक्षित  मातृत्व  को  कार्यक्रम अन्तर्गत खटिदा , तत्कालिन  १०  बर्से  मावोवादी  द्वन्द  का  घटना  हरुलाई  प्रस्तुत  गरेकी  छिन ।

बाबा ले  सानै  देखि ,  आफु  भन्दा   गरिब  जुम्ली  हरु  भएको  बताएपछि  उनीमा  सानै  देखि  जुम्ला   जाने  रहर  को  बिजन्कुरण  हुन्छ  . उनको  इछ्य  २०५८  सालमा  पुरा  हुन्छ ...उनि  जुम्ला  पुग्क्षिन ...जुम्ला  को  एभरेस्ट  होटेल  मा   बस्क्षिन ..तेतिबेला  उनीलाई  जुम्ला  सछिकै  गरिब  भएको   महसूस  हुन्छ  ...   

एस  पुस्तक  मा , जुम्ला  सदरमुकाम  खलंगा  मा  मावोवादी  ले  आक्रमढ  गरेको  घटनाको  द्रिस्यंकन   निकै  नै  रोचक  ढंग मा  गरिएको  छ .यो  पुस्तक  मदन  पुरस्कार  विजेता  पनि  हो  । 

हमला  हुदै  गर्दा , कोठा  भित्र  लुकेकी  उनले , भोलि  बाचिन्छ   या  बचिदैना  भन्ने  पनि  दोधार  मा  थिइन    तब  उनि  सजिलो  संग  मर्न  चाहन्थिन , र  तेतिबेला  उनले  भनेको  एउटा  वाक्य  ले  सारै  मन  छोयो , 
                  
जब  मृत्यु  निश्चित  हुन्छ , तब  मान्छे  ले  तहाँ   पनि  सजिलो  उपाय  खोज्न  थाल्छ 
Share:

Thursday, June 28, 2018

Death: The Greatest Fiction


Its a collection of speeches of Rajaneesh Osho about Death, one of the most controversial topic, and that has been taught as end of everything and mournful by our religions. The thing that I liked about Osho is, he asks his followers to be skeptical, to follow only after experimenting and being certain, because
Only certainties will save you, beliefs are the boats made up of paper. 
We are in the continuous cycle of birth and death, our desire drives us to born again and again, changing bodies since eternities just to manifest our desires. Once you stop having desires, you can stop this wheel, and your consciousness will  exits in the universe without having to born again.Birth and Deaths have been there since eternities and
you are always in the middle of two eternities.

Death can only be encountered in the deaths of loved ones. 

Try something else don't die with the questions, die with the answers. 

        People who are afraid of death become afraid of all orgasmic experiences, because in each orgasm the ego dies.




Death has been misunderstood by us, for centuries. Each death reminds you of your own death. In fact death are strong weapons for religions, people fear death and they always have that in their mind,"I have been here for my sins so I will do good karmas in this live so that Ill have a better life" Death and Next life , this has become a perfect excuse for us, its okay I am poor in this life, in next life I shall be rich , the false hopes!!! 
                 If there were no deaths nobody would have bothered about religion at all.



Osho, says considering the time, no one is rich and no one is poor, there is no mater of running fast to get something. If doing something fast meant to be the success, the symphony that played at the fastest speed would sound the best, but that's not the case always, one has to do it beautifully and gracefully. A beautifully scored goal, a beautifully played piece,  a beautifully made art.

Time is available to the poor as much as to the rich.
Celebrating birthdays are not worthy, with every year you come closer to death. Achievements are to be celebrated, birthdays are merely dates.

You are standing in the same queue and the queue is becoming shorter and shorter every day, you are coming closer and closer to death. 
Death is permanent disappearance, its like loving , an abstract thing, you cant know what loving is without falling in love yourself. If you define love as hugging kissing or holding hands, that isnt . Yeah that might be the ways of expressing love but that isn't love. In the same way, We see people die and think that its painful but that is just our belief, we can only be certain when death comes to us.
In death your ego disappears; only your pure being remains   

With these beautiful teaching the book awakens us, You can simply Meditate just by watching, watch carefully every step, be the witness. Once you do that, you have already started meditating. The book contains of number of great stories including Rabindranath Tagore, a thief Mulla, a person from Kashmir who faked his death thrice, yayati, Krishnamurti, story of a businessman and many more.

Osho also believes in euthanasia (the practice of intentionally ending a life to relieve pain and suffering , if one has lived enough)  because there is no meaning of enduring pain when you are going to be born again and when you have seen enough of this world. 
I strongly recommend you to read this book. :) It will change your perception .

Share:

Total Pageviews

About

Niranjan Adhikari is currently pursuing Computer Engineering in WRC IOE,Pokhara. Resident of Butwal,Niranjan's interests include Poetry, Design and Programming
Powered by Blogger.