Couldn't find the text of this for a while...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------------------------------------------------- | |
-- linkedlist.lua - v1.0.2 (2013-08) | |
-- Michael Ebens - https://gist.github.com/BlackBulletIV | |
-- Double Linked List / Deque (Deck) Container | |
-- https://gist.github.com/BlackBulletIV/4084042 | |
----------------------------------------------------------------------------------------------------------------------- | |
--[[ | |
This returns an Container Creator for a Double Linked List | |
with Deque (Deck) method names. See example below. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://worlds.simcity.com/parallelworlds.json | |
// | |
// Intercepting this request and changing the "Desc" field does nothing to the | |
// game's UI. The name in the interface seems to come from looking up the "id" | |
// field against a list of names stored internally. Probably because of locale | |
// stuff. | |
// | |
// Note the hidden servers! | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# update | |
sudo yum -y update | |
sudo yum -y upgrade | |
# enable EPEL6 by changing enabled=0 -> enabled=1 | |
sudo vim /etc/yum.repos.d/epel.repo | |
# install htop | |
sudo yum install htop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require("list") | |
local a = { 3 } | |
local b = { 4 } | |
local l = list({ 2 }, a, b, { 5 }) | |
l:pop() | |
l:shift() | |
l:push({ 6 }) | |
l:unshift({ 7 }) |