Skip to content

Instantly share code, notes, and snippets.

NotSqrt NotSqrt

Block or report user

Report or block NotSqrt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
zertosh /
Last active Sep 30, 2016
solution - super() not calling parent's constructor on IE9 -

For super calls to work in IE9, you must enable "loose" mode for the class transform. For inherited static properties to work in IE9, you must also add the babel-plugin-transform-proto-to-assign plugin.

from IPython.core.magic import Magics, magics_class, line_magic
import asyncio
class AsyncMagics(Magics):
def await(self, line):
return asyncio.get_event_loop().run_until_complete(eval(line,,
NotSqrt /
Last active Feb 13, 2020 — forked from nealtodd/
Another shot at this problem ..
class DisableMigrations(object):
def __contains__(self, item):
return True
def __getitem__(self, item):
return "notmigrations"
MIGRATION_MODULES = DisableMigrations()
thm1118 / bulk_alter_role
Last active Jun 8, 2018
bulk alter role of postgreSQL's database or table or view .etc
View bulk_alter_role
REASSIGN OWNED BY old_role [, ...] TO new_role
aboma / ember.select2.js
Last active Feb 23, 2018
select2.js enabled select box view for ember.js
View ember.select2.js
// Select box utilizing Select2 functionality that overrides Ember.Select;
// Define view in the same way that you would an Ember.Select view.
// Additional attributes supported are: width, allowClear, and closeOnSelect;
// Example view:
// {{ view App.Select2
// viewName="fieldValueSelect2"
// prompt="Please select a value list"
// contentBinding="controller.fieldValuesLists"
// optionLabelPath=""
// optionValuePath=""
m0n5t3r /
Created Nov 3, 2010
stats gathering with gunicorn; should be run with one sync worker, should be in your config
#!/usr/bin/env python
import sys
from random import random
from time import sleep
from threading import Thread, active_count
You can’t perform that action at this time.