Skip to content

Instantly share code, notes, and snippets.

View gimntut's full-sized avatar

Гимаев Наиль gimntut

View GitHub Profile
@nevros
nevros / inspector.py
Created April 26, 2019 00:21
drf-yasg JSON API support for swagger
"""
This has been created to answer the following question on stackoverflow
https://stackoverflow.com/questions/46157710/django-swagger-and-json-api-render-issues
This file lives in the folder 'jsonapi'. The following is code is added into the settings.py to enable the
code contained within this file.
# DRF-yasg settings
SWAGGER_SETTINGS = {
[Global Hotkeys]
Suspend=0
acPlayerPlayPause2=65581
acPlayerNextTrack2=65570
acPlayerPrevTrack2=65569
acMainMinimize=65582
acPlayerStop2=65571
[Hotkeys]
acMainMinimize=8
@gimntut
gimntut / CmdInit.custom.cmd
Last active January 13, 2019 09:54
Настройки ConEmu. ConEmu settings
@echo off
if NOT "%ConEmuPrompt1%" == "" exit /b
rem Simple "ver" prints empty line before Windows version
rem Use this construction to print just a version info
cmd /d /c ver | "%windir%\system32\find.exe" "Windows"
rem Now we form the command prompt
rem This will start prompt with `User@PC `
set ConEmuPrompt0=$E[32m$E]9;8;"USERNAME"$E\@$E]9;8;"COMPUTERNAME"$E\$S$T$S
@gimntut
gimntut / gist:884f079de8abeffe279fde3e64171b73
Last active May 7, 2018 05:50
sublime text 3 - license
—– BEGIN LICENSE —–
TwitterInc
200 User License
EA7E-890007
1D77F72E 390CDD93 4DCBA022 FAF60790
61AA12C0 A37081C5 D0316412 4584D136
94D7F7D4 95BC8C1C 527DA828 560BB037
D1EDDD8C AE7B379F 50C9D69D B35179EF
2FE898C4 8E4277A8 555CE714 E1FB0E43
D5D52613 C3D12E98 BC49967F 7652EED2
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@gimntut
gimntut / Sublime Text 3 Crack.md
Last active September 14, 2017 02:57 — forked from MehmetKursat/Sublime Text 3 Crack Tutorial.md
Sublime Text 3 Crack Tutorial

Win x64

| Version | Platform | Offset  | Change   |
|---------|----------|---------|----------|
| 3093    | Win x64  | 0xF0A8B | 85 -> 3B |
| 3094    | Win x64  | 0xF0A8B | 85 -> 3B |
| 3095    | Win x64  | 0xF0BDF | 85 -> 3B |
| 3100    | Win x64  | 0xE888D | F8 -> E0 |
| 3101    | Win x64  | 0xE7721 | F8 -> E0 |
| 3102 | Win x64 | 0xE849D | F8 -> E0 |
[
{ "keys": ["ctrl+shift+r"], "command": "revert" },
{ "keys": ["alt+shift+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["alt+shift+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["ctrl+shift+keypad_minus"], "command": "permute_lines", "args": {"operation": "unique"} },
{ "keys": ["shift+f12"], "command": "jump_back" }
]
@imjasonh
imjasonh / markdown.css
Last active May 17, 2024 07:30
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@yetithefoot
yetithefoot / stuns
Last active April 2, 2024 10:49 — forked from zziuni/stuns
STUN+TURN servers list
{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},