Skip to content

Instantly share code, notes, and snippets.

View strikaco's full-sized avatar
💋
Chaotic Good

Johnny strikaco

💋
Chaotic Good
View GitHub Profile
@brunobord
brunobord / lipu-musi-pona.md
Last active July 16, 2022 20:37
lipu musi pona

lipu musi pona

lipu musi pona li musi tawa jan musi tu.

ona tu li wile jo e kiwen lili lon luka. nanpa pi kiwen lili li mute la musi ni li wile e tenpo mute.

sitelen lipu

sitelen li lon lipu selo wan:

@mrunkel
mrunkel / bullshit.html
Last active January 29, 2022 06:58
Almost 4,000 lines of javascript and HTML presented when pressing "I DO NOT ACCEPT" at westernjournal.com
<html lang="en-US" prefix="og: http://ogp.me/ns#">
<head>
<script type="text/javascript"
src="https://bam.nr-data.net/1/122dc12de0?a=17724322,86577151&amp;v=1071.385e752&amp;to=YQFSN0RZDxZUUEBaClhLcQBCUQ4LGkNVVAA%3D&amp;rst=1161&amp;ref=https://www.westernjournal.com/consent/&amp;ap=207&amp;be=141&amp;fe=1148&amp;dc=402&amp;af=err,xhr,stn,ins&amp;perf=%7B%22timing%22:%7B%22of%22:1531994499391,%22n%22:0,%22u%22:82,%22r%22:7,%22ue%22:85,%22re%22:39,%22f%22:39,%22dn%22:39,%22dne%22:39,%22c%22:39,%22ce%22:39,%22rq%22:41,%22rp%22:72,%22rpe%22:86,%22dl%22:101,%22di%22:401,%22ds%22:402,%22de%22:402,%22dc%22:1148,%22l%22:1148,%22le%22:1158%7D,%22navigation%22:%7B%22rc%22:1%7D%7D&amp;at=TUZRQQxDHBg%3D&amp;jsonp=NREUM.setToken"></script>
<script src="https://js-agent.newrelic.com/nr-1071.min.js"></script>
<script type="text/javascript" id="www-widgetapi-script"
src="https://s.ytimg.com/yts/jsbin/www-widgetapi-vflLq-1W7/www-widgetapi.js" async=""></script>
<script src="https://sec
@ronreiter
ronreiter / sqlalchemy_example.py
Created August 10, 2015 06:21
SQLAlchemy Example
from sqlalchemy import Column, Integer, String, ForeignKey, create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship, backref, sessionmaker, joinedload
# For this example we will use an in-memory sqlite DB.
# Let's also configure it to echo everything it does to the screen.
engine = create_engine('sqlite:///:memory:', echo=True)
# The base class which our objects will be defined on.
Base = declarative_base()
@eyaler
eyaler / graph.json
Last active December 26, 2023 07:36
Force-Directed Graph with Drag/Zoom/Pan/Center/Resize/Labels/Shapes/Filter/Highlight
{
"graph": [],
"links": [
{"source": 0, "target": 1},
{"source": 0, "target": 2},
{"source": 0, "target": 3},
{"source": 0, "target": 4},
{"source": 0, "target": 5},
{"source": 0, "target": 6},
{"source": 1, "target": 3},
@OrganicPanda
OrganicPanda / test.py
Created February 3, 2012 11:51
A basic CherryPy/SQLAlchemy example site to demonstrate a multi-user issue
import cherrypy
import sqlalchemy
from sqlalchemy import Table, Column, ForeignKey, MetaData, Integer, String
from sqlalchemy.orm import scoped_session, sessionmaker, mapper, relationship
from sqlalchemy.orm.properties import ColumnProperty
from sqlalchemy.orm.util import object_mapper
# The base class from which all entities will extend
class BaseEntity(object):
def __repr__(self):