Skip to content

Instantly share code, notes, and snippets.

View Misiur's full-sized avatar
🔨
reverse engingeering

Misiur

🔨
reverse engingeering
View GitHub Profile
@Misiur
Misiur / PawnALS
Last active January 4, 2016 17:09
Sublime snippet for PAWN ALS functions
<snippet>
<content><![CDATA[
stock ${1:Prefix}_${2:Function}(${3:Tag:}${4:arg_1}${5:[optional]}${6:, }${7:Tag:}${8:arg_2}${9:[optional]}${10:, }${11:Tag:}${12:arg_3}${13:[optional]})
{
${2}(${4}${6}${8}${10}${12});
return 1;
}
#if defined _ALS_${2}
#undef ${2}
#else
#if !defined RUN_TESTS
#endinput
#endif
#undef _inc_ut_mock_players
#include <a_samp>
#include <YSI\y_testing>
#include <YSI\y_utils>
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+"],
"working_dir": "${file_path}",
"file_regex": "^([^\\.]+\\.pwn)\\((\\d+)\\)() : (.*)$",
"variants": [
{
"cmd": ["${project_path:${folder}}/pawno/pawncc.exe", "$file_name", "-;+", "-v2", "-d3", "-\\)+", "-l"],
"working_dir": "${file_path}",
"name": "Preprocessed output"
},
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
<?php
namespace Mailbroker\MailDetailsBundle\Worker;
use Mmoreram\GearmanBundle\Driver\Gearman;
use Doctrine\ORM\EntityManager;
use GearmanJob;
use Mmoreram\GearmanBundle\Service\GearmanClient;
use Mailbroker\MailDetailsBundle\Importer\ImporterInterface;
<?php
namespace Mailbroker\MailDetailsBundle\EventListener;
use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Mmoreram\GearmanBundle\Event\GearmanClientCallbackStatusEvent;
use Mmoreram\GearmanBundle\Event\GearmanClientCallbackCreatedEvent;
use Mmoreram\GearmanBundle\Event\GearmanClientCallbackCompleteEvent;
use GearmanJob;
mailbroker_mail_details.event_listener.converter:
class: Mailbroker\MailDetailsBundle\EventListener\ConverterEventListener
lazy: true
arguments: [@logger]
tags:
- { name: kernel.event_listener, event: gearman.client.callback.complete, method: onComplete }
- { name: kernel.event_listener, event: gearman.client.callback.status, method: onStatus }
- { name: kernel.event_listener, event: gearman.client.callback.created, method: onCreated }
@Misiur
Misiur / SassMeister-input.scss
Created September 30, 2014 14:37
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
.col-xs-6 {
width: 666px;
}
.random-class {
@Misiur
Misiur / SassMeister-input.scss
Created September 30, 2014 15:01
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
.extendable {
width: 666px;
.handicapped & {
font-size: 20rem;
@Misiur
Misiur / foo.css
Created September 30, 2014 15:12
@charset "UTF-8";
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/* line 9, /var/www/medportal_laravel/app/assets/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_normalize.scss */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
/* line 19, /var/www/medportal_laravel/app/assets/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_normalize.scss */