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
| $("img").lazyload({ | |
| placeholder : "http://images.photo.bikestats.eu/zdjecie,600,89297,bike-stats-logo.jpg", | |
| effect : "fadeIn" | |
| }); |
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
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script> | |
| <script src="http://www.appelsiini.net/download/jquery.lazyload.js" type="text/javascript" charset="utf-8"></script> | |
| <script type="text/javascript" charset="utf-8"> | |
| $(function() { | |
| // $("img").lazyload(); | |
| $("img").lazyload({ | |
| placeholder : "http://images.photo.bikestats.eu/zdjecie,600,89297,bike-stats-logo.jpg", |
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
| // TODO: To be removed. Provided for backward compatibility | |
| String defaultCookiePolicy = null; | |
| try { | |
| defaultCookiePolicy = System.getProperty("apache.commons.httpclient.cookiespec"); | |
| } catch (SecurityException ignore) { | |
| } | |
| if (defaultCookiePolicy != null) { | |
| if ("COMPATIBILITY".equalsIgnoreCase(defaultCookiePolicy)) { | |
| params.setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); | |
| } else if ("NETSCAPE_DRAFT".equalsIgnoreCase(defaultCookiePolicy)) { |
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
| oki@v3:~$ locale | |
| LANG=pl_PL | |
| LC_CTYPE="pl_PL" | |
| LC_NUMERIC="pl_PL" | |
| LC_TIME="pl_PL" | |
| LC_COLLATE="pl_PL" | |
| LC_MONETARY="pl_PL" | |
| LC_MESSAGES="pl_PL" | |
| LC_PAPER="pl_PL" | |
| LC_NAME="pl_PL" |
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
| michalkurek@mk508-mac1eth ~ $ cat x.c | |
| #include <stdio.h> | |
| int main() { | |
| int a, b, c; | |
| printf("podaj a \n"); | |
| scanf("%i", &a); | |
| printf("podaj b \n"); | |
| scanf("%i", &b); |
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
| #include <stdio.h> | |
| #define min(x,y) ((x)>(y)?(y):(x)) | |
| #define max(x,y) ((x)<(y)?(y):(x)) | |
| int main() { | |
| int n; // rozmiar szachownicy | |
| int x,y; // polozenie hetmana | |
| int result; // tutaj lapiemy wynik |
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
| development: | |
| adapter: mysql | |
| encoding: utf8 | |
| database: project_development | |
| username: root | |
| password: | |
| test: | |
| adapter: mysql | |
| encoding: utf8 | |
| database: project_test |
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
| DROP TABLE IF EXISTS `users`; | |
| CREATE TABLE `users` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
| `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
| `identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
| `provider_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
| `roles_mask` int(11) DEFAULT NULL, | |
| `created_at` datetime DEFAULT NULL, | |
| `updated_at` datetime DEFAULT NULL, |
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 rpx_now_user | |
| { | |
| :username => "Foo Bar", | |
| :email => "test@gmail.com", | |
| :identifier => "user_ident", | |
| :providerName => "cucumber test" | |
| } | |
| end | |
| def rpx_now_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
| Nowy sposób na wrzutę. | |
| Weźmy przykładowy adres z piosenką: | |
| http://petaczfmx.wrzuta.pl/*audio*/697lZZgKnZY/lovkach_-_zatjazhki_russian_hip-hop | |
| 1. Krok pierwszy - podmiana *audio* na *xml/plik*: | |
| http://petaczfmx.wrzuta.pl/xml/plik/697lZZgKnZY/lovkach_-_zatjazhki_russian_hip-hop | |
| 2. Po wejściu na nowy adres dostajemy plik xml. | |
| Adres do pliku z muzyką znajduje się miedzy tagami <fileId> </fileId> |