Skip to content

Instantly share code, notes, and snippets.

Daniel Collins DanielCollins

Block or report user

Report or block DanielCollins

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
View gist:e5c3712211e35df253536b1d50b4e044
### Keybase proof
I hereby claim:
* I am danielcollins on github.
* I am pyropanda (https://keybase.io/pyropanda) on keybase.
* I have a public key ASCZhyudIgC9MCleOApc7X9qQrdIIpRPYwdwZ1tK7RBkSQo
To claim this, I am signing this object:
View gist:7ec09db73295cd4a24aa9a6ab07040b9
[ 7 of 10] Compiling Text.Digestive.Form.Encoding ( src/Text/Digestive/Form/Encoding.hs, dist/build/Text/Digestive/Form/Encoding.o )
src/Text/Digestive/Form/Encoding.hs:42:10: error:
• No instance for (Semigroup FormEncType)
arising from the superclasses of an instance declaration
• In the instance declaration for ‘Monoid FormEncType’
|
42 | instance Monoid FormEncType where
| ^^^^^^^^^^^^^^^^^^
cabal: Failed to build digestive-functors-0.8.3.0 (which is required by
View gist:64e8b5d0cdc3dad13251ea3cc0ff5c33
[ 7 of 10] Compiling Text.Digestive.Form.Encoding ( src/Text/Digestive/Form/Encoding.hs, dist/build/Text/Digestive/Form/Encoding.o )
src/Text/Digestive/Form/Encoding.hs:42:10: error:
• No instance for (Semigroup FormEncType)
arising from the superclasses of an instance declaration
• In the instance declaration for ‘Monoid FormEncType’
|
42 | instance Monoid FormEncType where
| ^^^^^^^^^^^^^^^^^^
View gist:629ae4cd2c0fb5a594b9edc1048045ca
pip3.6 install pyre-check --verbose
Created temporary directory: /private/var/folders/n_/rv211j296knf0tbt5823l6lc0000gn/T/pip-ephem-wheel-cache-snmxgr8u
Created temporary directory: /private/var/folders/n_/rv211j296knf0tbt5823l6lc0000gn/T/pip-install-nbe2zzdb
Collecting pyre-check
1 location(s) to search for versions of pyre-check:
* https://pypi.org/simple/pyre-check/
Getting page https://pypi.org/simple/pyre-check/
Looking up "https://pypi.org/simple/pyre-check/" in the cache
Current age based on date: 34322
Freshness lifetime from max-age: 600
View gist:49b16f90f2c7eccb36e08d9bf6f80176
$ pip3.6 install pyre-check
Collecting pyre-check
Could not find a version that satisfies the requirement pyre-check (from versions: )
No matching distribution found for pyre-check
View gist:2550d711e14bc2965bebd7ae13204c08
No config file found, using default configuration
Traceback (most recent call last):
File "venv/bin/pylint", line 11, in <module>
sys.exit(run_pylint())
File "/home/dbc/projects/repro/venv/lib/python3.6/site-packages/pylint/__init__.py", line 13, in run_pylint
Run(sys.argv[1:])
File "/home/dbc/projects/repro/venv/lib/python3.6/site-packages/pylint/lint.py", line 1300, in __init__
linter.check(args)
File "/home/dbc/projects/repro/venv/lib/python3.6/site-packages/pylint/lint.py", line 726, in check
self._do_check(files_or_modules)
View gist:8827d312ff81465d3af200c6ee9b8c34
$ fc-list
/usr/share/fonts/TTF/Inika-Regular.ttf: Inika:style=Regular
/usr/share/fonts/misc/ter-122n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/TTF/Martel-DemiBold.ttf: Martel,Martel DemiBold:style=DemiBold,Regular
/usr/share/fonts/adobe-source-han-sans/SourceHanSans-Bold.ttc: Source Han Sans HW TC,思源黑體 HW,思源黑體 HW Bold,Source Han Sans HW TC Bold:style=Bold,Regular
/usr/share/fonts/TTF/Merriweather-Black.ttf: Merriweather,Merriweather Black:style=Black,Regular
/usr/share/fonts/TTF/AnonymousPro-Italic.ttf: Anonymous Pro:style=Italic
/usr/share/fonts/TTF/TenorSans-Regular.ttf: Tenor Sans:style=Regular
/usr/share/fonts/TTF/AksaraBaliGalang-Regular.ttf: Aksara Bali Galang:style=Regular
View gist:9327e13deca599c0b817
saved_println = println;
class WeirdClass {
class func println(string:String) {
saved_println("---\(string)---")
// The above line will call itself i.e.
// `WeirdClass.println(string:String)`
// instead of system's println
View gist:6962c3ab6382f982aad7
>>> import backend.views
>>> from backend.models.db import db
>>> import backend.models.all
>>> from backend.models.users import Users
>>> Users() in Users.query
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: argument of type 'BaseQuery' is not iterable
View gist:d4070fb2fab733c63ba4
Traceback (most recent call last):
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/werkzeug/contrib/fixers.py", line 148, in __call__
return self.app(environ, start_response)
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/dbc/projects/grace/venv/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
You can’t perform that action at this time.