Skip to content

Instantly share code, notes, and snippets.

@spamwax
spamwax / HybridScrollDemo.lua
Created November 25, 2022 13:33 — forked from Meorawr/HybridScrollDemo.lua
HybridScrollFrame Demo
local function CreateDemoModel(numItems)
local listModel = {};
for index = 1, numItems do
table.insert(listModel, {
text = string.format("List Item %1$d", index),
icon = string.format([[Interface\Icons\INV_Sword_%1$d]], 30 + (index % 30)),
});
end
@spamwax
spamwax / ScrollableListDemo.lua
Created November 25, 2022 13:33 — forked from Meorawr/ScrollableListDemo.lua
ScrollableListDemo
ScrollableListItemMixin = {};
function ScrollableListItemMixin:Init(elementData)
self.Background:SetColorTexture(elementData.color:GetRGBA());
self.Text:SetText(elementData.text);
end
ScrollableListMixin = {};
function ScrollableListMixin:OnLoad()

This document has now been incorporated into the uWSGI documentation:

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

Set up Django, nginx and uwsgi

Steps with explanations to set up a server using: