Skip to content

Instantly share code, notes, and snippets.

View Seregamil's full-sized avatar

Seregamil

  • Waterloo
  • Underground
View GitHub Profile
// создание массива тегов
var word_list = [
{text: "Безотказность", weight: 8, link: 'http://pavl-school.ru/gloss/view.php?id=0&name=Безотказность'},
{text: "Виды испытаний", weight: 5, link: 'http://pavl-school.ru/gloss/view.php?id=1&name=Виды испытаний'},
{text: "Восстанавливаемые технические системы", weight: 7, link: 'http://pavl-school.ru/gloss/view.php?id=2&name=Восстанавливаемые технические системы'},
{text: "Восстанавливаемый объект", weight: 6, link: 'http://pavl-school.ru/gloss/view.php?id=3&name=Восстанавливаемый объект'},
{text: "Горячее резервирование", weight: 8, link: 'http://pavl-school.ru/gloss/view.php?id=4&name=Горячее резервирование'},
{text: "Долговечность", weight: 7, link: 'http://pavl-school.ru/gloss/view.php?id=5&name=Долговечность'},
{text: "Интенсивность восстановления", weight: 5, link: 'http://pavl-school.ru/gloss/view.php?id=6&name=Интенсивность восстановления'},
{text: "Интенсивность отказов", weight: 6, link: 'http://pa
@Seregamil
Seregamil / CommonlyUsedWordsRL.cs
Last active October 14, 2017 16:39
Парсер часто используемых слов РЯ.
using System;
using System.IO;
using System.Net;
using System.Collections.Generic;
namespace CommonlyUsedWordsRL
{
class Program
{
public static string[] url = {
@charset "windows-1251";
#quicknavimenu {
padding: 0;
background: transparent;
voice-family: inherit;
}
#quicknavimenu ul {
font-weight: bold;
margin: 0;
margin-left: 0px;
function onLogin ( player, user, pass )
outputChatBox("onLogin " .. getPlayerName(player) .. " " .. user .. " " .. pass)
local account = getAccount ( user, pass )
if ( account ~= false ) then
if (logIn ( player, account, pass ) == true) then
triggerClientEvent ( "loginSuccess", getRootElement())
else
outputChatBox ( "Login error!", player, 255, 255, 0 )
end
else
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
/// <summary>
/// A class that manages a global low level keyboard hook
//-- by Seregamil
/*
Functions:
List<string>.Create()
List<string>.Get( _ID, index )
List<string>.Add( _ID, item[] )
List<string>.AddRange( _ID, range[][] )
List<string>.IndexOf( _ID, item )
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Threading;
namespace client_side
{
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace network
{
public class netWork
@Seregamil
Seregamil / zones.pwn
Last active August 29, 2015 14:02
Dynamic zones( Poligons )
//by Seregamil
#include a_samp
/*
Functions:
CreatePolygon( Float: area[ ], all_points = sizeof area )
Создает полигон
DestroyPolygon( polygonid )
@Seregamil
Seregamil / v_system.pwn
Last active August 29, 2015 14:02
Private Vehicle System
//by Seregamil
//Dynamic Vehicles system
#include a_samp
#define USE_LABELS//закомментировать, если не желаете использовать 3Д тексты
#if defined USE_LABELS
#include streamer
#endif