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
| var DayTime; (function() { | |
| var DAWN = 0, // Function flags | |
| DUSK = 1, | |
| DAY = 0, // Status flags | |
| NIGHT = 1; | |
| DayTime = function(latitude, longitude) { | |
| if(latitude === undefined || | |
| longitude === undefined) | |
| throw new Error("Define both the latitude and longitude!"); |
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
| /* | |
| Screen library | |
| Copyright (C) 2010 Vít Novotný | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. |
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
| /* | |
| Compatible Now! ~ Vít Novotný 2009 - 2011 | |
| Requires: | |
| * Ecma5.js | |
| */ | |
| (function(Array, String, undefined) { |
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
| /* | |
| SexyDollar library by Witiko | |
| Function $() | |
| 1st argument: "tagName", "#id", ".className", "tagName.className", "@name", "tagName@name" | |
| 2nd argument: parentElement (optional) | |
| */ |
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
| /* | |
| SexyDollar Extended library by Witiko | |
| Function $() | |
| 1st argument: "tagName", "#id", ".className", "tagName.className", "@name", "tagName@name" | |
| 2nd argument: Array / NodeList / Element parentElement (optional) | |
| */ |
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
| /* | |
| EasyUserData library | |
| A lightweight solution for basic userData handing | |
| Copyright (C) 2010 Vít Novotný | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. |
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
| /* | |
| Stored! - A standalone localStorage emulation library | |
| Copyright (C) 2011 Vít Novotný | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. |
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 <unistd.h> /* STDIN_FILENO */ | |
| #include <locale.h> /* LC_ALL, setlocale() */ | |
| #include <langinfo.h> /* nl_langinfo(), CODESET */ | |
| #include <wchar.h> /* wchar_t, putwchar() */ | |
| #include <iconv.h> /* iconv_t, iconv_open(), iconv(), iconv_close() */ | |
| #include <stdlib.h> /* malloc(), EXIT_SUCCESS */ | |
| int main(void) { | |
| setlocale(LC_ALL, ""); // We initialize the locale | |
| iconv_t converter = iconv_open("WCHAR_T", nl_langinfo(CODESET)); // We initialize a converter |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 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
| Football | |
| Football | |
| Rugby | |
| Football | |
| Cricket | |
| Football | |
| Tennis | |
| Tennis | |
| Cricket | |
| Football |