I hereby claim:
- I am m000 on github.
- I am mstamat (https://keybase.io/mstamat) on keybase.
- I have a public key ASC2PZ_e5BqDHZbdtF6k_OITFHtLz1oCs0xiPuj2_Hgmvwo
To claim this, I am signing this object:
#!/bin/sh | |
# Outputs a list of openwrt installed packages, in the same format as the one | |
# used by sysupgrade to create /etc/backup/installed_packages.txt. | |
# This can be useful to diff the currently installed packages with the packages | |
# installed during a upgrade. | |
# | |
# Based-off of sysupgrade code: | |
# https://github.com/openwrt/openwrt/blob/master/package/base-files/files/sbin/sysupgrade | |
find_extra='( | |
( -exec test -f /rom/{} ; -exec echo {} rom ; ) |
#!/usr/bin/env python3 | |
from pathlib import Path | |
import json | |
import os | |
if __name__ == '__main__': | |
root = Path('.') | |
notes = (root / 'notes').glob('*.json') | |
export = root / 'export' |
#!/bin/bash | |
##################################################################### | |
# Monitoring script for use with QNAP boxes and cronitor.io. | |
##################################################################### | |
DATA_DIR="/share/MD0_DATA" | |
RUN_DIR="/share/MD0_DATA/homes/admin/run" | |
uptime_save="$RUN_DIR"/uptime_cronitor | |
monitorid="QbBI8O" | |
cronitor_run_url="https://cronitor.link/$monitorid/run" |
Index: cfe/trunk/lib/Headers/stddef.h | |
=================================================================== | |
--- cfe/trunk/lib/Headers/stddef.h (revision 201728) | |
+++ cfe/trunk/lib/Headers/stddef.h (revision 201729) | |
@@ -1,102 +1,112 @@ | |
/*===---- stddef.h - Basic type definitions --------------------------------=== | |
* | |
* Copyright (c) 2008 Eli Friedman | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy |
class CaseInsensitiveDict(dict): | |
@classmethod | |
def _k(cls, key): | |
return key.lower() if isinstance(key, basestring) else key | |
def __init__(self, *args, **kwargs): | |
super(CaseInsensitiveDict, self).__init__(*args, **kwargs) | |
self._convert_keys() | |
def __getitem__(self, key): |
I hereby claim:
To claim this, I am signing this object:
diff --git a/util.c b/util.c | |
index 85bb94c..9158c64 100644 | |
--- a/util.c | |
+++ b/util.c | |
@@ -602,6 +602,7 @@ printpath(struct tcb *tcp, long addr) | |
printpathn(tcp, addr, MAXPATHLEN); | |
} | |
+#define PTR_ADDRESS_BUFSIZE 12 | |
/* |
diff --git a/js/bootstrap-dropdown.js b/js/bootstrap-dropdown.js | |
index a1d5151..3a59467 100644 | |
--- a/js/bootstrap-dropdown.js | |
+++ b/js/bootstrap-dropdown.js | |
@@ -49,7 +49,7 @@ | |
isActive = $parent.hasClass('open') | |
- clearMenus() | |
+ if (! $parent.hasClass('dropdown-submenu')) clearMenus() |
# django-cms settings for the WYMEditor. | |
# See: http://docs.django-cms.org/en/latest/getting_started/configuration.html#editor-configuration | |
# | |
# We like WYMEditor because it is semantics-oriented and produces | |
# nice xhtml code which can then be uniformely formatted using css. | |
# | |
# Another option is TinyMCE. It requires the django-tinymce app and | |
# the CMS_USE_TINYMCE setting. | |
# We avoid TinyMCE because by default gives more formatting options | |
# than we think it should. This way semantic-editing is broken and |
from imagestore.models.bases.image import BaseImage | |
from django.utils.translation import ugettext_lazy as _ | |
from django.db import models | |
class ImageLicenceInfo(models.Model): | |
author_name = models.CharField(_('Author Name'), max_length=100) | |
# more fields to be added later... | |
class Meta: | |
verbose_name = _('Image Licence Information') |