Skip to content

Instantly share code, notes, and snippets.

View Demieno's full-sized avatar

kamed Demieno

  • Odessa, Ukraine
View GitHub Profile
@Demieno
Demieno / fieldset_form.py
Created March 12, 2022 13:20 — forked from FZambia/fieldset_form.py
fieldset form for django
from django import forms
from django.forms.forms import BoundField
from django.utils.datastructures import SortedDict
class BoundFieldset(object):
def __init__(self, form, name, title, fields, is_fieldset):
self.form = form
self.name = name
@Demieno
Demieno / 60-jetbrains.conf
Last active August 5, 2019 08:37 — forked from bittner/60-jetbrains.conf
Inotify configuration for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). Create this file with e.g. `sudo vim /etc/sysctl.d/60-jetbrains.conf`
# Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm).
# Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and
# run `sudo service procps start` or reboot.
# Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
#
# решение вопроса https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
#
# More information resources:
# -$ man inotify # manpage
# -$ man sysctl.conf # manpage
@Demieno
Demieno / pug.md
Created June 17, 2019 20:27 — forked from neretin-trike/pug.md
Туториал по HTML препроцессору Pug (Jade)
@Demieno
Demieno / spacemacs-cheshe.md
Created May 17, 2018 17:53 — forked from robphoenix/spacemacs-cheshe.md
Spacemacs Cheat Sheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window
  • SPC TAB - switch to previous buffer
  • SPC b b - switch buffers
@Demieno
Demieno / .gitconfig
Created March 25, 2018 11:30 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
@Demieno
Demieno / clojure.md
Created March 22, 2018 19:38
Setting Up Clojure on OS X

Setting Up Clojure on OS X

I spent a lot of time trying to find a pretty optimal (for me) setup for Clojure… at the same time I was trying to dive in and learn it. This is never optimal; you shouldn't be fighting the environment while trying to learn something.

I feel like I went through a lot of pain searching Google, StackOverflow, blogs, and other sites for random tidbits of information and instructions.

This is a comprehensive "what I learned and what I ended up doing" that will hopefully be of use to others and act as a journal for myself if I ever have to do it again. I want to be very step-by-step and explain what's happening (and why) at each step.

I appreciate the effort you've put into documenting this, but there are a number of inaccuracies here that need to be addressed. We get