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()
[Unit]
Description=rclone automount mrcry
Before=remote-fs.target
After=network-online.target
[Automount]
Where=/mnt/mysftp
TimeoutIdleSec=30
[Install]
[Unit]
Description=rclone automount mrcry
Before=remote-fs.target
After=network-online.target
[Automount]
Where=/mnt/mysftp
TimeoutIdleSec=30
[Install]
@ivandeex
ivandeex / rclone.conf
Created February 11, 2021 23:24
Example rclone.conf for chunker test
[TestChunkerLocal]
type = chunker
remote = /tmp
[TestChunkerNometaLocal]
type = chunker
remote = /tmp
meta_format = none
hash_type = none
@ivandeex
ivandeex / fix-ansible-group_by.patch
Created August 15, 2020 18:30
group_by in ansible 2.9.11 reports as changed breaking idempotence
Commit: f9c3c6cba6f74f9c50c023389bf8f37a8534ada1
Date: Wed Jul 29 10:44:46 2020 -0400
Message: Allow changed/failed mgmt on strategy actions (#70919)
--- a/ansible/plugins/strategy/__init__.py
+++ b/ansible/plugins/strategy/__init__.py
@@ -37,11 +37,11 @@ from ansible.errors import AnsibleError, AnsibleFileNotFound, AnsibleParserError
from ansible.executor import action_write_locks
from ansible.executor.process.worker import WorkerProcess
from ansible.executor.task_result import TaskResult
-from ansible.inventory.host import Host
@ivandeex
ivandeex / iodine.yml
Created March 30, 2018 23:22
test iodine
---
- hosts: all
gather_facts: no
vars:
iodine_domain: "iodine.mydomain.com"
iodine_password: "top secret"
iodine_tunnelip: "10.99.99.1/24"
iodine_port: 15353 # note: 5353 taken by nxserver
@ivandeex
ivandeex / cloudflare+dnssec+namecheap.md
Last active March 30, 2018 16:07
list of successful cloudflare+dnssec domains
  1. obtain list of alexa top-1m domain
  2. run bash $ ./ws.sh | grep res=111
  3. results (all registered with gandi.net):
    • booktype.pro (whois info)
    • boosting.pro
    • cloudwp.pro
    • liveblog.pro
/**
* @typedef {Object} Person
* @property {String} login Идентификатор сотрудника.
* @property {Number} floor "Домашний" этаж сотрудника.
* @property {String} avatar Ссылка на аватар.
*/
/**
* @typedef {Object} Room
* @property {Number} id Идентификатор переговорки.
@ivandeex
ivandeex / flex-axes-and-properties.markdown
Created September 10, 2017 20:26
flex axes and properties
@ivandeex
ivandeex / index.html
Created September 9, 2017 19:31
week 5 - activity 6 - scrolling body & hover
<div class="scroll-wrap">
<table class="tbody-scroll">
<thead>
<tr> <th>Name</th> <th>phone</th> <th>Abyrvalg</th> </tr>
</thead>
<tbody>
<tr> <td>AAAA</td> <td>323232</td> <td>Lorem ipsum and a very long cell text</td> </tr>
<tr> <td>BB</> <td>323232</td> <td>Dolor</td> </tr>
<tr> <td>CCC</> <td>3435656</td> <td>Sit amet</td> </tr>
<tr> <td>AAAA</td> <td>323232</td> <td>Lorem ipsum</td> </tr>