Skip to content

Instantly share code, notes, and snippets.

gondo gondo

Block or report user

Report or block gondo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gondo / whatsapp_phone_enumerator_floated_div.js
Created May 12, 2017 — forked from LoranKloeze/whatsapp_phone_enumerator_floated_div.js
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
View whatsapp_phone_enumerator_floated_div.js
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
(c) 2017 - Loran Kloeze -
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every
View RequestListener.php
// src/AppBundle/EventListener/RequestListener.php
namespace AppBundle\EventListener;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
class RequestListener
public function onKernelRequest(GetResponseEvent $event)
View ryanair-fe-apps-test
## FE Developer Tests
Choose 1 of the following web apps below, build it and submit it to with the subject "Developer Test Web App". ZIP files or public Github URLs will be accepted.
Provide any build commands or runtime requirements (webserver required, extra packages, environment variables) in an INSTALLATION.txt file at the root of the project. The goal is to have the application as easily deployable as possible.
You may use a responsive framework (Foundation, Bootstrap) if you like, but customising the CSS (or SASS) will get you extra kudos. You must use AngularJS as the Javascript framework.
### Cheap flight finder
gondo / bookmarklet.js
Created Aug 12, 2015 — forked from aseemk/
A bookmarklet for "selecting all" (technically, "toggling all") checkboxes on the Amazon AWS S3 console.
View bookmarklet.js
javascript:(function () {
document.domain = '';
var spans = document.querySelector('iframe').contentDocument.querySelectorAll('tr.list-view-item[type] span.inner');
[] (span) {;
gondo / KnpPaginatorQuerySubscriber
Last active Aug 29, 2015
fixing random pagination results in knp_paginator and mysql
View KnpPaginatorQuerySubscriber
namespace General\GeneralBundle\EventListener;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Knp\Component\Pager\Event\ItemsEvent;
use Doctrine\ORM\Query;
use Doctrine\ORM\QueryBuilder;
class KnpPaginatorQuerySubscriber implements EventSubscriberInterface
gondo / controller
Created Jul 22, 2014
KnpPaginatorBundle multiple paginators example
View controller
public function listAction()
$em = $this->getDoctrine()->getManager();
$repository = $em->getRepository('ExampleBundle:Entity');
$qb = $historyRepository->createQueryBuilder('EntityAlias');
$knpPaginator = $this->get('knp_paginator');
$paginationAAA = $knpPaginator->paginate(
View GA real time users count
* 1. create project at
* 2. enable 'Analytics API' under 'APIs & auth' / APIs
* 3. create 'NEW CLIENT ID' (OAuth client) under 'APIs & auth' / Credentials
* i. select 'Service account'
* ii. save generated key file to 'key.p12'
* iii. remember CLIENT ID
* 4. under GA account add 'Read & Analyze' access to newly generated email (access to GA Account not Property nor View)
gondo / LoginListener.php
Last active Dec 21, 2015
Symfony2 using security.contex in login listener
View LoginListener.php
// option 1: to replace/extend DefaultAuthenticationSuccessHandler
// option 2: to use 2 listeners, 1 for checking admin and second to observer response event and change it
namespace My\UserBundle\EventListener;

Running Magento Enterprise Edition with Facebook HipHop HHVM



MacBook Air (MBA) Mid 2012

View Magento_CE_1.7.0.2_v1-CSRF_Patch.diff
Date: Fri, 5 Jul 2013 22:41:03 -0500
Subject: [PATCH] Magento_CE_1.7.0.2_v1-CSRF_Patch
.../core/Mage/Catalog/Block/Product/Abstract.php | 85 ++++-
app/code/core/Mage/Catalog/Block/Product/View.php | 10 +-
.../core/Mage/Catalog/Helper/Product/Compare.php | 28 +-
app/code/core/Mage/Checkout/Helper/Cart.php | 26 +-
.../Mage/Checkout/controllers/CartController.php | 69 ++--
.../Checkout/controllers/OnepageController.php | 70 +++-
You can’t perform that action at this time.