Skip to content

Instantly share code, notes, and snippets.

🙃
wat

Ionel Cristian Mărieș ionelmc

🙃
wat
Block or report user

Report or block ionelmc

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 irccloud-fixups.js
SESSION.buffers.each(function (b) { if (!b.isServerLog()) { b.setShowingJoinPartPref(false) } });
SESSION.buffers.each(function (b) { if (!b.isServerLog()) { b.setTrackingUnreadPref(false) } });
SESSION.buffers.each(function (b) { if (!b.isServerLog() && b.getName() != "#python-ro") { b.setShowingJoinPartPref(false) } });
SESSION.buffers.each(function (b) { if (!b.isServerLog() && b.getName() != "#python-ro") { b.setTrackingUnreadPref(false) } });
View test.rst
.. list-table::
:stub-columns: 1
:header-rows: 1
* - Template variable
- Default
- Description
* - ``project_name``
- .. code:: python
View cheatsheet.rst
@ionelmc
ionelmc / custom.html
Last active Aug 29, 2015
EventDrops demo
View custom.html
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<link rel="stylesheet" href="style.css" />
<style type="text/css">
body {
font-family: verdana, sans-serif;
}
</style>
@ionelmc
ionelmc / bad.py
Created Jan 12, 2015
Pytest fixture linting
View bad.py
# This should not emit any complaints
import pytest
class App:
def __init__(self, smtp):
self.smtp = smtp
@pytest.fixture(scope="module")
def app(smtp):
return App(smtp)
@ionelmc
ionelmc / trololo.log
Created Jan 6, 2015
About setuptools
View trololo.log
14:46 <ssbr`> nedbat: looks like this will do the right thing by munging sys.path
14:46 <ssbr`> *sighhhh*
14:47 <ssbr`> _habnabit: fine whatever you win, setuptools, woo
14:47 saschpe → zz_saschpe
14:47 — ssbr` cheers halfheartedly. quarterheartedly. notheartedly.
14:47 → Avaris and linux-fox joined ⇐ ruukasu and zoso quit
14:48 <nedbat> ssbr`: there's a reason people use setuptools
14:48 ⇐ linux-fox quit (~netinvman@122.156.252.10) Client Quit
14:48 <ionelmc> ssbr`: past setuptools trauma?
14:48 <ssbr`> ionelmc: I've spent years helping people debug setuptools' mistakes and overall crappiness
View gist:0e778de90ac75b5f003a
aspectlib
cogen
django-admin-customizer
django-admin-utils
django-customfields
django-easyfilters-ex
django-monkey-team
django-prefetch
django-redisboard
django-secdownload-storage
View index.html
<!DOCTYPE html>
<html>
<head>
<script src="http://cdnjs.cloudflare.com/ajax/libs/paper.js/0.9.12/paper.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<script src="http://www.polymer-project.org/platform.js"></script>
<link rel="import" href="http://www.polymer-project.org/components/polymer/polymer.html">
<style id="jsbin-css">
asdfsadfadsf
View index.html
<!DOCTYPE html>
<html>
<head>
<script src="http://cdnjs.cloudflare.com/ajax/libs/paper.js/0.9.12/paper.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<script src="http://www.polymer-project.org/platform.js"></script>
<link rel="import" href="http://www.polymer-project.org/components/polymer/polymer.html">
</head>
<body>
View index.html
<!DOCTYPE html>
<html>
<head>
<script src="http://ionelmc.github.io/polymer-json-box/bower_components/platform/platform.js"></script>
<script src="http://ionelmc.github.io/polymer-json-box/bower_components/polymer/polymer.js"></script>
<meta charset="UTF-8">
<style>
</style>
</head>
<body unresolved>
You can’t perform that action at this time.