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
--- common/inc/nv-time.h 2021-09-13 22:04:46.614497200 +0400 | |
+++ common/inc/nv-time.h 2021-09-13 21:57:50.965477400 +0400 | |
@@ -24,6 +24,7 @@ | |
#define __NV_TIME_H__ | |
#include "conftest.h" | |
+#include <linux/version.h> | |
#include <linux/sched.h> | |
#include <linux/delay.h> | |
#include <linux/interrupt.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
""" | |
Поиск минимальной подсети, содержащей заданный набор IP-адресов. | |
""" | |
import unittest | |
import struct | |
import socket | |
def ip_to_bin(ip) -> str: | |
ip_packed = socket.inet_aton(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
"""Описание задачи: | |
На входе внешний файл html - там длинный текст. | |
Нужно показать список уникальных слов в этом тексте. | |
Так как слов много, то показываем только первые N по частоте встречаемости. | |
Нужно убрать html-теги и слова / словосочетания из стоп-списка (пример: а, как бы, да ну). | |
Имена формата "А. С. Пушкин" считаются одним словом. | |
Внешний файл html может быть любым. | |
""" | |
import re | |
import html |
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
# Contributor: jiuren <[email protected]> | |
# Maintainer: Benoit Favre <[email protected]> | |
# Contributor: Kristof Marussy <[email protected]> | |
pkgname=liblinear | |
pkgver=211 | |
pkgrel=1 | |
pkgdesc="A Library for Large Linear Classification" | |
arch=('i686' 'x86_64') | |
url="http://www.csie.ntu.edu.tw/~cjlin/liblinear/" | |
license=('BSD') |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Test iframe</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
function changeIframeSrc() { | |
var now = new Date(); | |
var iframe = document.getElementById(iframeId); |
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
# Contributor mathieui <[email protected]> | |
# Contributor sorrat <yasorrat[at]gmail.com> | |
pkgname=bmpanel2-themes | |
pkgver=0.1 | |
pkgrel=1 | |
pkgdesc='Themes collection for bmpanel2' | |
url='http://code.google.com/p/bmpanel2/wiki/ThemeGallery' | |
license='GPL' | |
arch=('i686' 'x86_64') |
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
# -*- coding: utf-8 -*- | |
import os | |
import argparse | |
from lxml import etree | |
ELEM_TAG = 'tmk:MarkSignificantVerbalElementText' | |
ELEM_NAMESPACE = {'tmk': 'http://www.wipo.int/standards/XMLSchema/Trademark/1'} |