Skip to content

Instantly share code, notes, and snippets.

View dimka11's full-sized avatar

Dmitry Sokolov dimka11

  • Russia, Omsk
  • 15:23 (UTC -12:00)
View GitHub Profile
@dimka11
dimka11 / heapClass.py
Created December 29, 2016 09:13 — forked from RadhikaG/heapClass.py
A class to demonstrate the different operations on heaps.
def parent(i):
return i/2
def left(i):
return 2*i
def right(i):
return (2*i + 1)
class Heap:
<snippet>
<content><![CDATA[
<!-- begin $1 -->
<div class="$1">
$2
</div>
<!-- end $1 -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>di</tabTrigger>
//Complex.cpp
#include <iostream>
#include "Complex.h"
using std::cout;
using std::endl;
/**
* Creates a new Complex with default values for real and imaginary
@dimka11
dimka11 / jetbra.in
Created March 15, 2026 16:36 — forked from yankuangxindaL4/jetbra.in
jetbra.in HTTP ERROR 522
1. install ipfs desktop: https://github.com/ipfs/ipfs-desktop/releases
2. open ipfs-desktop and visit http://localhost:8080/ipns/3.jetbra.in in browser
2.1 or http://localhost:8080/ipfs/bafybeih65no5dklpqfe346wyeiak6wzemv5d7z2ya7nssdgwdz4xrmdu6i
1. use shadon search for 'Location: https://account.jetbrains.com/fls-auth' to find a active server