• CKeditor Code
    
    
        $(document).ready(function () {
            $('.ckeditor').ckeditor();
        });
    
  • use connection name in laravel Eloquent

    Yes, its possible to set connection name if your model extends to
    Illuminate\Database\Eloquent\Model;

    $profile = UserDefaultProfile::setConnection('your_connection_name_goes_here')->where('','')->select('');
    
     $input['user_id'] = $request->user_id;
            $input['page']=$request->page;
            $lang=$request->lang; //$lang Variable for connection name for a particular database
            $input['ip']= request()->ip();//request()->getClientIp();
            $user = CalActivity::on($lang)->create($input);
            $success['a']="";
            return $this->sendResponse($success, 'activity record successfully.');
  • How do I install untrusted packages safely? Is it safe to run Composer as superuser or root?#

    Certain Composer commands, including execinstall, and update allow third party code to execute on your system. This is from its “plugins” and “scripts” features. Plugins and scripts have full access to the user account which runs Composer. For this reason, it is strongly advised to avoid running Composer as super-user/root.

    You can disable plugins and scripts during package installation or updates with the following syntax so only Composer’s code, and no third party code, will execute:

    composer install --no-plugins --no-scripts
    composer update --no-plugins --no-scripts
    

    The exec command will always run third party code as the user which runs composer.

    In some cases, like in CI systems or such where you want to install untrusted dependencies, the safest way to do it is to run the above command.

  • Hindi Jokes and Inspirational Story

    गणित के एक शिक्षक घूमने गए !! शाम के समय एक रेस्टोरेंट में पिज़्ज़ा खाने चले गए !! उन्होंने मेनू देखकर एक 9 इंच के पिज़्ज़ा का आर्डर दे दिया !! कुछ देर बाद वेटर 5 – 5 इंच के दो गोल पिज़्ज़ा लेकर गुरूजी के सामने उपस्थित हुआ और कहा कि sir ! 9 इंच का पिज़्ज़ा उपलब्ध नहीं है , इसलिए आपको 5 – 5 इंच के दो पिज़्ज़ा दिए जा रहे हैं , जिससे कि आपको 1 इंच पिज़्ज़ा Extra फ्री में मिल रहा है ! गणित शिक्षक जी ने बड़े प्यार से वेटर से रेस्टोरेंट के मालिक को बुलाने के लिए कहा !!

    जब रेस्टोरेन्ट का मालिक आया तो गुरूजी ने उससे बड़े प्यार से पूछा कि आप कितने पढ़े हैं ? मालिक ने कहा Sir ! I am post graduate. गुरूजी ने फिर पूछा कि Maths कहाँ तक पढ़ा है ? मालिक ने कहा – Sir ! Graduation तक !!
    तब गुरूजी ने कहा कि क्या आप मुझे बता सकते हैंं कि Maths में एक Circle का क्षेत्रफल निकालने का क्या फार्मूला है ?

    मालिक ने कहा – Sir “πr²”
    गूरूजी ने कहा – OK
    आगे उन्होंने कहा – Now where π = 3.142857 and r is radius of the Circle.

    मैंने आपको 9 इंच Diameter के पिज़्ज़ा का order दिया था , जिसका क्षेत्रफल फार्मूला के अनुसार 63.64 Square inch होता है ! क्या में सही हूँ ?
    मालिक ने कहा – जी ! बिलकुल सहीं हैं !

    अब गुरूजी ने आगे कहा कि आपने मुझे 5-5 इंच के दो पिज़्ज़ा ये कह कर दिए हैं कि आपको 1 इंच पिज़्ज़ा फ्री दिया जा रहा है , अब आप 5 इंच के एक पिज़्ज़ा का Area निकालिये !!

    Area निकाला गया – जो निकला ” 19.64 Square इंच “
    यानी 2 पिज़्ज़ा का एरिया 39.28 Square इंच !!

    अब गुरूजी ने कहा कि अगर आप मुझे 5 इंच का एक तीसरा पिज़्ज़ा और भी देते हैं , तब भी मैं घाटे में ही रहूँगा !! और आप कह रहे हैं कि मुझे 1 इंच पिज़्ज़ा फ्री दिया जा रहा है!!

    रेस्टोरेंट का मालिक नि:शब्द !! बेचारे से कोई उत्तर देते नहीं बना !! अंत में उसने गुरूजी को 5-5 इंच के 4 पिज़्ज़ा देकर अपनी जान छुड़ाई !!

    कृपया शिक्षकों को कभी भी under estimate ना करें

    आदरणीय शिक्षकों को समर्पित !!

    Download From Google Play Store

  • Prasar Bharati 2021 Jobs Recruitment Notification of Consultant Posts

    Prasar Bharati 2021 Jobs Recruitment Notification. Prasar Bharati inviting applications for the positions of Consultant. Interested and Eligible candidates can apply for the positions.

    Last Date for Submission of Application is on 14th September, 2021.

    No.of Posts and Vacancies :-

    Consultant – 01 Post

    Job Location – New Delhi

    Education Qualification :

    Sub- Invitation of Applications for engagement of ‘Consultant’ on full time contract basis in Prasar Bharati – reg. Prasar Bharati invites applications from experienced and dynamic persons for engagement as ‘Consultant’ in PBRB Division of Prasar Bharati on full time contract basis, based at New Delhi for following position:

    1. Name of the Post: Consultant

    2. No of Post: 01

    3. Qualification: A retired Central Govt. Officer at least of Under Secretary level and conversant with the Rules/ orders issued by DoPT in respect of personnel and establishment matters from time to time.

    4. Consolidated remuneration:- A fixed monthly amount shall be admissible, arrived at by deducting the basic pension from the pay drawn at the time of retirement. The amount of remuneration so fixed shall remain unchanged for the term of contract. There will be no annual increment/percentage increase during the contract period. The remuneration of retired government employee at the time of their engagement/renewal of contract, shal be regulated in concurrence with OM of Department of Expenditure, Ministry of Finance vide file no. 3-25/2020-E.IIIA dated 09.12.2020.

    5. Nature of duties: 

    a) To provide secretariat assistance to PBRB in discharge of its functions including arrangements for Meetings etc.

    b) Formulation of Schemes of Examination for Direct Recruitment and Departmental Competitive Examinations, as per notified Recruitment Regulations.

    c) Matters related to examination/scrutiny of Proposals of DPCs/NFSG/NFU proposals and conduct of DPCs.

    d) Matters related to ACP/MACP.

    e) Matters related to the Parliamentary Committee on SC/ST.

    f) Matters related to furnishing of information to MIB regarding Reservation for SC/ST/OBCs/PWDs/Ex-Serviceman/EWS.

    g) Any other work as may be assigned from time to time.

    h) Handling of Court Cases related to allotted subjects.

    Age:

    Must be below 62 years.

    Terms and Conditions:

    (i) The services will be purely on contractual basis. The persons engaged shall have no claim either implicit or explicit, for his/ her absorption or regularization in Prasar Bharati.

    (ii) The person will be engaged on full time basis and will not be allowed to take up any other assignment during the period of contractual engagement.

    (iii)Persons engaged on contract basis can be assigned additional task apart from the specific tasks for which they are engaged.

    (iv) Period of engagement shall be one year extendable based on requirement of the organization and performance review.

    (v) The engagement can be discontinued/ terminated with one month notice or one month’s salary in lieu thereof by either side without assigning any reason.

    (vi) No claim of pensionary benefit on account of this contractual engagement shall be admissible.

    (vii) Prasar Bharati reserves the right to conduct test and/ or interview of the shortlisted candidates. No TA/DA etc. will be paid for attending the test/ interview.

    Address

    Deputy Director (TM&SO), Prasar Bharati Secretariat, 7th floor, Prasar Bharati House, Tower C, Copernicus Marg, New Delhi- 110001.

    Selection Procedure :

    Selection Will be Based either Written Exam/Interview

    How to Apply :

    Those candidates who are eligible and willing to work on above terms & conditions in Prasar Bharati, having requisite qualification and experience indicated above may send their applications in the prescribed proforma (all fields mandatory) along with self attested copies of supporting documents(Vigilance Clearance Certificate & PPO are mandatory) within 30 days from the date of publication on PB website to Deputy Director (TM&SO), Prasar Bharati Secretariat, 7th floor, Prasar Bharati House, Tower ‘C’, Copernicus Marg, New Delhi- 110001. Copy of the same may also be emailed to hrcpbs@prasarbharati.gov.in.