This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Net::Vypress::Chat; | |
use Net::IRC; | |
use Data::Dumper; | |
our $irc_channel = "#LocàëÜ"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <amxmodx> | |
#include <amxmisc> | |
public plugin_init() | |
{ | |
register_plugin("ShowIP", "0.00", "teame06") | |
register_cvar("showip", "0.00", FCVAR_SERVER|FCVAR_SPONLY) /* For GameSpy/HLSW and such */ | |
register_concmd("amx_showip", "who_ip", ADMIN_BAN, "- Show players ip") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <amxmodx> | |
#define PLUGIN_NAME "NO-sXe-I Kicker" | |
#define PLUGIN_VERSION "0.1" | |
#define PLUGIN_AUTHOR "Kolia" | |
// kick reasons | |
new const g_kick_reason[] = "ycTaHoBu AHTu4uT freedomnet.ru/sxe.exe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int myfile_read_buffer(void *opaque, uint8_t *buf, int buf_size) | |
{ | |
MyFileContext *file = opaque; | |
FILE *fd = file->file; | |
void *b = malloc(buf_size); | |
size_t bytes_left = buf_size; | |
size_t total_bytes_read = 0; | |
void *p = b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int rc = 0; | |
void *opaque = myfile_alloc(); | |
const char *incomplete_movie_filename = [[self.incompleteMovieAsset.movieURL path] cStringUsingEncoding:NSASCIIStringEncoding]; | |
rc = myfile_open(opaque, incomplete_movie_filename); | |
if (rc < 0) { | |
if (error) *error = [NSError errorWithFFStatus:rc]; | |
return NO; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)performBlockAndSaveOrReset:(BOOL (^)(NSError *__autoreleasing *))block error:(NSError *__autoreleasing *)error | |
{ | |
__block BOOL blockOk, saveOk; | |
__block NSError *blockError, saveError; | |
[self performBlockAndWait:^{ | |
blockOk = block(&blockError); | |
if (! blockOk) { | |
[self reset]; return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Gerrit code CSS | |
// @namespace https://gist.github.com/kolyuchiy/17611ac0d022be45c633 | |
// @version 0.1 | |
// @description enter something useful | |
// @author You | |
// @match http://johann.mail.msk:8081/ | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ObjectsSnapshot.m | |
// MRMail | |
// | |
// Created by Nikolay Morev on 02/02/16. | |
// Copyright © 2016 Mail.Ru. All rights reserved. | |
// | |
#import "ObjectsSnapshot.h" | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use autodie qw(:all); | |
my $str = do { local $/; <STDIN> }; | |
$str =~ s/[^0-9a-fA-F]//gm; | |
$str = pack('H*', $str); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Почта mail.ru | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://e.mail.ru/* | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== |
OlderNewer