And Now We May Begin.
Tired of writing complex and lengthy filters just to prepare some data? Try out one of these for size. List comprehensions. They rule.
I’m trying to fix up one of my virtualenvs – I’d like to reset all of the installed libraries back to the ones that match production.Is there a quick and easy way to do this with pip? Source: python – What is the easiest way to remove all packages installed by pip? – Stack Overflow
We are simplifying the cloud. One Login, 9 Countries, 16 Cities, Infinite Possibilities. Source: Setup a Non-root User with Sudo Access on Ubuntu – Vultr.com
Source: bash – Repeat a command every x interval of time in terminal? – Ask Ubuntu
The Problem: SteamApi exists, but there is no api call that exposes the top games or provides the query set with any kind of sort– nor can we use an existing endpoint and just use some filter params. That’s okay, we didn’t need it anyways– w’re just gonna scrape it. The Plan: […]
In case you missed it, check out part 1 of this series. TDD – Models, Forms, and Serializers Testing Tools docs Django Forms – docs Django ModelForms – docs Serializers – docs Test Objectives # test fields of the forms # test creation of form objects # test output of rendered forms # test form […]
Intro Here is the first tutorial we are going to go through. I will be commenting as I progress through it. Models — Test-Driven Django Development v3.0 documentation After Completing Models Section: This is a very gentle walk-through, assumes the reader knows only the most basic concepts of django. I like to use shell_plus to […]
Dare to ponder.. Have you ever noticed how nearly all first-person shooters assume that the earth is made up of interchangeable flat tiles? This is in part due to the obvious simplicity of doing your collision calculations in linear space instead of dealing with all this curvature bullshit. Except One Thing.. Many of these games […]
The Problem: A Botnet is spamming your server. Spamfilter isn’t working. Time to get crafty. “ΑTTⲚ： This ⅽhɑnᥒеl һɑs moᴠеd to irc．frеeᥒоdᥱ.net #⁄jоiᥒ” “AΤΤⲚ: Thⅰѕ chɑnnel haѕ moᴠed tഠ irc.frᥱeᥒoⅾе.nᥱt #／јoіn” “ATTΝ፡ Тhiѕ cһaᥒnel һas mоᴠed tഠ irc.frееnode.net ﹟∕jⲟin” “AТΤN: Thiѕ chaᥒᥒel has mоveⅾ to іrс.frеenoⅾе.ᥒᥱt ＃/јoⅰᥒ” “AТTN﹕ Thiѕ cһannеl һaѕ mo⋁eԁ to irc․freenoⅾᥱ․nеt #/јoіn” “ΑΤTN︓ Tһis chɑnnᥱl hаѕ moved tο irc.freenode．ᥒet #/ϳoiᥒ” “ΑTТN: Ꭲhis ϲһɑnnel һaѕ moᴠed to ⅰrc．frеeᥒoԁе.ᥒet ＃⧸joіn” “ATTN: This ⅽһannel һas mοvеd to irc.frᥱеnοԁе.net #/join” Notice […]
Fuck this is going to get ugly fast. Let’s just get this over with, we both knew that this was a long time coming. The Basics. Encryption with International Character Sets Source: Cryptography with International Character Sets A Little Deeper Can you guess what this could be used for? Exactly. Now use it to reverse […]