text:
CREATE TABLE country (id NVARCHAR(2) NOT NULL, name NVARCHAR(64) NOT NULL, PRIMARY KEY (id));

INSERT INTO [country] ([id], [name]) VALUES ('ab', 'abchaski');
INSERT INTO [country] ([id], [name]) VALUES ('ace', 'aceh');
INSERT INTO [country] ([id], [name]) VALUES ('ach', 'aczoli');
INSERT INTO [country] ([id], [name]) VALUES ('ada', 'adangme');
INSERT INTO [country] ([id], [name]) VALUES ('ady', 'adygejski');
INSERT INTO [country] ([id], [name]) VALUES ('aa', 'afar');
INSERT INTO [country] ([id], [name]) VALUES ('afh', 'afrihili');
INSERT INTO [country] ([id], [name]) VALUES ('af', 'afrikaans');
INSERT INTO [country] ([id], [name]) VALUES ('afa', 'afro-azjatycki');
INSERT INTO [country] ([id], [name]) VALUES ('ay', 'ajmara');
INSERT INTO [country] ([id], [name]) VALUES ('ain', 'ajnu');
INSERT INTO [country] ([id], [name]) VALUES ('akk', 'akadyjski');
INSERT INTO [country] ([id], [name]) VALUES ('ak', 'akan');
INSERT INTO [country] ([id], [name]) VALUES ('sq', 'albański');
INSERT INTO [country] ([id], [name]) VALUES ('ale', 'aleucki');
INSERT INTO [country] ([id], [name]) VALUES ('tut', 'ałtajski');
INSERT INTO [country] ([id], [name]) VALUES ('am', 'amharski');
INSERT INTO [country] ([id], [name]) VALUES ('en', 'angielski');
INSERT INTO [country] ([id], [name]) VALUES ('en_US', 'angielski (USA)');
INSERT INTO [country] ([id], [name]) VALUES ('cpe', 'angielski kreolski lub pidżin');
INSERT INTO [country] ([id], [name]) VALUES ('anp', 'angika');
INSERT INTO [country] ([id], [name]) VALUES ('ar', 'arabski');
INSERT INTO [country] ([id], [name]) VALUES ('an', 'aragoński');
INSERT INTO [country] ([id], [name]) VALUES ('arc', 'aramejski');
INSERT INTO [country] ([id], [name]) VALUES ('arp', 'arapaho');
INSERT INTO [country] ([id], [name]) VALUES ('arn', 'araukański');
INSERT INTO [country] ([id], [name]) VALUES ('arw', 'arawak');
INSERT INTO [country] ([id], [name]) VALUES ('rup', 'arumuński');
INSERT INTO [country] ([id], [name]) VALUES ('as', 'asamski');
INSERT INTO [country] ([id], [name]) VALUES ('ast', 'asturyjski');
INSERT INTO [country] ([id], [name]) VALUES ('cch', 'atsam');
INSERT INTO [country] ([id], [name]) VALUES ('de_AT', 'austriacki niemiecki');
INSERT INTO [country] ([id], [name]) VALUES ('map', 'austronezyjski');
INSERT INTO [country] ([id], [name]) VALUES ('awa', 'awadhi');
INSERT INTO [country] ([id], [name]) VALUES ('av', 'awarski');
INSERT INTO [country] ([id], [name]) VALUES ('ae', 'awestyjski');
INSERT INTO [country] ([id], [name]) VALUES ('znd', 'azande');
INSERT INTO [country] ([id], [name]) VALUES ('az', 'azerski');
INSERT INTO [country] ([id], [name]) VALUES ('ban', 'balijski');
INSERT INTO [country] ([id], [name]) VALUES ('bat', 'bałtycki');
INSERT INTO [country] ([id], [name]) VALUES ('bm', 'bambara');
INSERT INTO [country] ([id], [name]) VALUES ('bnt', 'bantu');
INSERT INTO [country] ([id], [name]) VALUES ('bas', 'basa');
INSERT INTO [country] ([id], [name]) VALUES ('eu', 'baskijski');
INSERT INTO [country] ([id], [name]) VALUES ('ba', 'baszkirski');
INSERT INTO [country] ([id], [name]) VALUES ('btk', 'batak');
INSERT INTO [country] ([id], [name]) VALUES ('bej', 'bedża');
INSERT INTO [country] ([id], [name]) VALUES ('bal', 'beludżi');
INSERT INTO [country] ([id], [name]) VALUES ('bem', 'bemba');
INSERT INTO [country] ([id], [name]) VALUES ('bn', 'bengalski');
INSERT INTO [country] ([id], [name]) VALUES ('ber', 'berberski');
INSERT INTO [country] ([id], [name]) VALUES ('bho', 'bhodźpuri');
INSERT INTO [country] ([id], [name]) VALUES ('be', 'białoruski');
INSERT INTO [country] ([id], [name]) VALUES ('bh', 'biharski');
INSERT INTO [country] ([id], [name]) VALUES ('bik', 'bikol');
INSERT INTO [country] ([id], [name]) VALUES ('bin', 'bini');
INSERT INTO [country] ([id], [name]) VALUES ('my', 'birmański');
INSERT INTO [country] ([id], [name]) VALUES ('bi', 'bislama');
INSERT INTO [country] ([id], [name]) VALUES ('byn', 'blin');
INSERT INTO [country] ([id], [name]) VALUES ('zbl', 'bliss');
INSERT INTO [country] ([id], [name]) VALUES ('bs', 'bośniacki');
INSERT INTO [country] ([id], [name]) VALUES ('bra', 'bradź');
INSERT INTO [country] ([id], [name]) VALUES ('zxx', 'brak treści o charakterze lingwistycznym');
INSERT INTO [country] ([id], [name]) VALUES ('br', 'bretoński');
INSERT INTO [country] ([id], [name]) VALUES ('en_GB', 'brytyjski angielski');
INSERT INTO [country] ([id], [name]) VALUES ('bug', 'bugiński');
INSERT INTO [country] ([id], [name]) VALUES ('bg', 'bułgarski');
INSERT INTO [country] ([id], [name]) VALUES ('bua', 'buriacki');
INSERT INTO [country] ([id], [name]) VALUES ('ceb', 'cebuano');
INSERT INTO [country] ([id], [name]) VALUES ('cel', 'celtycki');
INSERT INTO [country] ([id], [name]) VALUES ('ch', 'chamorro');
INSERT INTO [country] ([id], [name]) VALUES ('zh', 'chiński');
INSERT INTO [country] ([id], [name]) VALUES ('zh_Hant', 'chiński (tradycyjny)');
INSERT INTO [country] ([id], [name]) VALUES ('zh_Hans', 'chiński (uproszczony)');
INSERT INTO [country] ([id], [name]) VALUES ('sit', 'chińsko-tybetański');
INSERT INTO [country] ([id], [name]) VALUES ('chp', 'chipewyan');
INSERT INTO [country] ([id], [name]) VALUES ('cho', 'choctaw');
INSERT INTO [country] ([id], [name]) VALUES ('hr', 'chorwacki');
INSERT INTO [country] ([id], [name]) VALUES ('kho', 'chotański');
INSERT INTO [country] ([id], [name]) VALUES ('mus', 'creek');
INSERT INTO [country] ([id], [name]) VALUES ('rom', 'cygański');
INSERT INTO [country] ([id], [name]) VALUES ('chg', 'czagatajski');
INSERT INTO [country] ([id], [name]) VALUES ('cmc', 'czam');
INSERT INTO [country] ([id], [name]) VALUES ('ce', 'czeczeński');
INSERT INTO [country] ([id], [name]) VALUES ('cs', 'czeski');
INSERT INTO [country] ([id], [name]) VALUES ('chb', 'czibcza');
INSERT INTO [country] ([id], [name]) VALUES ('chr', 'czirokezki');
INSERT INTO [country] ([id], [name]) VALUES ('za', 'czuang');
INSERT INTO [country] ([id], [name]) VALUES ('cv', 'czuwaski');
INSERT INTO [country] ([id], [name]) VALUES ('day', 'dajak');
INSERT INTO [country] ([id], [name]) VALUES ('dak', 'dakota');
INSERT INTO [country] ([id], [name]) VALUES ('dar', 'dargwijski');
INSERT INTO [country] ([id], [name]) VALUES ('del', 'delaware');
INSERT INTO [country] ([id], [name]) VALUES ('din', 'dinka');
INSERT INTO [country] ([id], [name]) VALUES ('doi', 'dogri');
INSERT INTO [country] ([id], [name]) VALUES ('dgr', 'dogrib');
INSERT INTO [country] ([id], [name]) VALUES ('dsb', 'dolnołużycki');
INSERT INTO [country] ([id], [name]) VALUES ('nds', 'dolnosaksoński');
INSERT INTO [country] ([id], [name]) VALUES ('dra', 'drawidyjski');
INSERT INTO [country] ([id], [name]) VALUES ('dua', 'duala');
INSERT INTO [country] ([id], [name]) VALUES ('da', 'duński');
INSERT INTO [country] ([id], [name]) VALUES ('dyu', 'dyula');
INSERT INTO [country] ([id], [name]) VALUES ('dz', 'dzongkha');
INSERT INTO [country] ([id], [name]) VALUES ('efi', 'efik');
INSERT INTO [country] ([id], [name]) VALUES ('eka', 'ekajuk');
INSERT INTO [country] ([id], [name]) VALUES ('elx', 'elamicki');
INSERT INTO [country] ([id], [name]) VALUES ('myv', 'erzya');
INSERT INTO [country] ([id], [name]) VALUES ('eo', 'esperanto');
INSERT INTO [country] ([id], [name]) VALUES ('et', 'estoński');
INSERT INTO [country] ([id], [name]) VALUES ('ee', 'ewe');
INSERT INTO [country] ([id], [name]) VALUES ('ewo', 'ewondo');
INSERT INTO [country] ([id], [name]) VALUES ('fan', 'fang');
INSERT INTO [country] ([id], [name]) VALUES ('fat', 'fanti');
INSERT INTO [country] ([id], [name]) VALUES ('fo', 'farerski');
INSERT INTO [country] ([id], [name]) VALUES ('phn', 'fenicki');
INSERT INTO [country] ([id], [name]) VALUES ('fj', 'fidżijski');
INSERT INTO [country] ([id], [name]) VALUES ('fil', 'filipino');
INSERT INTO [country] ([id], [name]) VALUES ('phi', 'filipiński');
INSERT INTO [country] ([id], [name]) VALUES ('fi', 'fiński');
INSERT INTO [country] ([id], [name]) VALUES ('nl_BE', 'flamandzki (Belgia)');
INSERT INTO [country] ([id], [name]) VALUES ('fon', 'fon');
INSERT INTO [country] ([id], [name]) VALUES ('fr', 'francuski');
INSERT INTO [country] ([id], [name]) VALUES ('cpf', 'francuski kreolski lub pidżin');
INSERT INTO [country] ([id], [name]) VALUES ('fur', 'friulijski');
INSERT INTO [country] ([id], [name]) VALUES ('fy', 'fryzyjski');
INSERT INTO [country] ([id], [name]) VALUES ('frs', 'fryzyjski wschodni');
INSERT INTO [country] ([id], [name]) VALUES ('ff', 'fulani');
INSERT INTO [country] ([id], [name]) VALUES ('gaa', 'ga');
INSERT INTO [country] ([id], [name]) VALUES ('gl', 'galisyjski');
INSERT INTO [country] ([id], [name]) VALUES ('lg', 'ganda');
INSERT INTO [country] ([id], [name]) VALUES ('gay', 'gayo');
INSERT INTO [country] ([id], [name]) VALUES ('gba', 'gbaya');
INSERT INTO [country] ([id], [name]) VALUES ('gem', 'germański');
INSERT INTO [country] ([id], [name]) VALUES ('gil', 'gilbertański');
INSERT INTO [country] ([id], [name]) VALUES ('got', 'gocki');
INSERT INTO [country] ([id], [name]) VALUES ('gon', 'gondi');
INSERT INTO [country] ([id], [name]) VALUES ('gor', 'gorontalo');
INSERT INTO [country] ([id], [name]) VALUES ('hsb', 'górnołużycki');
INSERT INTO [country] ([id], [name]) VALUES ('grb', 'grebo');
INSERT INTO [country] ([id], [name]) VALUES ('el', 'grecki');
INSERT INTO [country] ([id], [name]) VALUES ('kl', 'grenlandzki');
INSERT INTO [country] ([id], [name]) VALUES ('ka', 'gruziński');
INSERT INTO [country] ([id], [name]) VALUES ('gn', 'guarani');
INSERT INTO [country] ([id], [name]) VALUES ('gu', 'gudźaracki');
INSERT INTO [country] ([id], [name]) VALUES ('gwi', 'gwich'in');
INSERT INTO [country] ([id], [name]) VALUES ('gez', 'gyyz');
INSERT INTO [country] ([id], [name]) VALUES ('hai', 'haida');
INSERT INTO [country] ([id], [name]) VALUES ('ht', 'haitański');
INSERT INTO [country] ([id], [name]) VALUES ('ha', 'hausa');
INSERT INTO [country] ([id], [name]) VALUES ('haw', 'hawajski');
INSERT INTO [country] ([id], [name]) VALUES ('he', 'hebrajski');
INSERT INTO [country] ([id], [name]) VALUES ('hz', 'herero');
INSERT INTO [country] ([id], [name]) VALUES ('hit', 'hetycki');
INSERT INTO [country] ([id], [name]) VALUES ('hil', 'hiligajnon');
INSERT INTO [country] ([id], [name]) VALUES ('him', 'himachali');
INSERT INTO [country] ([id], [name]) VALUES ('hi', 'hindi');
INSERT INTO [country] ([id], [name]) VALUES ('ho', 'hiri motu');
INSERT INTO [country] ([id], [name]) VALUES ('es', 'hiszpański');
INSERT INTO [country] ([id], [name]) VALUES ('hmn', 'hmongijski');
INSERT INTO [country] ([id], [name]) VALUES ('hup', 'hupa');
INSERT INTO [country] ([id], [name]) VALUES ('iba', 'ibanag');
INSERT INTO [country] ([id], [name]) VALUES ('io', 'ido');
INSERT INTO [country] ([id], [name]) VALUES ('ig', 'igbo');
INSERT INTO [country] ([id], [name]) VALUES ('ijo', 'ijo');
INSERT INTO [country] ([id], [name]) VALUES ('ilo', 'ilokano');
INSERT INTO [country] ([id], [name]) VALUES ('inc', 'indoaryjski');
INSERT INTO [country] ([id], [name]) VALUES ('ine', 'indoeuropejski');
INSERT INTO [country] ([id], [name]) VALUES ('id', 'indonezyjski');
INSERT INTO [country] ([id], [name]) VALUES ('inh', 'inguski');
INSERT INTO [country] ([id], [name]) VALUES ('mis', 'inny język');
INSERT INTO [country] ([id], [name]) VALUES ('ia', 'interlingua');
INSERT INTO [country] ([id], [name]) VALUES ('ie', 'interlingue');
INSERT INTO [country] ([id], [name]) VALUES ('iu', 'inuktitut');
INSERT INTO [country] ([id], [name]) VALUES ('ik', 'inupiak');
INSERT INTO [country] ([id], [name]) VALUES ('ira', 'irański');
INSERT INTO [country] ([id], [name]) VALUES ('ga', 'irlandzki');
INSERT INTO [country] ([id], [name]) VALUES ('iro', 'irokeski');
INSERT INTO [country] ([id], [name]) VALUES ('is', 'islandzki');
INSERT INTO [country] ([id], [name]) VALUES ('sah', 'jakucki');
INSERT INTO [country] ([id], [name]) VALUES ('ja', 'japoński');
INSERT INTO [country] ([id], [name]) VALUES ('yap', 'japski');
INSERT INTO [country] ([id], [name]) VALUES ('jv', 'jawajski');
INSERT INTO [country] ([id], [name]) VALUES ('apa', 'język Apaczów');
INSERT INTO [country] ([id], [name]) VALUES ('ath', 'język Atapasków');
INSERT INTO [country] ([id], [name]) VALUES ('aus', 'język australijski');
INSERT INTO [country] ([id], [name]) VALUES ('bai', 'język bamileke');
INSERT INTO [country] ([id], [name]) VALUES ('bad', 'język banda');
INSERT INTO [country] ([id], [name]) VALUES ('chy', 'język Czejenów');
INSERT INTO [country] ([id], [name]) VALUES ('sai', 'język Indian południowoamerykańskich');
INSERT INTO [country] ([id], [name]) VALUES ('nai', 'język Indian północnoamerykańskich');
INSERT INTO [country] ([id], [name]) VALUES ('cai', 'język Indian środkowoamerykańskich');
INSERT INTO [country] ([id], [name]) VALUES ('myn', 'język Majów');
INSERT INTO [country] ([id], [name]) VALUES ('root', 'język rdzenny');
INSERT INTO [country] ([id], [name]) VALUES ('alg', 'języki algonkin');
INSERT INTO [country] ([id], [name]) VALUES ('yi', 'jidysz');
INSERT INTO [country] ([id], [name]) VALUES ('kaj', 'jju');
INSERT INTO [country] ([id], [name]) VALUES ('yo', 'joruba');
INSERT INTO [country] ([id], [name]) VALUES ('jrb', 'judeoarabski');
INSERT INTO [country] ([id], [name]) VALUES ('jpr', 'judeoperski');
INSERT INTO [country] ([id], [name]) VALUES ('ypk', 'jupik');
INSERT INTO [country] ([id], [name]) VALUES ('kbd', 'kabardyjski');
INSERT INTO [country] ([id], [name]) VALUES ('kab', 'kabylski');
INSERT INTO [country] ([id], [name]) VALUES ('kac', 'kaczin');
INSERT INTO [country] ([id], [name]) VALUES ('cad', 'kaddo');
INSERT INTO [country] ([id], [name]) VALUES ('xal', 'kałmucki');
INSERT INTO [country] ([id], [name]) VALUES ('kam', 'kamba');
INSERT INTO [country] ([id], [name]) VALUES ('en_CA', 'kanadyjski angielski');
INSERT INTO [country] ([id], [name]) VALUES ('fr_CA', 'kanadyjski francuski');
INSERT INTO [country] ([id], [name]) VALUES ('kn', 'kannada');
INSERT INTO [country] ([id], [name]) VALUES ('yue', 'kantoński');
INSERT INTO [country] ([id], [name]) VALUES ('kr', 'kanuri');
INSERT INTO [country] ([id], [name]) VALUES ('krc', 'karaczajsko-bałkarski');
INSERT INTO [country] ([id], [name]) VALUES ('kaa', 'karakałpacki');
INSERT INTO [country] ([id], [name]) VALUES ('krl', 'karelski');
INSERT INTO [country] ([id], [name]) VALUES ('kar', 'kareński');
INSERT INTO [country] ([id], [name]) VALUES ('car', 'karibi');
INSERT INTO [country] ([id], [name]) VALUES ('ks', 'kaszmirski');
INSERT INTO [country] ([id], [name]) VALUES ('csb', 'kaszubski');
INSERT INTO [country] ([id], [name]) VALUES ('ca', 'kataloński');
INSERT INTO [country] ([id], [name]) VALUES ('cau', 'kaukaski');
INSERT INTO [country] ([id], [name]) VALUES ('kaw', 'kawi');
INSERT INTO [country] ([id], [name]) VALUES ('kk', 'kazachski');
INSERT INTO [country] ([id], [name]) VALUES ('qu', 'keczua');
INSERT INTO [country] ([id], [name]) VALUES ('kha', 'khasi');
INSERT INTO [country] ([id], [name]) VALUES ('km', 'khmerski');
INSERT INTO [country] ([id], [name]) VALUES ('khi', 'khoisan');
INSERT INTO [country] ([id], [name]) VALUES ('xh', 'khosa');
INSERT INTO [country] ([id], [name]) VALUES ('ki', 'kikuju');
INSERT INTO [country] ([id], [name]) VALUES ('kmb', 'kimbundu');
INSERT INTO [country] ([id], [name]) VALUES ('rw', 'kinya-ruanda');
INSERT INTO [country] ([id], [name]) VALUES ('ky', 'kirgiski');
INSERT INTO [country] ([id], [name]) VALUES ('tlh', 'klingoński');
INSERT INTO [country] ([id], [name]) VALUES ('kv', 'komi');
INSERT INTO [country] ([id], [name]) VALUES ('swb', 'komoryjski');
INSERT INTO [country] ([id], [name]) VALUES ('kg', 'kongo');
INSERT INTO [country] ([id], [name]) VALUES ('kok', 'konkani');
INSERT INTO [country] ([id], [name]) VALUES ('cop', 'koptyjski');
INSERT INTO [country] ([id], [name]) VALUES ('ko', 'koreański');
INSERT INTO [country] ([id], [name]) VALUES ('kw', 'kornijski');
INSERT INTO [country] ([id], [name]) VALUES ('kfo', 'koro');
INSERT INTO [country] ([id], [name]) VALUES ('co', 'korsykański');
INSERT INTO [country] ([id], [name]) VALUES ('kos', 'kosrae');
INSERT INTO [country] ([id], [name]) VALUES ('kpe', 'kpelle');
INSERT INTO [country] ([id], [name]) VALUES ('crp', 'kreolski lub pidżin');
INSERT INTO [country] ([id], [name]) VALUES ('cr', 'kri');
INSERT INTO [country] ([id], [name]) VALUES ('kro', 'kru');
INSERT INTO [country] ([id], [name]) VALUES ('crh', 'krymski turecki');
INSERT INTO [country] ([id], [name]) VALUES ('kum', 'kumycki');
INSERT INTO [country] ([id], [name]) VALUES ('ku', 'kurdyjski');
INSERT INTO [country] ([id], [name]) VALUES ('kru', 'kurukh');
INSERT INTO [country] ([id], [name]) VALUES ('cus', 'kuszycki');
INSERT INTO [country] ([id], [name]) VALUES ('kut', 'kutenai');
INSERT INTO [country] ([id], [name]) VALUES ('kj', 'kwanyama');
INSERT INTO [country] ([id], [name]) VALUES ('lad', 'ladyński');
INSERT INTO [country] ([id], [name]) VALUES ('lah', 'lahnda');
INSERT INTO [country] ([id], [name]) VALUES ('lam', 'lamba');
INSERT INTO [country] ([id], [name]) VALUES ('lo', 'laotański');
INSERT INTO [country] ([id], [name]) VALUES ('smi', 'lapoński');
INSERT INTO [country] ([id], [name]) VALUES ('smn', 'lapoński Inari');
INSERT INTO [country] ([id], [name]) VALUES ('smj', 'lapoński Lule');
INSERT INTO [country] ([id], [name]) VALUES ('sma', 'lapoński południowy');
INSERT INTO [country] ([id], [name]) VALUES ('se', 'lapoński północny');
INSERT INTO [country] ([id], [name]) VALUES ('sms', 'lapoński Skolt');
INSERT INTO [country] ([id], [name]) VALUES ('lez', 'lezgijski');
INSERT INTO [country] ([id], [name]) VALUES ('li', 'limburgijski');
INSERT INTO [country] ([id], [name]) VALUES ('ln', 'lingala');
INSERT INTO [country] ([id], [name]) VALUES ('lt', 'litewski');
INSERT INTO [country] ([id], [name]) VALUES ('jbo', 'lojban');
INSERT INTO [country] ([id], [name]) VALUES ('loz', 'lozi');
INSERT INTO [country] ([id], [name]) VALUES ('lu', 'luba-katanga');
INSERT INTO [country] ([id], [name]) VALUES ('lua', 'luba-lulua');
INSERT INTO [country] ([id], [name]) VALUES ('lui', 'luiseno');
INSERT INTO [country] ([id], [name]) VALUES ('lb', 'luksemburski');
INSERT INTO [country] ([id], [name]) VALUES ('lun', 'lunda');
INSERT INTO [country] ([id], [name]) VALUES ('luo', 'luo');
INSERT INTO [country] ([id], [name]) VALUES ('lus', 'lushai');
INSERT INTO [country] ([id], [name]) VALUES ('la', 'łaciński');
INSERT INTO [country] ([id], [name]) VALUES ('lv', 'łotewski');
INSERT INTO [country] ([id], [name]) VALUES ('wen', 'łużycki');
INSERT INTO [country] ([id], [name]) VALUES ('mk', 'macedoński');
INSERT INTO [country] ([id], [name]) VALUES ('mad', 'madurajski');
INSERT INTO [country] ([id], [name]) VALUES ('mag', 'magahi');
INSERT INTO [country] ([id], [name]) VALUES ('mai', 'maithili');
INSERT INTO [country] ([id], [name]) VALUES ('mak', 'makasar');
INSERT INTO [country] ([id], [name]) VALUES ('ml', 'malajalam');
INSERT INTO [country] ([id], [name]) VALUES ('ms', 'malajski');
INSERT INTO [country] ([id], [name]) VALUES ('dv', 'malediwski');
INSERT INTO [country] ([id], [name]) VALUES ('mg', 'malgaski');
INSERT INTO [country] ([id], [name]) VALUES ('mt', 'maltański');
INSERT INTO [country] ([id], [name]) VALUES ('mnc', 'manchu');
INSERT INTO [country] ([id], [name]) VALUES ('mdr', 'mandar');
INSERT INTO [country] ([id], [name]) VALUES ('man', 'mandingo');
INSERT INTO [country] ([id], [name]) VALUES ('mni', 'manipuryjski');
INSERT INTO [country] ([id], [name]) VALUES ('mno', 'manobo');
INSERT INTO [country] ([id], [name]) VALUES ('gv', 'manx');
INSERT INTO [country] ([id], [name]) VALUES ('mi', 'maoryjski');
INSERT INTO [country] ([id], [name]) VALUES ('mr', 'marathi');
INSERT INTO [country] ([id], [name]) VALUES ('mh', 'marshall');
INSERT INTO [country] ([id], [name]) VALUES ('mwr', 'marwari');
INSERT INTO [country] ([id], [name]) VALUES ('chm', 'maryjski');
INSERT INTO [country] ([id], [name]) VALUES ('mas', 'masajski');
INSERT INTO [country] ([id], [name]) VALUES ('men', 'mende');
INSERT INTO [country] ([id], [name]) VALUES ('mic', 'micmac');
INSERT INTO [country] ([id], [name]) VALUES ('sgn', 'migowy');
INSERT INTO [country] ([id], [name]) VALUES ('min', 'minangkabu');
INSERT INTO [country] ([id], [name]) VALUES ('mwl', 'mirandese');
INSERT INTO [country] ([id], [name]) VALUES ('moh', 'mohawk');
INSERT INTO [country] ([id], [name]) VALUES ('mdf', 'moksha');
INSERT INTO [country] ([id], [name]) VALUES ('mo', 'mołdawski');
INSERT INTO [country] ([id], [name]) VALUES ('mkh', 'mon-khmer');
INSERT INTO [country] ([id], [name]) VALUES ('lol', 'mongo');
INSERT INTO [country] ([id], [name]) VALUES ('mn', 'mongolski');
INSERT INTO [country] ([id], [name]) VALUES ('mos', 'mossi');
INSERT INTO [country] ([id], [name]) VALUES ('mun', 'mundajski');
INSERT INTO [country] ([id], [name]) VALUES ('nqo', 'n'ko');
INSERT INTO [country] ([id], [name]) VALUES ('nah', 'nahuatl');
INSERT INTO [country] ([id], [name]) VALUES ('na', 'nauru');
INSERT INTO [country] ([id], [name]) VALUES ('nv', 'nawaho');
INSERT INTO [country] ([id], [name]) VALUES ('nr', 'ndebele południowy');
INSERT INTO [country] ([id], [name]) VALUES ('nd', 'ndebele północny');
INSERT INTO [country] ([id], [name]) VALUES ('ng', 'ndonga');
INSERT INTO [country] ([id], [name]) VALUES ('nap', 'neapolitański');
INSERT INTO [country] ([id], [name]) VALUES ('ne', 'nepalski');
INSERT INTO [country] ([id], [name]) VALUES ('new', 'newarski');
INSERT INTO [country] ([id], [name]) VALUES ('nwc', 'newarski klasyczny');
INSERT INTO [country] ([id], [name]) VALUES ('nym', 'niamwezi');
INSERT INTO [country] ([id], [name]) VALUES ('nia', 'nias');
INSERT INTO [country] ([id], [name]) VALUES ('nl', 'niderlandzki');
INSERT INTO [country] ([id], [name]) VALUES ('de', 'niemiecki');
INSERT INTO [country] ([id], [name]) VALUES ('gsw', 'niemiecki (Szwajcaria)');
INSERT INTO [country] ([id], [name]) VALUES ('und', 'nieznany lub niepoprawny język');
INSERT INTO [country] ([id], [name]) VALUES ('nic', 'nigrokordofański');
INSERT INTO [country] ([id], [name]) VALUES ('ssa', 'nilosaharyjski');
INSERT INTO [country] ([id], [name]) VALUES ('niu', 'niue');
INSERT INTO [country] ([id], [name]) VALUES ('ny', 'njandża');
INSERT INTO [country] ([id], [name]) VALUES ('nog', 'nogajski');
INSERT INTO [country] ([id], [name]) VALUES ('no', 'norweski');
INSERT INTO [country] ([id], [name]) VALUES ('nb', 'norweski Bokmål');
INSERT INTO [country] ([id], [name]) VALUES ('nn', 'norweski Nynorsk');
INSERT INTO [country] ([id], [name]) VALUES ('nub', 'nubijski');
INSERT INTO [country] ([id], [name]) VALUES ('nyn', 'nyankole');
INSERT INTO [country] ([id], [name]) VALUES ('nyo', 'nyoro');
INSERT INTO [country] ([id], [name]) VALUES ('nzi', 'nzema');
INSERT INTO [country] ([id], [name]) VALUES ('oj', 'odżibwa');
INSERT INTO [country] ([id], [name]) VALUES ('or', 'orija');
INSERT INTO [country] ([id], [name]) VALUES ('hy', 'ormiański');
INSERT INTO [country] ([id], [name]) VALUES ('om', 'oromski');
INSERT INTO [country] ([id], [name]) VALUES ('osa', 'osage');
INSERT INTO [country] ([id], [name]) VALUES ('os', 'osetyjski');
INSERT INTO [country] ([id], [name]) VALUES ('ota', 'osmańsko-turecki');
INSERT INTO [country] ([id], [name]) VALUES ('oto', 'otomi');
INSERT INTO [country] ([id], [name]) VALUES ('pal', 'pahlavi');
INSERT INTO [country] ([id], [name]) VALUES ('pau', 'palau');
INSERT INTO [country] ([id], [name]) VALUES ('pi', 'palijski');
INSERT INTO [country] ([id], [name]) VALUES ('pam', 'pampango');
INSERT INTO [country] ([id], [name]) VALUES ('pag', 'pangasino');
INSERT INTO [country] ([id], [name]) VALUES ('pap', 'papiamento');
INSERT INTO [country] ([id], [name]) VALUES ('paa', 'papuaski');
INSERT INTO [country] ([id], [name]) VALUES ('ps', 'paszto');
INSERT INTO [country] ([id], [name]) VALUES ('pa', 'pendżabski');
INSERT INTO [country] ([id], [name]) VALUES ('fa', 'perski');
INSERT INTO [country] ([id], [name]) VALUES ('pl', 'polski');
INSERT INTO [country] ([id], [name]) VALUES ('alt', 'południowoałtajski');
INSERT INTO [country] ([id], [name]) VALUES ('pon', 'ponpejski');
INSERT INTO [country] ([id], [name]) VALUES ('pt', 'portugalski');
INSERT INTO [country] ([id], [name]) VALUES ('pt_PT', 'portugalski (Półwysep Iberyjski)');
INSERT INTO [country] ([id], [name]) VALUES ('cpp', 'portugalski kreolski lub pidżin');
INSERT INTO [country] ([id], [name]) VALUES ('frr', 'północnofryzyjski');
INSERT INTO [country] ([id], [name]) VALUES ('pra', 'prakryty');
INSERT INTO [country] ([id], [name]) VALUES ('oc', 'prowansalski');
INSERT INTO [country] ([id], [name]) VALUES ('raj', 'radźasthani');
INSERT INTO [country] ([id], [name]) VALUES ('rap', 'rapanui');
INSERT INTO [country] ([id], [name]) VALUES ('rar', 'rarotonga');
INSERT INTO [country] ([id], [name]) VALUES ('rm', 'retoromański');
INSERT INTO [country] ([id], [name]) VALUES ('roa', 'romański');
INSERT INTO [country] ([id], [name]) VALUES ('ru', 'rosyjski');
INSERT INTO [country] ([id], [name]) VALUES ('ro', 'rumuński');
INSERT INTO [country] ([id], [name]) VALUES ('rn', 'rundi');
INSERT INTO [country] ([id], [name]) VALUES ('sal', 'salisz');
INSERT INTO [country] ([id], [name]) VALUES ('sam', 'samarytański aramejski');
INSERT INTO [country] ([id], [name]) VALUES ('sm', 'samoański');
INSERT INTO [country] ([id], [name]) VALUES ('sad', 'sandawe');
INSERT INTO [country] ([id], [name]) VALUES ('sg', 'sango');
INSERT INTO [country] ([id], [name]) VALUES ('sa', 'sanskryt');
INSERT INTO [country] ([id], [name]) VALUES ('sat', 'santali');
INSERT INTO [country] ([id], [name]) VALUES ('sc', 'sardyński');
INSERT INTO [country] ([id], [name]) VALUES ('sas', 'sasak');
INSERT INTO [country] ([id], [name]) VALUES ('sel', 'selkupski');
INSERT INTO [country] ([id], [name]) VALUES ('sem', 'semicki');
INSERT INTO [country] ([id], [name]) VALUES ('sr', 'serbski');
INSERT INTO [country] ([id], [name]) VALUES ('sh', 'serbsko-chorwacki');
INSERT INTO [country] ([id], [name]) VALUES ('srr', 'serer');
INSERT INTO [country] ([id], [name]) VALUES ('tn', 'setswana');
INSERT INTO [country] ([id], [name]) VALUES ('shn', 'shan');
INSERT INTO [country] ([id], [name]) VALUES ('sid', 'sidamo');
INSERT INTO [country] ([id], [name]) VALUES ('bla', 'siksika');
INSERT INTO [country] ([id], [name]) VALUES ('sd', 'sindhi');
INSERT INTO [country] ([id], [name]) VALUES ('sio', 'siouański');
INSERT INTO [country] ([id], [name]) VALUES ('ss', 'siswati');
INSERT INTO [country] ([id], [name]) VALUES ('den', 'slave');
INSERT INTO [country] ([id], [name]) VALUES ('sk', 'słowacki');
INSERT INTO [country] ([id], [name]) VALUES ('sl', 'słoweński');
INSERT INTO [country] ([id], [name]) VALUES ('sla', 'słowiański');
INSERT INTO [country] ([id], [name]) VALUES ('sog', 'sogdyjski');
INSERT INTO [country] ([id], [name]) VALUES ('so', 'somalijski');
INSERT INTO [country] ([id], [name]) VALUES ('son', 'songhaj');
INSERT INTO [country] ([id], [name]) VALUES ('snk', 'soninke');
INSERT INTO [country] ([id], [name]) VALUES ('st', 'sotho południowy');
INSERT INTO [country] ([id], [name]) VALUES ('nso', 'sotho północny');
INSERT INTO [country] ([id], [name]) VALUES ('srn', 'sranan tongo');
INSERT INTO [country] ([id], [name]) VALUES ('cu', 'staro-cerkiewno-słowiański');
INSERT INTO [country] ([id], [name]) VALUES ('goh', 'staro-wysoko-niemiecki');
INSERT INTO [country] ([id], [name]) VALUES ('ang', 'staroangielski');
INSERT INTO [country] ([id], [name]) VALUES ('fro', 'starofrancuski');
INSERT INTO [country] ([id], [name]) VALUES ('grc', 'starogrecki');
INSERT INTO [country] ([id], [name]) VALUES ('sga', 'staroirlandzki');
INSERT INTO [country] ([id], [name]) VALUES ('non', 'staronordyjski');
INSERT INTO [country] ([id], [name]) VALUES ('peo', 'staroperski');
INSERT INTO [country] ([id], [name]) VALUES ('pro', 'staroprowansalski');
INSERT INTO [country] ([id], [name]) VALUES ('egy', 'starożytny egipski');
INSERT INTO [country] ([id], [name]) VALUES ('sw', 'suahili');
INSERT INTO [country] ([id], [name]) VALUES ('suk', 'sukuma');
INSERT INTO [country] ([id], [name]) VALUES ('sux', 'sumeryjski');
INSERT INTO [country] ([id], [name]) VALUES ('su', 'sundajski');
INSERT INTO [country] ([id], [name]) VALUES ('sus', 'susu');
INSERT INTO [country] ([id], [name]) VALUES ('scn', 'sycylijski');
INSERT INTO [country] ([id], [name]) VALUES ('ii', 'syczuański');
INSERT INTO [country] ([id], [name]) VALUES ('si', 'syngaleski');
INSERT INTO [country] ([id], [name]) VALUES ('syc', 'syriacki');
INSERT INTO [country] ([id], [name]) VALUES ('syr', 'syryjski');
INSERT INTO [country] ([id], [name]) VALUES ('sco', 'szkocki');
INSERT INTO [country] ([id], [name]) VALUES ('gd', 'szkocki gaelicki');
INSERT INTO [country] ([id], [name]) VALUES ('sn', 'szona');
INSERT INTO [country] ([id], [name]) VALUES ('art', 'sztuczny');
INSERT INTO [country] ([id], [name]) VALUES ('sv', 'szwedzki');
INSERT INTO [country] ([id], [name]) VALUES ('gmh', 'średnio-wysoko-niemiecki');
INSERT INTO [country] ([id], [name]) VALUES ('enm', 'średnioangielski');
INSERT INTO [country] ([id], [name]) VALUES ('frm', 'średniofrancuski');
INSERT INTO [country] ([id], [name]) VALUES ('mga', 'średnioirlandzki');
INSERT INTO [country] ([id], [name]) VALUES ('dum', 'średniowieczny niderlandzki');
INSERT INTO [country] ([id], [name]) VALUES ('tg', 'tadżycki');
INSERT INTO [country] ([id], [name]) VALUES ('tl', 'tagalski');
INSERT INTO [country] ([id], [name]) VALUES ('ty', 'tahitański');
INSERT INTO [country] ([id], [name]) VALUES ('th', 'tajski');
INSERT INTO [country] ([id], [name]) VALUES ('tmh', 'tamaszek');
INSERT INTO [country] ([id], [name]) VALUES ('ta', 'tamilski');
INSERT INTO [country] ([id], [name]) VALUES ('tt', 'tatarski');
INSERT INTO [country] ([id], [name]) VALUES ('te', 'telugu');
INSERT INTO [country] ([id], [name]) VALUES ('tem', 'temne');
INSERT INTO [country] ([id], [name]) VALUES ('ter', 'tereno');
INSERT INTO [country] ([id], [name]) VALUES ('tet', 'tetum');
INSERT INTO [country] ([id], [name]) VALUES ('tig', 'tigre');
INSERT INTO [country] ([id], [name]) VALUES ('ti', 'tigrinia');
INSERT INTO [country] ([id], [name]) VALUES ('tiv', 'tiw');
INSERT INTO [country] ([id], [name]) VALUES ('tli', 'tlingit');
INSERT INTO [country] ([id], [name]) VALUES ('tpi', 'tok pisin');
INSERT INTO [country] ([id], [name]) VALUES ('tkl', 'tokelau');
INSERT INTO [country] ([id], [name]) VALUES ('to', 'tonga');
INSERT INTO [country] ([id], [name]) VALUES ('tog', 'tonga (Niasa)');
INSERT INTO [country] ([id], [name]) VALUES ('chk', 'truk');
INSERT INTO [country] ([id], [name]) VALUES ('tsi', 'tsimshian');
INSERT INTO [country] ([id], [name]) VALUES ('ts', 'tsonga');
INSERT INTO [country] ([id], [name]) VALUES ('tum', 'tumbuka');
INSERT INTO [country] ([id], [name]) VALUES ('tup', 'tupi');
INSERT INTO [country] ([id], [name]) VALUES ('tr', 'turecki');
INSERT INTO [country] ([id], [name]) VALUES ('tk', 'turkmeński');
INSERT INTO [country] ([id], [name]) VALUES ('tvl', 'tuvalu');
INSERT INTO [country] ([id], [name]) VALUES ('tyv', 'tuwiński');
INSERT INTO [country] ([id], [name]) VALUES ('tw', 'twi');
INSERT INTO [country] ([id], [name]) VALUES ('kcg', 'tyap');
INSERT INTO [country] ([id], [name]) VALUES ('bo', 'tybetański');
INSERT INTO [country] ([id], [name]) VALUES ('udm', 'udmurcki');
INSERT INTO [country] ([id], [name]) VALUES ('uga', 'ugarycki');
INSERT INTO [country] ([id], [name]) VALUES ('fiu', 'ugrofiński');
INSERT INTO [country] ([id], [name]) VALUES ('ug', 'ujgurski');
INSERT INTO [country] ([id], [name]) VALUES ('uk', 'ukraiński');
INSERT INTO [country] ([id], [name]) VALUES ('umb', 'umbundu');
INSERT INTO [country] ([id], [name]) VALUES ('ur', 'urdu');
INSERT INTO [country] ([id], [name]) VALUES ('uz', 'uzbecki');
INSERT INTO [country] ([id], [name]) VALUES ('ve', 'venda');
INSERT INTO [country] ([id], [name]) VALUES ('vo', 'volapuk');
INSERT INTO [country] ([id], [name]) VALUES ('vai', 'wai');
INSERT INTO [country] ([id], [name]) VALUES ('wak', 'wakasz');
INSERT INTO [country] ([id], [name]) VALUES ('wal', 'walamo');
INSERT INTO [country] ([id], [name]) VALUES ('cy', 'walijski');
INSERT INTO [country] ([id], [name]) VALUES ('wa', 'waloński');
INSERT INTO [country] ([id], [name]) VALUES ('war', 'waraj');
INSERT INTO [country] ([id], [name]) VALUES ('was', 'washo');
INSERT INTO [country] ([id], [name]) VALUES ('hu', 'węgierski');
INSERT INTO [country] ([id], [name]) VALUES ('vi', 'wietnamski');
INSERT INTO [country] ([id], [name]) VALUES ('it', 'włoski');
INSERT INTO [country] ([id], [name]) VALUES ('wo', 'wolof');
INSERT INTO [country] ([id], [name]) VALUES ('vot', 'wotiacki');
INSERT INTO [country] ([id], [name]) VALUES ('de_CH', 'wysokoniemiecki (Szwajcaria)');
INSERT INTO [country] ([id], [name]) VALUES ('yao', 'yao');
INSERT INTO [country] ([id], [name]) VALUES ('zap', 'zapotecki');
INSERT INTO [country] ([id], [name]) VALUES ('zza', 'zazaki');
INSERT INTO [country] ([id], [name]) VALUES ('zen', 'zenaga');
INSERT INTO [country] ([id], [name]) VALUES ('zu', 'zulu');
INSERT INTO [country] ([id], [name]) VALUES ('zun', 'zuni');
INSERT INTO [country] ([id], [name]) VALUES ('chn', 'żargon Chinook');


text:
Jenkins Job Builder
===================

.. include:: ../../README.rst

Contents
========
.. toctree::
   :maxdepth: 3

   installation
   definition
   extending

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

redpajama_set_name: RedPajamaGithub


text:
package org.bidtime.utils.basic;

import java.text.ParseException;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

public class DateTimeComm {

	public static boolean isSameTime(Date date1, Date date2) {
		if (date1 == null) {
			return (date2 == null) ? true : false;
		} else {
			return (date2 == null) ? false : date1.getTime() == date2.getTime();
		}
	}

	public static Date objectToDate(Object o) {
		if (o != null) {
			if (o instanceof Date) {
				return ((Date) o);
			} else if (o instanceof String) {
				return yyyyMMddHHmmssToDate((String) o);
			} else {
				return null;
			}
		} else {
			return null;
		}
	}

	public static Date objectToDate(Object o, String sFmt) {
		if (o != null) {
			if (o instanceof Date) {
				return ((Date) o);
			} else if (o instanceof String) {
				return stringToDate((String) o, sFmt);
			} else {
				return null;
			}
		} else {
			return null;
		}
	}

	public static Date yymmddToDate(String sDate) {
		return stringToDate(sDate, "yyyy-MM-dd");
	}

	public static Date yymmddIntToDate(String sDate) {
		return stringToDate(sDate, "yyyyMMdd");
	}

	public static Date stringToDate(String sDate, String fmt) {
		java.text.DateFormat df2 = new java.text.SimpleDateFormat(fmt);
		try {
			Date date2 = df2.parse(sDate);
			return date2;
		} catch (ParseException e) {
			return null;
		}
	}

	public static String dateToyyyymmdd(Date date) {
		java.text.DateFormat df = new java.text.SimpleDateFormat("yyyy-MM-dd");
		return df.format(date);
	}

	public static String dateToyyyymmddInt(Date date) {
		java.text.DateFormat df = new java.text.SimpleDateFormat("yyyyMMdd");
		return df.format(date);
	}

	public static String dateToyyyyMMddHHmmss(Date date) {
		java.text.DateFormat df = new java.text.SimpleDateFormat(
				"yyyy-MM-dd HH:mm:ss");
		return df.format(date);
	}

	public static String dateToString(Date date, String fmt) {
		java.text.DateFormat df = new java.text.SimpleDateFormat(fmt);
		return df.format(date);
	}

	public static Date yyyyMMddHHmmssToDate(String sDate) {
		java.text.DateFormat df2 = new java.text.SimpleDateFormat(
				"yyyy-MM-dd HH:mm:ss");
		try {
			Date date2 = df2.parse(sDate);
			return date2;
		} catch (ParseException e) {
			return null;
		}
	}

	public static long getDateMS() {
		//处理时间,建议用Calendar
		Calendar c = Calendar.getInstance();
		//设置当前时刻的时钟为0
		c.set(Calendar.HOUR_OF_DAY, 0);
		//设置当前时刻的分钟为0
		c.set(Calendar.MINUTE, 0);
		//设置当前时刻的秒钟为0
		c.set(Calendar.SECOND, 0);
		//设置当前的毫秒钟为0
		c.set(Calendar.MILLISECOND, 0);
		//获取当前时刻的时间戳
		return c.getTimeInMillis();
	}

	@Deprecated
	public static Date getDate() {
		return getDay();
	}

	public static Date getDay() {
		return new Date(getDateMS());
	}

	public static Date getAddYear(Date d) {
		return getAddYear(d, 1);
	}

	public static Date getAddYear(Date d, int n) {
		Calendar c = new GregorianCalendar();
		c.setTime(d);
		c.add(Calendar.YEAR, n);
		return c.getTime();
	}

	public static Date getAddMonth(Date d) {
		return getAddMonth(d, 1);
	}

	public static Date getAddMonth(Date d, int n) {
		Calendar c = new GregorianCalendar();
		c.setTime(d);
		c.add(Calendar.MONTH, n);
		return c.getTime();
	}

	public static Date getAddDay(Date d) {
		return getAddDay(d, 1);
	}

	public static Date getAddDay(Date d, int n) {
		Calendar c = new GregorianCalendar();
		c.setTime(d);
		c.add(Calendar.DATE, n);
		return c.getTime();
	}

	public static Date getFirstDayOfMonth(Date date) {
		Calendar calendar = Calendar.getInstance();
		calendar.setTime(date);
		final int firstDay = 1;
		calendar.set(Calendar.DAY_OF_MONTH, firstDay);
		return calendar.getTime();
	}

	public static Date getLastDayOfMonth(Date date) {
		Calendar calendar = Calendar.getInstance();
		calendar.setTime(date);
		final int lastDay = calendar.getActualMaximum(Calendar.DAY_OF_MONTH);
		calendar.set(Calendar.DAY_OF_MONTH, lastDay);
		return calendar.getTime();
	}

	public static long getDiffDay(Date dateBegin, Date dateEnd) {
		return getDiffDay(dateEnd.getTime(), dateBegin.getTime());
	}

	public static long getDiffDay(long dateBegin, long dateEnd) {
		long lDiff = dateEnd - dateBegin;
		return lDiff / (1000 * 60 * 60 * 24);
	}

	public static String getFormatSpanTimeNow(long date) {
		long endTime = System.currentTimeMillis();
		return getFormatSpanTime(date, endTime);
	}

	public static String getFormatSpanTime(long startTime, long endTime) {
		Calendar c = Calendar.getInstance();
		c.setTimeInMillis(endTime - startTime);
		return "span: " + c.get(Calendar.MINUTE) + "m:"
				+ c.get(Calendar.SECOND) + "s:" + c.get(Calendar.MILLISECOND)
				+ "ms";
	}

//	public static void logFormatEndTime(long startTime, long endTime, final Logger logger) {
//		long spanSeconds = endTime - startTime;
//		if (logger.isDebugEnabled()) {
//			logger.debug(getFmtDiffMillseconds(spanSeconds));
//		}
//	}
//
//	public static String getFmtDiffMillseconds(long spanSeconds) {
//		Calendar c = Calendar.getInstance();
//		c.setTimeInMillis(spanSeconds);
//		return getFmtCalendar(c);
//	}
//
//	private static String getFmtCalendar(Calendar c) {
//		StringBuilder sb = new StringBuilder("\tspan:");
//		sb.append(c.get(Calendar.MINUTE));
//		sb.append("m:");
//		sb.append(c.get(Calendar.SECOND));
//		sb.append("s:");
//		sb.append(c.get(Calendar.MILLISECOND));
//		sb.append("ms");
//		sb.append(".");
//		return sb.toString();
//	}

	public static String getDirectoryOfDate(String type) {
		return type + dateToString(new Date(), "yyyy/MM/dd/");
	}

	public static String getDirectoryOfDate() {
	    return dateToString(new Date(), "yyyy/MM/dd/");
	}
}


text:
package org.apache.sis.internal.jaxb;

import java.util.ArrayList;
import java.util.Collection;
import java.lang.ref.Reference;
import java.lang.ref.WeakReference;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import org.apache.sis.internal.system.Modules;
import org.apache.sis.internal.system.SystemListener;
import org.apache.sis.internal.system.DefaultFactories;

/**
 * Declares the classes of objects to be marshalled using a default {@code MarshallerPool}.
 * This class is not strictly necessary for marshalling a SIS object using JAXB, but makes
 * the job easier by allowing {@code MarshallerPool} to configure the JAXB context automatically.
 * To allow such automatic configuration, modules must declare instances of this interface in the
 * following file:
 *
 * {@preformat text
 *     META-INF/services/org.org.apache.sis.internal.jaxb.TypeRegistration
 * }
 *
 * @author  Martin Desruisseaux (Geomatys)
 * @since   0.3
 * @version 0.8
 * @module
 *
 * @see org.apache.sis.xml.MarshallerPool
 */
public abstract class TypeRegistration {
    /**
     * The JAXB context, or {@code null} if not yet created or if the classpath changed.
     */
    private static Reference<JAXBContext> context;
    static {
        SystemListener.add(new SystemListener(Modules.UTILITIES) {
            @Override protected void classpathChanged() {
                synchronized (TypeRegistration.class) {
                    context = null;
                }
            }
        });
    }

    /**
     * For subclasses constructors.
     */
    protected TypeRegistration() {
    }

    /**
     * Adds to the given collection every types that should be given to
     * the initial JAXB context.
     *
     * @param addTo The collection in which to add new types.
     */
    public abstract void getTypes(final Collection<Class<?>> addTo);

    /**
     * Returns the root classes of SIS objects to be marshalled by default.
     * Those classes can be given as the last argument to the {@code MarshallerPool}
     * constructors, in order to bound a default set of classes with {@code JAXBContext}.
     *
     *
The list of classes is determined dynamically from the SIS modules found on
     * the classpath.

     *
     * @return The default set of classes to be bound to the {@code JAXBContext}.
     */
    private static Class<?>[] defaultClassesToBeBound() {
        /*
         * Implementation note: do not keep the ServiceLoader in static field because:
         *
         * 1) It would cache the TypeRegistration instances, which are not needed after this method call.
         * 2) The ClassLoader between different invocations may be different in an OSGi context.
         */
        final ArrayList<Class<?>> types = new ArrayList<>();
        for (final TypeRegistration t : DefaultFactories.createServiceLoader(TypeRegistration.class)) {
            t.getTypes(types);
        }
        return types.toArray(new Class<?>[types.size()]);
    }

    /**
     * Returns the shared {@code JAXBContext} for the set of {@link #defaultClassesToBeBound()}.
     * Note that the {@code JAXBContext} class is thread safe, but the {@code Marshaller},
     * {@code Unmarshaller}, and {@code Validator} classes are not thread safe.
     *
     * @return The shared JAXB context.
     * @throws JAXBException If an error occurred while creating the JAXB context.
     */
    public static synchronized JAXBContext getSharedContext() throws JAXBException {
        final Reference<JAXBContext> c = context;
        if (c != null) {
            final JAXBContext instance = c.get();
            if (instance != null) {
                return instance;
            }
        }
        final JAXBContext instance = JAXBContext.newInstance(defaultClassesToBeBound());
        context = new WeakReference<>(instance);
        return instance;
    }
}


text:
'use strict';

//Import dependency
var mongoose = require('mongoose');

var TopicSchema = new mongoose.Schema({
  organization: String,
  organizationEmail: String,
  situation: String,
  userName: String,
  userEmail: String,
  imgUrl: {type: String, default: 'http://www.ucarecdn.com/85d7241a-2aba-4c2b-940f-ac13b2949294/angrytextemoticonlargec42270.png'},
  url: {type: String, default: ''},
  status: { type: String, default: 'init'},
  date: { type: Date, default: Date.now }
});

//Export our module to use in server.js
module.exports = mongoose.model('Topic', TopicSchema);


text:
layout: default
lang: en
ref: facebook_policy
permalink: /en/facebook_policy.html
---

1. What personal information do we collect from the people that visit my blog?

When posting comments on my site, you may be asked to login to your facebook account.

2. When do we collect information?

We do not collect information from you, all information send to facebook when you login to my site comments section.

3. How do we use your information?

We do not collect and do not use the information you enter at facebook comments.

4. How do we protect visitor information?

We do not use vulnerability scanning and/or scanning to PCI standards.

We only provide articles and information.

We never ask for personal or private information like email addresses or credit card numbers.

We use regular Malware Scanning.

Your personal information is contained on facebook side only.

5. Do we use 'cookies'?

Yes. Cookies are small files that a site or its service provider transfers to your computer's hard drive through your Web browser (if you allow) that enables the site's or service provider's systems to recognize your browser and capture and remember certain information. For instance, we use cookies to help us remember and process the items in your shopping cart. They are also used to help us understand your preferences based on previous or current site activity, which enables us to provide you with improved services. We also use cookies to help us compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future.

6. We use cookies to:

Understand and save user's preferences for future visits.

You can choose to have your computer warn you each time a cookie is being sent, or you can choose to turn off all cookies. You do this through your browser (like Internet Explorer) settings. Each browser is a little different, so look at your browser's Help menu to learn the correct way to modify your cookies.

If you disable cookies off, some features will be disabled It won't affect the user's experience that make your site experience more efficient and some of our services will not function properly.

7. Third-party disclosure

We do not sell, trade, or otherwise transfer to outside parties your personally identifiable information unless we provide users with advance notice. This does not include website hosting partners and other parties who assist us in operating our website, conducting our business, or serving our users, so long as those parties agree to keep this information confidential. We may also release information when it's release is appropriate to comply with the law, enforce our site policies, or protect ours or others' rights, property, or safety.

However, non-personally identifiable visitor information may be provided to other parties for marketing, advertising, or other uses.

8. Third-party links

Occasionally, at our discretion, we may include or offer third-party products or services on our website. These third-party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites.

Once this privacy policy is created, we will add a link to it on our home page or as a minimum on the first significant page after entering our website.

Our Privacy Policy link includes the word 'Privacy' and can be easily be found on the page specified above.

Users will be notified of any privacy policy changes:

On our Privacy Policy Page

Users are able to change their personal information:

By chatting with us or sending us a ticket

9. How does our site handle do not track signals?

We honor do not track signals and do not track, plant cookies, or use advertising when a Do Not Track (DNT) browser mechanism is in place.

10. Does our site allow third-party behavioral tracking?

It's also important to note that we allow third-party behavioral tracking.

11. COPPA (Children Online Privacy Protection Act)

When it comes to the collection of personal information from children under 13, the Children's Online Privacy Protection Act (COPPA) puts parents in control. The Federal Trade Commission, the nation's consumer protection agency, enforces the COPPA Rule, which spells out what operators of websites and online services must do to protect children's privacy and safety online.

We do not specifically market to children under 13.

12. Fair Information Practices

The Fair Information Practices Principles form the backbone of privacy law in the United States and the concepts they include have played a significant role in the development of data protection laws around the globe. Understanding the Fair Information Practice Principles and how they should be implemented is critical to comply with the various privacy laws that protect personal information.

In order to be in line with Fair Information Practices we will take the following responsive action, should a data breach occur:

We will notify the users via email within 7 business days.

We also agree to the Individual Redress Principle, which requires that individuals have a right to pursue legally enforceable rights against data collectors and processors who fail to adhere to the law. This principle requires not only that individuals have enforceable rights against data users, but also that individuals have recourse to courts or government agencies to investigate and/or prosecute non-compliance by data processors.

13. CAN SPAM Act

The CAN-SPAM Act is a law that sets the rules for commercial email, establishes requirements for commercial messages, gives recipients the right to have emails stopped from being sent to them, and spells out tough penalties for violations.

We collect your email address in order to:

To be in accordance with CANSPAM we agree to the following:

If at any time you would like to unsubscribe from receiving future emails, you can email us at and we will promptly remove you from ALL correspondence.

14. Contacting Us

If there are any questions regarding this privacy policy you may contact us using the information below.

masterAndrey.com

Saint-Petersburg, Russia

filbert@ya.kz


text:
<?php

# Author: Vincent JAULIN
# Copyright: Keyphrene.com 2008 @ all rights reserved

# Tests on:
# PHP 5 mode CGI
# PHP5 mode mod_php

# INSTALL
# 1 - Create a folder
# 2 - Extract and Copy package on your site with a client FTP
# 3 - Configure webdav.php (change this script name for security reason)
# 4 - Create .htaccess in your webdav folder (only PHP-CGI)
# <IfModule mod_rewrite.c>
#	RewriteEngine on
#	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
# </IfModule>
# 5 - Test with a Webdav Client (Naja for example ;-))
define('_JEXEC', 1 );

require_once(dirname(__FILE__)."/webdav_authenticate.php");
include_once(dirname(__FILE__)."/config/conf.php");

if( empty($GLOBALS['allow_webdav'] ) || isset( $_REQUEST['allow_webdav'] ) ) {
	header('HTTP/1.0 403 Forbidden');
	die('403 Forbidden');
}

include_once(dirname(__FILE__)."/include/users.php");
include_once(dirname(__FILE__)."/include/functions.php");
define('_EXT_PATH', dirname(__FILE__));

ini_set("default_charset", "UTF-8");
ini_set("display_errors", 0 );

# Activate if your PHP is CGI mode
$phpcgi = substr(PHP_SAPI, 0, 3) == 'cgi';
$realm = 'Restricted Area: eXtplorer WebDAV';

load_users();

foreach( $GLOBALS["users"] as $user ) {
	$users[$user[0]] = $user[1];
}

// Authenticate the user or ask to login. We have to use basic authorization, because the passwords are stored in an encrypted format
AuthenticationBasicHTTP($realm, $users, $phpcgi);

require_once( dirname(__FILE__). "/libraries/HTTP/WebDAV/Server/Filesystem.php");
$server = new HTTP_WebDAV_Server_Filesystem();
$server->db_host = $GLOBALS['DB_HOST'];
$server->db_name = $GLOBALS['DB_NAME'];
$server->db_user = $GLOBALS['DB_USER'];
$server->db_passwd = $GLOBALS['DB_PASSWORD'];
$server->db_type = $GLOBALS['DB_TYPE'];

# Real path of your site
$server->ServeRequest($GLOBALS["home_dir"]);

?>


text:
define(
	[
		'canjs',
		'underscore',
		'app/products/product',
		'app/products/productsModel',
		'core/appState',
		'css!app/products/css/products'
	],

	function (can, _, Product, ProductsModel, appState) {

		var ViewModel = can.Map.extend({
			define: {
				products: {
					value: new ProductsModel.List({})
				},
				viewState: {
					value: 'list',
					serialize: false
				}
			},
			reOrderProducts: function () {
				var products = this.attr('products'),
					orderedProducts = _.sortBy(products, function (product) {
						return +product.position;
					});
				products.replace(orderedProducts);
			},
			toList: function () {
				can.route.attr({
					module: 'products'
				}, true);
				this.attr('viewState', 'list');
			},
			toEntity: function (product_id) {
				can.route.attr({
					entity_id: product_id,
					action: 'set',
					module: 'products'
				}, true);
			}
		});

		return can.Control.extend({
			defaults: {
				viewpath: 'app/products/views/',
				ProductsModel: ProductsModel
			}
		}, {
			init: function () {
				var self = this,
					route = can.route.attr();

				self.viewModel = new ViewModel;

				if (route.entity_id && route.action) {
					self.viewModel.attr('viewState', 'edit');
				}

				self.element.html(can.view(self.options.viewpath + 'index.stache', this.viewModel, {
                    langs: langs,
					getBg: function (img, options) {
						img = img();
						var bg = img && img.attr('bottle')
							? 'background-image: url("/uploads/' + img.attr('bottle') + '");'
							: '';
						return bg;
					}
				}));

				var products = self.viewModel.attr('products');

				can.when(products).then(function () {
					if (route.entity_id && route.action) {
						self.setProduct(route.entity_id, route.action);
					}
				});

			},

			/*
			 * Routes
			 */

			':module route': function (data) {
				var viewModel = this.viewModel;
				if (data.module === 'products' && viewModel.attr('viewState') !== 'list') {
					viewModel.toList();
				}
			},

			':module/:action/:entity_id route': function (data) {
				if (data.module === 'products') {
					this.setProduct(data.entity_id, data.action);
				}
			},

			/*
			 * Set product functions
			 */

			'.addProduct click': function (el) {
				this.viewModel.toEntity('0');
			},

			'.editProduct click': function (el) {
				var product = el.parents('.product').data('product');
				this.viewModel.toEntity(product.attr('_id'));
			},

			setProduct: function (id) {
				this.viewModel.attr({
					'id': Date.now(),
					'viewState': 'edit'
				})

				var formWrap = this.element.find('.setProductWrap'),
					product = _.find(this.viewModel.products, function (product) {
						return product.attr('_id') === id;
					});

				new Product(formWrap, {
					product: product ? product : new ProductsModel()
				});
			},

			'.removeProduct click': function (el) {
				var product = el.parents('.product').data('product');

				if (confirm('Вы действительно хотите удалить продукт: "' + product.attr('name') + '"?')) {
					product.destroy().always(function (product, status, def) {
						console.log(arguments);
						console.log(product.attr());
						console.log(status);
						console.log(def);

						appState.attr('notification', {
							status: status,
							msg: product.name + '. '+ def.responseJSON.message
						})
					});
				}
			},

			'{ProductsModel} updated': function () {
				this.viewModel.reOrderProducts();
			},

			'{ProductsModel} created': function (Model, ev, product) {
				var self = this
					products = self.viewModel.attr('products');
				products.push(product);
				this.viewModel.reOrderProducts();
			}

		});

	}
);


text:
"""Core async task wrapper.  This module contains the `Async` class, which is
used to create asynchronous jobs, and a `defaults` decorator you may use to
specify default settings for a particular async task.  To use,

    # Create a task.
    work = Async(
        target="function.to.run",
        args=(args, for, function),
        kwargs={'keyword': arguments, 'to': target},
        task_args={"appengine": 1, "task": "kwargs"},
        queue="yourqueue"
    )

    # Enqueue the task.
    work.start()

*or*, set default arguments for a function:

    @defaults(task_args={"appengine": 1, "task": "kwargs"}, queue="yourqueue")
    def run_me(*args, **kwargs):
        pass

    # Create a task.
    work = Async(
        target=run_me,
        args=(args, for, function),
        kwargs={'keyword': arguments, 'to': target},
    )

    # Enqueue the task.
    work.start()

You may also update options after instantiation:

    # Create a task.
    work = Async(
        target="function.to.run",
        args=(args, for, function),
        kwargs={'keyword': arguments, 'to': target}
    )

    work.update_options(task_args={"appengine":1, "task": "kwargs"},
                        queue="yourqueue")

    # Enqueue the task.
    work.start()

The order of precedence is:
    1) options specified when calling start.
    2) options specified using update_options.
    3) options specified in the constructor.
    4) options specified by @defaults decorator.
"""

from functools import wraps

import json

from .job_utils import get_function_path_and_options

__all__ = ['ASYNC_DEFAULT_QUEUE', 'ASYNC_ENDPOINT', 'Async', 'defaults']

ASYNC_DEFAULT_QUEUE = 'default'
ASYNC_ENDPOINT = '/_ah/queue/async'

class NotExecutedError(Exception):
    """This Async has not yet been executed."""

class NotExecutingError(Exception):
    """This Async in not currently executing."""

class AlreadyExecutedError(Exception):
    """This Async has already been executed."""

class AlreadyExecutingError(Exception):
    """This Async is currently executing."""

class Async(object):
    def __init__(self, target, args=None, kwargs=None, **options):
        self._options = {}

        # Make sure nothing is snuck in.
        _check_options(options)

        self._update_job(target, args, kwargs)

        self.update_options(**options)

        self._execution_context = None

        self._executing = False
        self._executed = False

        self._result = None

    @property
    def executed(self):
        return self._executed

    @property
    def executing(self):
        return self._executing

    @executing.setter
    def executing(self, executing):
        if self._executed:
            raise AlreadyExecutedError(
                'You can not execute and executed job.')

        if self._executing:
            raise AlreadyExecutingError(
                'Job is already executing, can not set executing.')

        self._executing = executing

    @property
    def result(self):
        if not self.executed:
            raise NotExecutedError(
                'You must execute this Async before getting its result.')

        return self._result

    @result.setter
    def result(self, result):
        if not self._executing:
            raise NotExecutingError(
                'The Async must be executing to set its result.')

        self._result = result
        self._executing = False
        self._executed = True

    @property
    def _function_path(self):
        return self._options['job'][0]

    def _update_job(self, target, args, kwargs):
        """Specify the function this async job is to execute when run."""
        target_path, options = get_function_path_and_options(target)

        assert isinstance(args, (tuple, list)) or args is None
        assert isinstance(kwargs, dict) or kwargs is None

        if options:
            self.update_options(**options)

        self._options['job'] = (target_path, args, kwargs)

    def set_execution_context(self, execution_context):
        """Set the ExecutionContext this async is executing under."""
        if self._execution_context:
            from .context import AlreadyInContextError
            raise AlreadyInContextError

        self._execution_context = execution_context

    def get_options(self):
        """Return this async job's configuration options."""
        return self._options

    def update_options(self, **options):
        """Safely update this async job's configuration options."""

        _check_options(options)

        self._options.update(options)

    def get_callbacks(self):
        """Return this async job's callback map."""
        return self._options.get('callbacks', {})

    def get_headers(self):
        """Create and return task headers."""
        # TODO: Encode some options into a header here.
        return self._options.get('headers', {})

    def get_queue(self):
        """Return the queue the task should run in."""
        return self._options.get('queue', ASYNC_DEFAULT_QUEUE)

    def get_task_args(self):
        """Get user-specified task kwargs."""
        return self._options.get('task_args', {})

    def to_task(self):
        """Return a task object representing this async job."""
        from google.appengine.api.taskqueue import Task

        url = "%s/%s" % (ASYNC_ENDPOINT, self._function_path)

        kwargs = {
            'url': url,
            'headers': self.get_headers().copy(),
            'payload': json.dumps(self.to_dict()),
        }
        kwargs.update(self.get_task_args())

        return Task(**kwargs)

    def start(self):
        """Insert the task into the requested queue, 'default' if non given."""
        from google.appengine.api.taskqueue import Queue

        task = self.to_task()
        Queue(name=self.get_queue()).add(task)
        # TODO: Return a "result" object.

    def to_dict(self):
        """Return this async job as a dict suitable for json encoding."""
        import copy

        options = copy.deepcopy(self._options)

        # JSON don't like datetimes.
        eta = options.get('task_args', {}).get('eta')
        if eta:
            import time

            options['task_args']['eta'] = time.mktime(eta.timetuple())

        callbacks = self._options.get('callbacks')
        if callbacks:
            options['callbacks'] = _encode_callbacks(callbacks)

        return options

    @classmethod
    def from_dict(cls, async):
        """Return an async job from a dict output by Async.to_dict."""

        async_options = async.copy()

        # JSON don't like datetimes.
        eta = async_options.get('task_args', {}).get('eta')
        if eta:
            from datetime import datetime

            async_options['task_args']['eta'] = datetime.fromtimestamp(eta)

        target, args, kwargs = async_options.pop('job')

        # If there are callbacks, reconstitute them.
        callbacks = async_options.get('callbacks', {})
        if callbacks:
            async_options['callbacks'] = _decode_callbacks(callbacks)

        return Async(target, args, kwargs, **async_options)

def defaults(**options):
    """Set default Async options on the function decorated.

    Note: you must pass the decorated function by reference, not as a
    "path.string.to.function" for this to have any effect.
    """
    _check_options(options)

    def real_decorator(function):
        function._async_options = options

        @wraps(function)
        def wrapper(*args, **kwargs):
            return function(*args, **kwargs)
        return wrapper

    return real_decorator

def _check_options(options):
    """Make sure no one passes something not allowed in."""
    if not options:
        return

    assert 'job' not in options
    #assert 'callbacks' not in options

def _encode_callbacks(callbacks):
    """Encode callbacks to as a dict suitable for JSON encoding."""
    if not callbacks:
        return

    encoded_callbacks = {}
    for event, callback in callbacks.iteritems():
        if callable(callback):
            callback, _ = get_function_path_and_options(callback)

        elif isinstance(callback, Async):
            callback = callback.to_dict()

        encoded_callbacks[event] = callback

    return encoded_callbacks

def _decode_callbacks(encoded_callbacks):
    """Decode the callbacks to an executable form."""
    from furious.job_utils import function_path_to_reference

    callbacks = {}
    for event, callback in encoded_callbacks.iteritems():
        if isinstance(callback, dict):
            callback = Async.from_dict(callback)
        else:
            callback = function_path_to_reference(callback)

        callbacks[event] = callback

    return callbacks


text:
@extends('core.partials.layouts.master')

@section('title', 'Account settings')

@section('content')

                    General Settings

        @include('core.user.partials.settings.sidebar')

            @if (count($errors) > 0)

                    Whoops! There were some problems with your input.

                        @foreach ($errors->all() as $error)

{{ $error }}

                        @endforeach

            @endif

            {!! Form::open(['route' => 'account.post.update.settings', 'class' => 'form-horizontal']) !!}

                Username:
                <input class="form-control" type="text" name="name" value="{{{ Auth::user()->name }}}" />
                * Changing your username will not affect any of your data.

            @if (Auth::user()->isConfirmed())

                    Email:
                    <input class="form-control" type="text" name="email" value="{{{ Auth::user()->email }}}" />
                    * Need to use a different email address? No problem!

            @else

                    Before changing your email, you must confirm your account.

            @endif

                Password:
                <input class="form-control" name="password" type="password" value="" id="password">
                * Enter your password in this box and re-enter it in the second.

                Confirm your password:
                <input class="form-control" name="password_confirmation" type="password" value="" id="password_confirmation">

                {!! Form::submit('Save changes', ['class' => 'btn btn-primary']) !!}

            {!! Form::close() !!}

@stop


text:
/*
 * Minio Cloud Storage, (C) 2016 Minio, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package cmd

import (
	"io"
	"time"

	"github.com/minio/minio-go/pkg/policy"
	"github.com/minio/minio/pkg/hash"
	"github.com/minio/minio/pkg/madmin"
)

// ObjectLayer implements primitives for object API layer.
type ObjectLayer interface {
	// Storage operations.
	Shutdown() error
	StorageInfo() StorageInfo

	// Bucket operations.
	MakeBucketWithLocation(bucket string, location string) error
	GetBucketInfo(bucket string) (bucketInfo BucketInfo, err error)
	ListBuckets() (buckets []BucketInfo, err error)
	DeleteBucket(bucket string) error
	ListObjects(bucket, prefix, marker, delimiter string, maxKeys int) (result ListObjectsInfo, err error)
	ListObjectsV2(bucket, prefix, continuationToken, delimiter string, maxKeys int, fetchOwner bool, startAfter string) (result ListObjectsV2Info, err error)

	// Object operations.
	GetObject(bucket, object string, startOffset int64, length int64, writer io.Writer, etag string) (err error)
	GetObjectInfo(bucket, object string) (objInfo ObjectInfo, err error)
	PutObject(bucket, object string, data *hash.Reader, metadata map[string]string) (objInfo ObjectInfo, err error)
	CopyObject(srcBucket, srcObject, destBucket, destObject string, srcInfo ObjectInfo) (objInfo ObjectInfo, err error)
	DeleteObject(bucket, object string) error

	// Multipart operations.
	ListMultipartUploads(bucket, prefix, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (result ListMultipartsInfo, err error)
	NewMultipartUpload(bucket, object string, metadata map[string]string) (uploadID string, err error)
	CopyObjectPart(srcBucket, srcObject, destBucket, destObject string, uploadID string, partID int,
		startOffset int64, length int64, srcInfo ObjectInfo) (info PartInfo, err error)
	PutObjectPart(bucket, object, uploadID string, partID int, data *hash.Reader) (info PartInfo, err error)
	ListObjectParts(bucket, object, uploadID string, partNumberMarker int, maxParts int) (result ListPartsInfo, err error)
	AbortMultipartUpload(bucket, object, uploadID string) error
	CompleteMultipartUpload(bucket, object, uploadID string, uploadedParts []CompletePart) (objInfo ObjectInfo, err error)

	// Healing operations.
	HealFormat(dryRun bool) (madmin.HealResultItem, error)
	HealBucket(bucket string, dryRun bool) ([]madmin.HealResultItem, error)
	HealObject(bucket, object string, dryRun bool) (madmin.HealResultItem, error)
	ListBucketsHeal() (buckets []BucketInfo, err error)
	ListObjectsHeal(bucket, prefix, marker, delimiter string, maxKeys int) (ListObjectsInfo, error)

	// Locking operations
	ListLocks(bucket, prefix string, duration time.Duration) ([]VolumeLockInfo, error)
	ClearLocks([]VolumeLockInfo) error

	// Policy operations
	SetBucketPolicy(string, policy.BucketAccessPolicy) error
	GetBucketPolicy(string) (policy.BucketAccessPolicy, error)
	RefreshBucketPolicy(string) error
	DeleteBucketPolicy(string) error

	// Supported operations check
	IsNotificationSupported() bool
	IsEncryptionSupported() bool
}


text:
import { Model } from '../model/model.service';

export class Translation extends Model {
	resource!: string;
	resource_id!: number;
	lang!: string;
	content!: string;
}

Model.create(Translation);


text:
namespace WiRK.Terminator
{
	public interface IEdge
	{
	}
}


text:
package ice.http.server.parser;

import com.google.common.collect.Maps;
import ice.http.server.utils.ClassPathScanner;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

import java.util.Map;
import java.util.Set;

public class ContentParser implements InitializingBean, ApplicationContextAware {
	private ApplicationContext applicationContext;
	private final Parser dummyParser = new DummyParser();
	private final Map<String, Class<? extends Parser>> parsers = Maps.newHashMap();

	public Parser getParser(String contentType) {
		Class<? extends Parser> clazz = parsers.get(contentType);

		if (clazz == null) {
			return dummyParser;
		}

		Parser parser;

		try {
			parser = clazz.newInstance();
		} catch (Exception e) {
			return dummyParser;
		}

		if (parser instanceof ApplicationContextAware) {
			((ApplicationContextAware) parser).setApplicationContext(applicationContext);
		}

		if (parser instanceof InitializingBean) {
			try {
				((InitializingBean) parser).afterPropertiesSet();
			} catch (Exception ignored) {
			}
		}

		return parser;
	}

	@Override
	public void afterPropertiesSet() throws Exception {
		Set<Class<? extends Parser>> parserClasses = ClassPathScanner.scan(Parser.class.getPackage().getName(), new ClassPathScanner.AnnotationFilter(ContentType.class));

		for (Class<? extends Parser> parserClass : parserClasses) {
			if (!Parser.class.isAssignableFrom(parserClass)) {
				continue;
			}

			ContentType contentType = parserClass.getAnnotation(ContentType.class);

			for (String type : contentType.value()) {
				parsers.put(type, parserClass);
			}
		}
	}

	@Override
	public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
		this.applicationContext = applicationContext;
	}
}