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
// Progranism Source Code: Version 2.5.1 | |
// This new version of Progranisms should handle restrictive environments better | |
// It implements a better method of seeding the random number generator | |
// Returning to asexual behavior | |
// 2.5.1: Modified mutation selection code | |
// This is Linux code and should not compile under Windows | |
#include <sys/time.h> | |
#include <stdio.h> |
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
def a(x=4): | |
if(x<=len(input("Podaj imie: "))<=x**2): print("poprawne imie") | |
else: a() | |
a() |
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
INSERT INTO base_fragments_pl | |
(name,content,priority) | |
VALUES | |
('appName' ,'Tytuł aplikacji',0), | |
('appDescription' ,'Długi opis aplikacji, którego i tak, prawdopodobnie nikt nie czyta',0), | |
('appRule' ,'Pierwsza i najważniejsza zasada',0), | |
('appRule' ,'Druga już zupełnie nie potrzebna zasada',1), | |
('appRule' ,'Trzecia zasada...',2), | |
-- zasad może być do oporu | |
('appDefaultContent','Domyślne wypęłnienie treści w nowo dodawanym poście',0), |
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
<div class="element" style="max-width: 33%;"> | |
<div class="element_pic"> | |
<img src="" alt="here cames da picture!" /> | |
<div class="element_screens element_more"> | |
<img src="" alt="thumb1" /> | |
<img src="" alt="thumb1" /> | |
<img src="" alt="thumb1" /> | |
<img src="" alt="thumb1" /> | |
</div> | |
</div> |
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
def nth_fib( n ): | |
# actual actions; | |
# obliczanie n-tego elementu ciągu fibonnaciego | |
print(nth_element,sum_of_dividors,SEP="\n") |
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
<fieldset id="the_list"> | |
<p id="company_name">AAAAAA</p> | |
<form action="index.php" method="post" id="company_form"> | |
<input type="hidden" name="company_id" id="company_id" value="##" /> | |
<input type="submit" name="action" value="rename_company" /> | |
</form> | |
<ul id="page_list"> | |
<li class="group_node"> | |
<p class="group_name">BBBBBB</p> | |
<form action="index.php" method="post" class="group_form"> |
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
<? | |
// remember to set proper headers! | |
/** | |
* RESPOND WITH VALID JSON STRING (FROM AJAX) | |
* it's more of a standard than a particular function =) . | |
* descriptions for below parameters are RECOMMENDED usage, each one of them can be of any type | |
** | |
* $success (bool) => if AJAX operation succeded | |
* $cause (string) => very quick explanation: "<type> <operation> <operation parameter>" | |
* $more (array) => if more info occured, here's the place to return it |
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
<? | |
/** | |
* LOGGING FUNCTION | |
** | |
* $str => string to be logged | |
* $type => type of logging: | |
* - access: all non-error ACTIONS generated by users | |
* - user : same as 'access' | |
* - error : all possible ERRORS generated by users | |
* - admin : all important access/error actions generated by ADMIN |
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
<div id="coupon"> | |
<div id="user_data"> | |
<img id="user_pic" src="<?="cache/avatars/avatar_".$fid.".jpg";?>"> | |
<p id="user_name"><?=$name;?>, oto kupon rabatowy dla Ciebie:</p> | |
</div> | |
<a id="coupon_printable" href="<?=$url['print']."?promotion_id=".$promotion_id."&code=".$coupon_id."&fid=".$fid;?>" target="new"> | |
<img src="<?=$coupon_url;?>" alt="coupon" /> | |
</a> |
OlderNewer