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
tc@box:~/ProBot$ git push | |
Enter passphrase for key '/home/tc/.ssh/id_rsa': | |
To [email protected]:FurryHead/ProBot.git | |
! [rejected] master -> master (non-fast-forward) | |
error: failed to push some refs to '[email protected]:FurryHead/ProBot.git' | |
To prevent you from losing history, non-fast-forward updates were rejected | |
Merge the remote changes before pushing again. See the 'Note about | |
fast-forwards' section of 'git push --help' for details. | |
tc@box:~/ProBot$ |
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
local logfh = nil | |
function c() | |
local logfh, err = ... | |
end | |
c() |
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
string | |
xpcall | |
package | |
tostring | |
os | |
unpack | |
require | |
getfenv | |
setmetatable |
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
tc@box:~/ProBot$ git commit -a -m "Restricted plugins to certain functions" | |
[origin 66169eb] Restricted plugins to certain functions | |
4 files changed, 37 insertions(+), 18 deletions(-) | |
tc@box:~/ProBot$ git push -u origin master | |
Enter passphrase for key '/home/tc/.ssh/id_rsa': | |
Branch master set up to track remote branch master from origin. | |
Everything up-to-date | |
tc@box:~/ProBot$ |
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
tc@box:~/ProBot$ git status | |
# On branch origin | |
# Untracked files: | |
# (use "git add <file>..." to include in what will be committed) | |
# | |
# config.lua | |
# plugins/logs/ | |
nothing added to commit but untracked files present (use "git add" to track) | |
tc@box:~/ProBot$ |
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
function main() | |
-- Some processing | |
if cmd == "bla" then | |
-- we got a command, pass it off to the thread manager | |
handle_command(cmd_function, ...) | |
end | |
end --loop | |
function handle_command(func, ...) |
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
dofile("irc.lua") | |
function main() | |
local servers = {} | |
for _,v in ipairs(IRC_SERVERS) do | |
servers[#servers+1] = lanes.gen("*", {globals = _G}, StartWithConfig)(v) | |
end | |
local done = false | |
local found = false | |
while not done do | |
for _,v in ipairs(servers) do |
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 'lanes' | |
function sqr() | |
print(5*5) | |
end | |
function middleman() | |
sqr() | |
end |
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 'lanes' | |
function sqr() | |
print(5*5) | |
end | |
function middleman() | |
sqr() | |
end |
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 'lanes' | |
function sqr() | |
print(5*5) | |
end | |
function middleman() | |
sqr() | |
end |
OlderNewer