Skip to content

Instantly share code, notes, and snippets.

Dmitriy Sukharev sukharevd

Block or report user

Report or block sukharevd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sukharevd
sukharevd / JsonExample.py
Created Aug 12, 2013
Example of work with JSON in Python
View JsonExample.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Example of work with JSON in Python
# Requires jsonpickle. To git it in Debian/Ubuntu:
# sudo apt-get install python-jsonpickle
import jsonpickle
__author__ = 'Dmitriy Sukharev'
@sukharevd
sukharevd / aws-s3-gzip-compression.py
Last active Sep 2, 2016
Synchronizes directory with gzipped content of Amazon S3 bucket with local one to avoid redundant synchronization requests when files were not changed, but MD5 sums of Gzipped files are different.
View aws-s3-gzip-compression.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
AWS S3 Gzip compression utility
Author: Dmitriy Sukharev
Modified: 2013-09-11
-------
Synchronizes directory with gzipped content of Amazon S3 bucket with local
@sukharevd
sukharevd / wildfly-install.sh
Last active Oct 12, 2019
Script to install JBoss Wildfly 10.x as service in Linux
View wildfly-install.sh
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 10.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :Dmitriy Sukharev
#date :2016-06-18T02:45-0700
#usage :/bin/bash wildfly-install.sh
#tested-version1 :10.0.0.CR3
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22
#tested-version2 :10.0.0.Final
@sukharevd
sukharevd / Json.php
Created Aug 12, 2012
Zend Framework Learning
View Json.php
<?php error_reporting(E_ALL & E_NOTICE); ?>
<?php
include_once "Zend/Json.php";
class Book
{
public $isbn;
public $title;
public $authors;
public function __construct($_isbn, $_title, array $authors) {
You can’t perform that action at this time.