Skip to content

Instantly share code, notes, and snippets.

View 9034725985's full-sized avatar
🏠
Working from home

Kushal 9034725985

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am 9034725985 on github.
  • I am kus (https://keybase.io/kus) on keybase.
  • I have a public key whose fingerprint is 4958 FE3B B153 F756 FDC8 5350 26C2 2777 66F5 C663

To claim this, I am signing this object:

@9034725985
9034725985 / gist:24e6be99e5892d3599d7
Created March 19, 2016 13:52 — forked from NikolayS/gist:1bbc624dfc088be6f15c
Oracle's attempt to protect its place on the Russian market of database systems (RU + EN)
Источник: http://img11.postila.ru/data/34/fb/11/82/34fb118246ebb0b6a7f2dc6e7685f5ff62c0d9cff90876b283f3ecb521444775.jpg
(документ, упоминаемый в статье Ведомостей http://www.vedomosti.ru/technology/articles/2016/03/17/633926-importnii-soft-zamenit)
Почему PostgreSQL не является аналогом СУБД Oracle
С 1 января 2016 года в России вступает в действие постановление РФ "Об установлении запрета на допуск
Программного обеспечения, происходящего из иностранных государств, для целей осуществления закупок для обеспечения
государственных и муниципальных нужд". В соответствии с этим постановлением 1 января 2016 года формируется
реестр российского программного обеспечения (ПО)и госорганизации могут покупать ПО иностранных фирм
@9034725985
9034725985 / events.md
Created March 8, 2016 15:08 — forked from dolph/events.md
OpenStack Bug Smash
@9034725985
9034725985 / gist.php-first.md
Created February 29, 2016 19:24 — forked from adrian-enspired/php-first.md
PHP _first_!

Generally speaking, your PHP code can be sorted into two categories:

  • code which does work (processing input, controller logic, database access, error handling, etc.), and
  • code which produces output (echo, <?= $var ?>, plain <html>, etc.).

work goes FIRST. output goes LAST.

@9034725985
9034725985 / hacks.md
Last active November 21, 2021 09:19 — forked from alexpana/hacks.md
C++ is a hack

Various 'features' of C++ that show the hacky / inconsistent way in which the language was constructed. This is a work in progress, and currently contains some of the reasons I can remember why I've given up on C++. If you want to contribute, leave your favourite "hack" in the comments.

  1. (in)Visibility: C++ allows changing the access modifier of a virtual function in the derived class. Not only does C++ have no notion of interfaces, it actually allows subclasses to hide public methods from the superclass.

  2. Operator over-overloading: One of the increment operators takes a dummy int parameter in order to allow overloading. Can you tell which without googling? (hint: it is postfix).

  3. Exception unspecifiers: C++ has two types of exception specifiers: throw() and nothrow. The first is deprecated (because 'we screwed up, sorry, let's forget about this terrible mess'). The second one guarantees its contract by terminating the application when violated. That's because functions declared nothro

@9034725985
9034725985 / README.md
Created February 13, 2016 15:06 — forked from gajus/README.md

The issue:

..mobile browsers will wait approximately 300ms from the time that you tap the button to fire the click event. The reason for this is that the browser is waiting to see if you are actually performing a double tap.

(from a new defunct https://developers.google.com/mobile/articles/fast_buttons article)

touch-action CSS property can be used to disable this behaviour.

touch-action: manipulation The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming. Any additional behaviors supported by auto are out of scope for this specification.

//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Updated: 2010/12/05
// License: MIT
//
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it)
//
// Permission is hereby granted, free of charge, to any person
@9034725985
9034725985 / NamedTuple.h
Created January 2, 2016 20:43 — forked from VictorLaskin/NamedTuple.h
Named tuple for C++
// Named tuple for C++
// Example code from http://vitiy.info/
// Written by Victor Laskin (victor.laskin@gmail.com)
// Parts of code were taken from: https://gist.github.com/Manu343726/081512c43814d098fe4b
namespace foonathan {
namespace string_id {
namespace detail
{
@9034725985
9034725985 / wireedit
Created November 10, 2014 19:32
omnipacket
WIREEDIT END USER LICENSE AGREEMENT
(FREE VERSION)
PLEASE READ THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT (“AGREEMENT”) CAREFULLY BEFORE USING THE SOFTWARE (AS DEFINED BELOW). THIS IS A LEGALLY BINDING CONTRACT BETWEEN YOU AND OMNIPACKET, A COMPANY DULY ORGANIZED AND EXISTING UNDER THE LAWS OF THE STATE OF CALIFORNIA, U.S.A. (“OMNIPACKET”).
BY INSTALLING OR USING THIS SOFTWARE YOU ACCEPT ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
This Agreement accompanies certain software (WireEdit, including any upgrades or updates thereto as provided by OMNIPACKET, the “Software”) and related explanatory written materials (the “Documentation”).