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
{ | |
"request": { | |
"cpuModel": "", | |
"gpu": 1, | |
"gpuModel": "", | |
"gpuModelId": "", | |
"memoryGib": 1, | |
"orderBy": "", | |
"pageNumber": 0, | |
"pageSize": 0, |
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 main | |
import ( | |
"fmt" | |
"github.com/aead/siphash" | |
"encoding/hex" | |
) | |
func main() { | |
key, _ := hex.DecodeString("00000000000000000000000000000001") |
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
git diff -- util | |
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
modified: util/datetime/cputimer.cpp | |
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
@ util/datetime/cputimer.cpp:17 @ | |
#include <sys/resource.h> | |
#include <sys/param.h> | |
#if !defined(_cygwin_) && !defined(_android_) | |
#include <sys/sysctl.h> | |
#endif |
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
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"accuracy": 0.001, | |
"address": "Садовая улица, городское поселение Лесной Городок, Одинцовский район, Московская область, ЦФО, 143072, РФ", | |
"bbox": [ | |
37.1899249, |
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
hex win_name linux_name | |
0 0 READ read | |
1 1 WRITE write | |
2 2 OPEN open | |
3 3 CLOSE close | |
4 4 STAT64 stat | |
5 5 FSTAT64 fstat | |
6 6 LSTAT64 lstat | |
7 7 POLL poll | |
8 8 LSEEK lseek |
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
{ | |
"code": null, | |
"site": { | |
"id": "hh", | |
"name": "hh.ru" | |
}, | |
"published_at": "2015-08-18T18:19:28+0300", | |
"accept_handicapped": false, | |
"key_skills": [], | |
"employment": { |
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 bash | |
# select "name" from animals_vpnaccount where id in (select vpnaccount from animals_homertunnel where isptunnel in (select id from animals_isptunnel where account in (select id from animals_ispaccount where isp in (select id from animals_isp where name = 'NetByNet')))) order by name; | |
while read p | |
do | |
echo $p | |
# проверка | |
curl -w "size: %{size_download}\n\n" -o /dev/null -m 10 -L -x 'botanik.yandex.net:4050' -H "Forward-Via: $p" --silent 'http://static.yandex.net/ok.html' -vv 2>&1 | grep -iE "GET.*HTTP/|Host:|size:" |
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
#FUNCTION x509_get_info(pem character varying) | |
# old | |
from gnutls.crypto import X509Certificate | |
x=X509Certificate(pem.replace('\r ', '\r\n')) | |
subj = dict([f.split('=') for f in x.subject.split(',')]) | |
from datetime import datetime | |
return subj['CN'], datetime.fromtimestamp(x.expiration_time) | |
#new |
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 threading | |
import time | |
class Ti(threading.Thread): | |
def __init__(self): | |
print('inittt') | |
self.k = 1 | |
self.t = None | |
super().__init__() |
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
# $Id: PKGBUILD 74655 2012-08-01 13:54:20Z spupykin $ | |
# Maintainer: Sergej Pupykin <[email protected]> | |
# Maintainer: Hugo Doria <[email protected]> | |
# Contributor: N3RD3X <[email protected]> | |
pkgname=python2-gnutls | |
pkgver=1.2.5 | |
pkgrel=2 | |
pkgdesc="Python wrapper for the GNUTLS library" | |
arch=('i686' 'x86_64') |
NewerOlder