hacks.html
This file
Path
docs/_templates/hacks.html
85 lines · 2.4 KiB · HTML
Last changed by
developmentKenneth Reitzbefore adoptiona4f313a
History of this fileTake it
The walk stopped after 200 commits: lines older than 916d171 point at it.
Merge branch 'master' of github.com:kennethreitz/requestsKenneth Reitzbefore adoption916d171
line 1why, one step back1<!-- Alabaster (krTheme++) Hacks -->Python 2 Death Sentence™Kenneth Reitzbefore adoption572d2f4
line 2why, one step back2<aside id="python27">developmentKenneth Reitzbefore adoptiona4f313a
line 3why, one step back3 <a href="https://www.kennethreitz.org/requests3"><strong>Requests 3.0</strong> development is underway, and your financial help is appreciated!</a>Python 2 Death Sentence™Kenneth Reitzbefore adoption572d2f4
line 4why, one step back4</aside>Merge branch 'master' of github.com:kennethreitz/requestsKenneth Reitzbefore adoption916d171
line 5why, one step back5Python 2 Death Sentence™Kenneth Reitzbefore adoption572d2f4
lines 6–21why, one step back6<!-- Python 2 Death Clock™ -->7<style type="text/css">8 body { margin-top: 4em; }9 #python27 {10 position: fixed;11 top: 0;12 left: 0; right: 0;13 height: auto;14 text-align: center;15 color: white;16 background-color: black;17 font-size: larger;18 line-height: 3;19 }2021</style>top barKenneth Reitzbefore adoption97b28fd
line 22why, one step back22<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>Python 2 Death Sentence™Kenneth Reitzbefore adoption572d2f4
lines 23–28why, one step back23<script>24 var death = new Date('2020-04-12');2526 var diff = moment.duration(death - moment());2728 document.querySelector('#python27 time').innerText = (diff.years() * 12) + diff.months();top barKenneth Reitzbefore adoption97b28fd
line 29why, one step back29</script> -->Python 2 Death Sentence™Kenneth Reitzbefore adoption572d2f4
lines 30–31why, one step back3031Merge branch 'master' of github.com:kennethreitz/requestsKenneth Reitzbefore adoption916d171
lines 32–57why, one step back32<!-- CSS Adjustments (I'm very picky.) -->33<style type="text/css">3435 /* Rezzy requires precise alignment. */36 img.logo {margin-left: -20px!important;}3738 /* "Quick Search" should be capitalized. */39 div#searchbox h3 {text-transform: capitalize;}4041 /* Make the document a little wider, less code is cut-off. */42 div.document {width: 1008px;}4344 /* Much-improved spacing around code blocks. */45 div.highlight pre {padding: 11px 14px;}4647 /* Remain Responsive! */48 @media screen and (max-width: 1008px) {49 div.sphinxsidebar {display: none;}50 div.document {width: 100%!important;}5152 /* Have code blocks escape the document right-margin. */53 div.highlight pre {margin-right: -30px;}54 }5556</style>57Python 2 Death Sentence™Kenneth Reitzbefore adoption572d2f4
line 58why, one step back58Merge branch 'master' of github.com:kennethreitz/requestsKenneth Reitzbefore adoption916d171
lines 59–74why, one step back59<!-- Analytics tracking for Kenneth. -->60<script type="text/javascript">61 var _gauges = _gauges || [];62 (function() {63 var t = document.createElement('script');64 t.type = 'text/javascript';65 t.async = true;66 t.id = 'gauges-tracker';67 t.setAttribute('data-site-id', '56ca7a57c88d9011080024dd');68 t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif');69 t.src = 'https://d36ee2fcip1434.cloudfront.net/track.js';70 var s = document.getElementsByTagName('script')[0];71 s.parentNode.insertBefore(t, s);72 })();73</script>74Python 2 Death Sentence™Kenneth Reitzbefore adoption572d2f4
line 75why, one step back75Merge branch 'master' of github.com:kennethreitz/requestsKenneth Reitzbefore adoption916d171
lines 76–85why, one step back76<!-- There are no more hacks. -->77<!-- இڿڰۣ-ڰۣ— -->78<!-- Love, Kenneth Reitz -->7980<script src="{{ pathto('_static/', 1) }}/konami.js"></script>81<script>82 var easter_egg = new Konami('http://fortunes.herokuapp.com/random/raw');83</script>8485<!-- That was not a hack. That was art. -->