Skip to content

Instantly share code, notes, and snippets.

View ivandeex's full-sized avatar
:octocat:
¯\_(ツ)_/¯ BUSY

Ivan Andreev ivandeex

:octocat:
¯\_(ツ)_/¯ BUSY
View GitHub Profile
@ivandeex
ivandeex / gist:227626ad1149c289b1d4d9484b5817ef
Created July 27, 2021 18:47
jottacloud locks up docker plugin
goroutine 0 [idle]:
runtime.futex(0x2e09e50, 0x80, 0x0, 0x0, 0x0, 0x7ffd8bb2ddd0, 0x43f439, 0xc000329d50, 0x7ffd8bb2ddd8, 0x40c3ff, ...)
/usr/local/go/src/runtime/sys_linux_amd64.s:579 +0x21
runtime.futexsleep(0x2e09e50, 0xc000000000, 0xffffffffffffffff)
/usr/local/go/src/runtime/os_linux.go:44 +0x46
runtime.notesleep(0x2e09e50)
/usr/local/go/src/runtime/lock_futex.go:159 +0x9f
runtime.mPark()
/usr/local/go/src/runtime/proc.go:1340 +0x39
runtime.stoplockedm()
@bartvm
bartvm / dl-frameworks.rst
Last active December 7, 2020 18:18
A comparison of deep learning frameworks

A comparison of Theano with other deep learning frameworks, highlighting a series of low-level design choices in no particular order.

Overview

Differentiation

Symbolic: Theano, CGT; Automatic: Torch, MXNet

Symbolic and automatic differentiation are often confused or used interchangeably, although their implementations are significantly different.

@pankaj28843
pankaj28843 / set_outer_border_for_range_xlsx.py
Last active September 1, 2022 21:48
A simple hack - set outer border for a range using xlsxwriter, a Python library
from __future__ import absolute_import
try:
import cStringIO as StringIO
except ImportError:
import StringIO
# Standard Library
import re
import string
@rxaviers
rxaviers / gist:7360908
Last active May 4, 2024 00:48
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@netaustin
netaustin / fabric.py
Created May 21, 2012 03:47
Fabric SSH Tunnel
from fabric.api import *
from fabric.contrib.console import confirm
from local_settings import remote_user
from time import time
import subprocess, shlex, atexit, time
from settings import DATABASES
from os import remove
env.use_ssh_config = True
env.context = 'local'
@dupuy
dupuy / README.rst
Last active April 23, 2024 23:38
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

@shnjp
shnjp / tunnel.py
Created March 5, 2011 06:29
ssh tunnel for Fabric
"""
Fabric tunneling utilities
by shn@glucose.jp
class ForwardServer and relates things are refere Robey Pointer's paramiko example.
(http://bazaar.launchpad.net/~robey/paramiko/trunk/annotate/head%3A/demos/forward.py)
usage::
with make_tunnel('user@192.168.0.2:10022') as t:
# Mixpanel, Inc.
# http://mixpanel.com
max_ring_size = 2**127
def token_percent(token, max):
return round(token / float(max_ring_size), 4)
def calc(ring_load):
highest = {'total': 0, 'percent0': 0, 'percent1': 0}