Skip to content

Instantly share code, notes, and snippets.

View yko's full-sized avatar

Yaroslav Korshak yko

  • Plaid
  • Amsterdam, The Netherlands
View GitHub Profile
@yko
yko / test.c
Created October 12, 2016 07:21 — forked from caljim/test.c
Simple Ternary Search Tree Implement for C
#include "trident.h"
int main(void)
{
ROOT = create_node(' ',YES);
printf("ROOT addr:%X\n",ROOT);
char* a = "he";
insert_node(a,ROOT);
insert_node("你好",ROOT);
insert_node("中国",ROOT);
#use strict;
sub Vacancy_Menu {
################################################################################
### Выборка из таблиц по заданным параметрам
my $data=$dbh->prepare("SELECT * FROM ${pref}_rubrika ORDER BY stepshift ASC");
$data->execute();
if ($my{'c'} eq ''){
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "kraihlight"
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Dumper;
use List::Util qw/reduce/;
use Mojolicious::Lite;