Skip to content
View msankhala's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report msankhala

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
msankhala/README.md

Pinned Loading

  1. Setup Multiple Environment for Larav... Setup Multiple Environment for Laravel 5 Developers Way
    1
    <?php
    2
    
                  
    3
    /*
    4
    |--------------------------------------------------------------------------
    5
    | Follow this instructions:
  2. Stop all ajax request Stop all ajax request
    1
    // Stop all ajax request by http://tjrus.com/blog/stop-all-active-ajax-requests
    2
    $.xhrPool = []; // array of uncompleted requests
    3
    $.xhrPool.abortAll = function() { // our abort function
    4
        $(this).each(function(idx, jqXHR) { 
    5
            jqXHR.abort();
  3. manage-states-in-javascript-via-prot... manage-states-in-javascript-via-prototypal-inheritance
    1
    // Managing States in JavaScript via Prototypal Inheritance
    2
    // https://pusher.com/sessions/meetup/viennajs/managing-states-in-javascript-via-prototypal-inheritance
    3
    
                  
    4
    function State(newState) {
    5
      Object.assign(this, newState);
  4. Nginx load balancing failover Nginx load balancing failover
    1
    http {
    2
      upstream backend_uat { 
    3
        server <server 1 ip> max_fails=1 fail_timeout=5s;
    4
        server <server 2 ip>;
    5
      }
  5. Nginx Configuration with multiple po... Nginx Configuration with multiple port apps on same domain, with SSL.
    1
    
                  
    2
    # the IP(s) on which your node server is running. I chose port 3000.
    3
    upstream app_geoforce {
    4
        server 127.0.0.1:3000;
    5
    }
  6. Drupal 7 - Exposing pseudo field in ... Drupal 7 - Exposing pseudo field in view from custom table
    1
    <?php
    2
    // Assume you have two custom fields total_marks and marks_obtained in a custom table. Now you need to calculate the percentage of mark scored. You don't need a field in table for this. You can create a virtual field bound to marks_obtained field.
    3
    
                  
    4
    /**
    5
     * Implements hook_views_api().