This file contains 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
---- | |
-- Table FS | |
---- | |
-- an unix-like filesystem simulation on lua tables | |
-- by Severak 2012 | |
-- license: WTFPL | |
---- | |
-- documentation will come later.... | |
function tDir(t) |
This file contains 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
---- | |
-- ONYX shell | |
---- | |
-- needs TableFS (https://gist.github.com/3925335) | |
---- | |
-- unix-like shell simulator | |
-- by Severak 2012 | |
-- license WTFPL | |
---- | |
require "tfs" |
This file contains 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
-- VERSION FOR MOBILE LUA | |
---- | |
-- Table FS | |
---- | |
-- an unix-like filesystem simulation on lua tables | |
-- by Severak 2012 | |
-- license: WTFPL | |
---- |
This file contains 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
[16:03]<severak> shell 42 | |
[16:03]<lua2> Process 42 set as new shell. | |
[16:03]<severak> ls | |
[16:03]<lua2> > . | |
.. | |
examples | |
help | |
[16:03]<lua2> Process 42: Script frozen. | |
[16:03]<severak> ls examples | |
[16:03]<lua2> > . |
This file contains 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
kurzy={} | |
kurzy["CZK"]=19.082673 | |
kurzy["EEK"]=11.732411 | |
kurzy["EUR"]=0.767914 | |
kurzy["GBP"]=0.624714 | |
kurzy["USD"]=1 | |
kurzy["HUF"]=214.206924 | |
kurzy["PLN"]=3.153656 | |
print("Zadejte prevod ve tvaru 3 CZK na USD:") |
This file contains 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
<?php | |
$lang=array( | |
"new_project"=>"Nový projekt", | |
"new_adress_label"=>"Zvolte si prosím adresu vaší nové stránky:", | |
"adress_chars"=>"Adresa smí obsahovat pouze malá písmena bez háčů a čárek, číslice a pomlčky.", | |
"create"=>"Vytvořit", | |
"new_project_template"=> | |
"Nový projekt | |
------------ | |
Do tohoto políčka vepište svůj text. |
This file contains 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
import time | |
#seznam znamych sprostaren: | |
sprostarny = ["hovno", "prdel", "sracka" , "kurva" , "pica" , "curak","krava" ,"debil"] | |
print("Eliska, klon Elizy") | |
print("Jmeno dostala podle Impa z romanu Labyrint") | |
print() | |
while 1: | |
vstup=input(">") |
This file contains 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
-- Two dashes start a one-line comment. | |
--[[ | |
Adding two ['s and ]'s makes it a | |
multi-line comment. | |
--]] | |
---------------------------------------------------- | |
-- 1. Variables and flow control. | |
---------------------------------------------------- |
This file contains 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
-- Sofistikovaná simulace rozhovoru | |
function get_hm() | |
return string.rep('h', math.random(10)) .. string.rep('m', math.random(10)) | |
end |
This file contains 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
-- kmgrid | |
local push = table.insert | |
-- délka rovnoběžky | |
function latLen(lat) | |
local d = 40074 | |
return d * math.cos(math.rad(lat)) | |
end |
OlderNewer