Skip to content

Instantly share code, notes, and snippets.

View muhammad-saleh's full-sized avatar

Mohamed Saleh muhammad-saleh

View GitHub Profile
@muhammad-saleh
muhammad-saleh / cib_utility.js
Created July 25, 2022 05:22
Egypt CIB utility functions
/*
Descriptions:
Utility functions for https://ebanking.cibeg.com/CIBInternet/ (Egypt CIB) bank to help you get more insights of your transaction.
Usage:
Paste this code in the console and expand the credit card pane.
Start using the functions.
*/
var parent = document.querySelector(`div[toggle="bCreditCardTransactionsLoaded"]`)

Keybase proof

I hereby claim:

  • I am muhammad-saleh on github.
  • I am msaleh (https://keybase.io/msaleh) on keybase.
  • I have a public key ASDpaC9TQoVNACrl1V8BNOWjAk-s3st50WsMp1BNVvefJwo

To claim this, I am signing this object:

@muhammad-saleh
muhammad-saleh / Deploy With Git
Created November 30, 2015 22:09 — forked from calebbrewer/Deploy With Git
Manage and deploy a website with Git. I am using Lunux CentOS for my server.
Video on this Gist: https://www.youtube.com/watch?v=zvpLDuRY4ss&feature=c4-overview&list=UUj8_147vA3FQ1quI_CjciIQ
#Initialize a bare repo on the webserver. This would preferably be outside of your public website dir but if you are on a shared host you may not have that option. I like to make a folder just outside of the live folder called git. So for me it would look like this…
$ cd /var/www
$ mkdir git && cd git
$ git init –-bare
#Now you need to create a post-receive hook that will check out the latest tree from the Git repo you just setup into the /var/www/html folder where you want your website to be. You can make this whatever folder you want your code to end up in.
#This will create a file called post-receive in the hooks dir of the git repo.
/var/folders/l1/lxlkz4ds1gg0n8lbt07rszwr0000gn/T/ruby-build.20151007102839.17005 ~
HTTP/1.1 200 OK
Content-Type: binary/octet-stream
Content-Length: 13652782
Connection: keep-alive
Date: Wed, 07 Oct 2015 08:21:02 GMT
Last-Modified: Fri, 23 May 2014 08:23:21 GMT
ETag: "c351450a0bed670e0f5ca07da3458a5b"
Accept-Ranges: bytes
Server: AmazonS3