Skip to content

Instantly share code, notes, and snippets.

View ahmednasir91's full-sized avatar
🎯
Focusing

Ahmed Nasir ahmednasir91

🎯
Focusing
View GitHub Profile
<file name="catalog/controller/payment_pro.php" error="skip">
<operation>
<search position="after"><![CDATA[
$result = curl_exec($curl);
]]></search>
<add trim="true"><![CDATA[
// Payment Pro
$id = $payment_data_array['id'];
// ...
$this->db->query("UPDATE " . DB_PREFIX . "payment_pro SET id = '" . $this->db->escape($id) . "', amount = '" .$this->db->escape($amount). "' WHERE `order_id` = '" . $order_info['order_id'] . "'");
<collation name="utf8_arabic" id="100">
<rules>
<reset>\u0627</reset>
<i>\u0622</i>
<i>\u0623</i>
<i>\u0625</i>
</rules>
<rules>
<reset>\u0647</reset>
<i>\u0629</i>

Keybase proof

I hereby claim:

  • I am ahmednasir91 on github.
  • I am ahmednasir91 (https://keybase.io/ahmednasir91) on keybase.
  • I have a public key whose fingerprint is 98CF E2C8 A01E 1BFB ABF0 10B0 F8FC E994 4C70 B2F4

To claim this, I am signing this object:

// operator-overloading.cpp : Defines the entry point for the Operator Overloading application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
class Nums{
private:
DROP FUNCTION IF EXISTS GetMovingToAddress;
DELIMITER //
CREATE FUNCTION GetMovingToAddress(request_id INT) RETURNS INT DETERMINISTIC
BEGIN
DECLARE address_id INT;
DECLARE moveRequestId INT;
DECLARE carMoveRequestId INT;
DECLARE storageRequestId INT;
SELECT move_request_id INTO moveRequestId FROM request WHERE id = request_id;
SELECT car_move_request_id INTO carMoveRequestId FROM request WHERE id = request_id;
$("#searchterm").keyup(function(e){
var q = $("#searchterm").val();
$.getJSON("http://en.wikipedia.org/w/api.php?callback=?",
{
srsearch: q,
action: "query",
list: "search",
format: "json"
},
function(data) {
<script type="text/javascript">
$(document).ready(function () {
//checks if the number of posts on this page are more than one then return.
if($('.post-outer').length > 1)
return;
//selects the element to be made sticky.
var stickElement = $('.date-header'),
//selects the element which would trigger the sticky elem to go away
hideTrigger = $('#comments'),
//class name to be added (it should match the class in CSS)
$.each($('[data-download-count=true]'), function (i, e) {
var elem = $(e).parent().find('#download-count').addClass('loading');
var id = $(e).closest('.post-body').siblings('a[name]').attr('name') + "-" + $(e).attr('id');
var downloadStats = new Firebase("https://blogstats.firebaseio.com/downloads/id/" + id);
var data = {}, isnew = false;
downloadStats.once('value', function (snapshot) {
data = snapshot.val();
if (data == null) {
data = {};
data.value = 0;