Skip to content

Instantly share code, notes, and snippets.

View realnot's full-sized avatar
🏠
Working from home

Mauro Crociara realnot

🏠
Working from home
View GitHub Profile
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
/*
* Zone module (nord-ovest, nord-est, centre, sud, islands)
*/
// import { REQUEST_SENT, RESPONSE_RECEIVED, REQUEST_SUCCESS, REQUEST_ERROR } from "@/store/types/core/commons";
import * as types from "@/store/types/core/zone";
import { ZoneService } from "@/services";
const state = {
@realnot
realnot / show_urls.py
Created January 22, 2018 15:20 — forked from andreif/show_urls.py
A command to show urls of a Django project
import sys
from django.core.management import BaseCommand
from django.conf.urls import RegexURLPattern, RegexURLResolver
from django.core import urlresolvers
def collect_urls(urls=None, namespace=None, prefix=None):
if urls is None:
urls = urlresolvers.get_resolver()
prefix = prefix or []
@realnot
realnot / rtorrent.rc
Created February 11, 2017 10:24
Default rtorrent config for 0.9.6 from /usr/share/doc/rtorrent-0.9.6/rtorrent.rc.bz2
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
# Maximum and minimum number of peers to connect to per torrent.
#min_peers = 40
#max_peers = 100
# Same as above but for seeding completed torrents (-1 = same as downloading)
#min_peers_seed = 10