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
import string | |
import random | |
import sys | |
import uuid | |
print(""" | |
#include <a_samp> | |
enum e { | |
a, |
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
diff --git a/src/CCallback.cpp b/src/CCallback.cpp | |
index a358b40..6ef5a12 100644 | |
--- a/src/CCallback.cpp | |
+++ b/src/CCallback.cpp | |
@@ -13,7 +13,7 @@ | |
CCallback *CCallback::m_Instance = new CCallback; | |
-void CCallback::ProcessCallbacks() | |
+void CCallback::ProcessCallbacks() |
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
syntax on | |
filetype plugin on | |
filetype indent on | |
set nocompatible | |
set nobackup | |
set autochdir | |
set cursorline | |
set number | |
set ignorecase |
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
#!/bin/sh | |
me=`basename $0` | |
if [ $# -ne 1 ]; then | |
echo "Usage: $me <filterscript>" | |
echo "Example: $me fsdebug" | |
exit | |
fi |
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 <assert.h> | |
#include <stddef.h> /* for size_t */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#if defined LINUX | |
#include <sys/mman.h> | |
#else | |
#include <Windows.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
// 48. Целочисленное линейное программирование. Заданы целочисленная матрица A, | |
// целочисленные векторы a,b. Нужно найти вектор x из нулей и единиц такой, | |
// что Ax<b и велична ax максимальна. | |
#include <assert.h> | |
#include <math.h> | |
#include <mpi.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.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
package persons; | |
public class Person { | |
private String firstName = ""; | |
private String lastName = ""; | |
private String address = ""; | |
private String phone = ""; | |
public Person() { |
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 <string> | |
#include <vector> | |
#include <Windows.h> | |
#include "SDK/plugin.h" | |
#include "jump-x86.h" | |
typedef void (*logprintf_t)(const char *format, ...); | |
static logprintf_t logprintf; |
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 <idc.idc> | |
static main() { | |
GetNatives(); | |
} | |
static FindNativeNameAddr(name) { | |
auto addr; | |
addr = FindText(0, SEARCH_DOWN | SEARCH_CASE, 0, 0, name); | |
while (addr != BADADDR) { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
<LocalDebuggerCommand>$(SAMP_SERVER_ROOT)\samp-server.exe</LocalDebuggerCommand> | |
</PropertyGroup> | |
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
<LocalDebuggerWorkingDirectory>$(SAMP_SERVER_ROOT)</LocalDebuggerWorkingDirectory> | |
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> | |
</PropertyGroup> | |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
OlderNewer