I Ty możesz wspomóc rozwój serwisu dzięki dobrowolnej dotacji za pośrednictwem PayPal!
Kliknij w poniższą grafikę, aby pomóc. Dziękuję!
Informacja zostanie zamknięta za sekund(y).
Wyrażenia regularne wpisuje się w formie separator{wyrażenie}separator, np. /^([a-z]*)$/i lub @^(?:http://)?([^/]+)@i. Stosować można wszelkie formy zgodne z funkcjami sprawdzającymi poprawność wyrażeń regularnych w PHP (przykład).
Dzieje się tak dlatego, że wpisywanie wzorca z uwzględnieniem separatorów pozwala na dodanie modyfikatorów do niego. W wypadku ich braku skrypt domyślnie doda / na początku wyrażenia i / na jego końcu.
Generalnie to użytkownik wyznacza jaką treść i pod jakim kątem chce testować. Musi on jednak posiadać pełne prawa do publikacji testowanej treści, gdyż będzie ona dostępna dla innych internautów. Należy także unikać wpisywania zwrotów obscenicznych, wulgarnych, czy wskazujących zasoby niezgodne z polskim prawem. Użytkownik ponosi pełną odpowiedzialność za treści publikowane przez niego w serwisie. Na uzasadnioną prośbę osób trzecich poszczególne wpisy mogą zostać usunięte z serwisu.
Wyrażeniami regularnymi nazywami wzorce opisujące ciąg znaków.
W sieci znajduje się całe morze przykładowych wyrażeń. Warto zainteresować się przykładowo:
Zauważone błędy proszę zgłaszać w komentarzach pod tym artykułem.
Tak. Przy każdym sprawdzonym wzorcu, w kolumnie identyfikatora, znajduje się odnośnik do strony testowanego wyrażenia. Wystarczy skopiować odnośnik i podzielić się nim ze znajomymi.
Osoby chętne do pomocy mogą jej udzielić w następujący sposób:
Zmień język na polski.
Zmień język na angielski.
Pokaż/ukryj listę ostatnich testów.
Pokaż listę tylko moich testów.
Pokaż listę wszystkich testów.
Wyświetl zawartość kanału RSS.
Pokaż pomoc.
ID | Wyrażenie regularne | Ciąg znaków | Wynik | Zwracane ciągi znaków | Link |
---|---|---|---|---|---|
78416 | ^([^Nn]\S)|([Nn][^Ll])|\S{2}$ | fałsz | Link | ||
78415 | ^([^Nn]\S)|([Nn][^Ll])|\S{2}$ | NL | prawda |
|
Link |
78414 | [A-Z0-9]{8} | /* Generated by F12 developer tools. This might not be an accurate representation of the original source file */ html { min-height: 100%; } body { background: rgb(177, 177, 177); font: 62.5%/1.3 georgia, serif; height: 100%; font-size-adjust: none; font-stretch: normal; } h1 { color: rgb(182, 0, 9); line-height: 1.3; font-size: 2em; font-weight: bold; margin-bottom: 0.5em; } h2 { line-height: 1.3; font-size: 2em; font-weight: bold; margin-bottom: 0.5em; } h3 { line-height: 1.3; font-size: 1.8em; font-weight: bold; margin-bottom: 0.5em; } p { text-align: justify; line-height: 1.6; padding-bottom: 0.5em; font-size: 1.4em; } a { } header { text-align: center; } footer { text-align: center; } div.wrapper { margin: 0px auto; width: 920px; text-align: left; } header { background: url("/logo") no-repeat 50% 0px rgb(25, 25, 25); margin: 0.75em auto 2em; border-radius: 10px; height: 32em; box-shadow: 0px 0px 10px rgba(0,0,0,0.4); -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); } header h1 { margin: 0px; line-height: 1; font-size: 1em; } header h1 a { width: 100%; height: 32em; text-indent: -9999em; display: block; } .navigation { text-align: right; font-family: "Lucida Grande", Lucida, calibri, sans-serif; } .navigation ul li { margin: 1.5em 0.7em 0em 0px; color: rgb(255, 255, 255); padding-right: 0.7em; font-family: helvetica, sans-serif; font-size: 1.2em; border-right-color: currentColor; border-right-width: 1px; border-right-style: solid; display: inline-block; zoom: 1; } .navigation ul li:last-child { border: 0px currentColor; } .navigation ul li a { color: rgb(255, 255, 255); text-transform: uppercase; text-decoration: none; } .navigation ul li a:hover { text-decoration: underline; } .navigation ul li a:focus { text-decoration: underline; } .navigation ul li a:active { text-decoration: underline; } div.block { background: rgb(255, 255, 255); padding: 2em; border-radius: 10px; text-align: left; overflow: hidden; margin-bottom: 3em; box-shadow: 0px 0px 5px rgba(0,0,0,0.3); -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); } footer { color: rgb(255, 255, 255); margin-top: 5em; } footer p { text-align: center; } footer a { color: rgb(255, 255, 255); text-decoration: none; } form.general { overflow: hidden; } form.general ol { padding: 0.5em 0px; } form.general ol li { line-height: 2em; margin-bottom: 0.5em; } form.general ol li label { width: 10em; line-height: 2.2em; font-size: 1.3em; float: left; display: block; } form.general ol li input { padding: 5px; border-radius: 5px; border: 1px solid rgb(153, 153, 153); width: 13em; font-size: 1.3em; -moz-border-radius: 5px; -webkit-border-radius: 5px; } form.general ol li input:focus { box-shadow: 0px 0px 4px rgba(255,0,0,0.5); -moz-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); -webkit-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); } form.general ol li input:active { box-shadow: 0px 0px 4px rgba(255,0,0,0.5); -moz-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); -webkit-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); } form.general ol li textarea:focus { box-shadow: 0px 0px 4px rgba(255,0,0,0.5); -moz-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); -webkit-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); } form.general ol li textarea:active { box-shadow: 0px 0px 4px rgba(255,0,0,0.5); -moz-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); -webkit-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); } form.general div.submit { text-align: right; clear: both; } form.general div.submit button { padding: 4px; font-size: 1.2em; } form.code.general { margin: 0px auto; width: 36em; } form.code.general ol { float: left; } form.code.general ol li label { width: 5em; font-weight: bold; } form.code.general div.submit { padding: 5px 0px 5px 10px; clear: none; float: left; } form.code.general div.submit button { background: rgb(38, 191, 36); padding: 6px 10px; border-radius: 5px; border: 1px solid rgb(27, 127, 24); color: rgb(255, 255, 255); box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 4px rgba(0,255,0,0.4); -moz-border-radius: 5px; -webkit-border-radius: 5px; -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 255, 0, 0.4); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 255, 0, 0.4); } form.code.general div.submit button:focus { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(0,255,0,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); } form.code.general div.submit button:hover { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(0,255,0,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); } form.code.general div.submit button:active { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(0,255,0,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); } form.email.general ol { float: left; } form.email.general div.submit { padding: 5px 0px 5px 10px; clear: none; float: left; } div.errors { background: rgba(255, 0, 0, 0.3); padding: 1em; border-radius: 5px; border: 1px solid rgba(255, 0, 0, 0.8); margin-bottom: 1em; -moz-border-radius: 5px; -webkit-border-radius: 5px; } div.errors p { padding: 0px; color: rgb(100, 0, 0); } table.leaderboard { margin: 0px auto; width: 100%; border-collapse: separate; } table.leaderboard td { background: rgb(245, 245, 245); padding: 5px; font-size: 1.4em; } table.leaderboard th { background: rgb(245, 245, 245); padding: 5px; font-size: 1.4em; } div.secondary table.leaderboard td { font-size: 1.2em; } div.secondary table.leaderboard th { font-size: 1.2em; } table.leaderboard tr:nth-child(2n) td { background: rgb(233, 233, 233); } table.leaderboard thead tr th { background: rgb(193, 36, 39); color: rgb(255, 255, 255); } table.leaderboard thead tr th { border-right-color: rgba(255, 255, 255, 0.1); border-left-color: rgba(0, 0, 0, 0.1); border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; } table.leaderboard tbody tr td { border-right-color: currentColor; border-left-color: rgb(220, 220, 220); border-right-width: 0px; border-left-width: 1px; border-right-style: none; border-left-style: solid; } table.leaderboard thead tr th.position { border-radius: 5px 0px 0px; border-left-color: currentColor; border-left-width: 0px; border-left-style: none; -webkit-border-radius: 5px 0 0px 0px; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 0; } table.leaderboard thead tr th.time-taken { border-radius: 0px 5px 0px 0px; border-right-color: currentColor; border-right-width: 0px; border-right-style: none; -webkit-border-radius: 0 5px 0px 0px; -moz-border-radius-topleft: 0; -moz-border-radius-topright: 5px; } table.leaderboard tbody tr td.position { border-left-color: currentColor; border-left-width: 0px; border-left-style: none; } table.leaderboard thead tr th.code { border-left-color: rgba(0, 0, 0, 0.1); border-left-width: 1px; border-left-style: solid; } table.leaderboard tbody tr td.code { border-left-color: rgba(0, 0, 0, 0.1); border-left-width: 1px; border-left-style: solid; } table.leaderboard tbody tr td { border-top-color: rgb(220, 220, 220); border-top-width: 1px; border-top-style: solid; } table.leaderboard tr.user { font-weight: bold; } table.leaderboard tr.user td { background-color: rgb(255, 221, 221); } table.leaderboard tr td.many { padding: 4px 4px 4px 6px; text-align: left; color: rgb(153, 153, 153); border-left-color: currentColor; border-left-width: 0px; border-left-style: none; } div.secondary div.table-foot { background: rgb(245, 245, 245); width: 100%; height: 100px; border-top-color: rgba(0, 0, 0, 0.1); border-top-width: 1px; border-top-style: solid; } div.secondary div.size-10.table-foot { height: 0px; } div.secondary div.size-9.table-foot { height: 27px; } div.secondary div.size-8.table-foot { height: 54px; } div.secondary div.size-7.table-foot { height: 81px; } div.secondary div.size-6.table-foot { height: 108px; } div.secondary div.size-5.table-foot { height: 135px; } div.secondary div.size-4.table-foot { height: 162px; } div.secondary div.size-3.table-foot { height: 189px; } div.secondary div.size-2.table-foot { height: 216px; } div.secondary div.size-1.table-foot { height: 243px; } iframe { border: 0px currentColor; } p.sign-in.twitter { margin: 50px 0px 100px; text-align: center; line-height: 30px; } p.sign-in.twitter a { background: rgb(107, 203, 234); padding: 10px 15px; border-radius: 20px; border: 1px solid rgb(77, 147, 168); color: rgb(255, 255, 255); font-family: sans-serif; text-decoration: none; display: inline-block; box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 4px rgba(0,0,255,0.4); -moz-border-radius: 20px; -webkit-border-radius: 20px; text-shadow: 1px 1px 0 rgba(0, 0, 105, 0.3); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 0, 255, 0.4); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 0, 255, 0.4); } p.sign-in.twitter a:hover { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(50,171,201,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(50, 171, 201, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(50, 171, 201, 0.7); } p.sign-in.twitter a:focus { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(50,171,201,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(50, 171, 201, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(50, 171, 201, 0.7); } p.sign-in.twitter a:active { background: rgb(100, 191, 219); } p.sign-in.twitter span.sign { background: url("/static/images/twitter-t.png") no-repeat 0px 50%; line-height: 30px; padding-left: 34px; display: inline-block; } p.full-leaderboard { text-align: right; padding-top: 0.5em; } p.time-taken { margin-left: 10px; float: left; } div.info-blocks { margin: 3em 0px; padding: 0.5em 0px; text-align: center; overflow: hidden; } div.info-blocks p { background: rgb(193, 36, 39); margin: 0px 10px; padding: 10px 4px; border-radius: 5px; border: 1px solid rgb(169, 31, 35); width: 40%; text-align: center; color: rgb(255, 255, 255); line-height: 1; font-family: sans-serif; display: inline-block; zoom: 1; box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 1px 1px 4px rgba(0,0,0,0.4); -moz-border-radius: 5px; -webkit-border-radius: 5px; -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 255, 0, 0.4); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 255, 0, 0.4); } div.complete.info-blocks p { background: rgb(38, 191, 36); border: 1px solid rgb(27, 127, 24); } div.info-blocks em { text-align: center; padding-bottom: 3px; font-size: 1.5em; display: block; } div.clue-box { overflow: hidden; margin-bottom: 3em; } div.clue-box h3 { line-height: 1.8; font-size: 1.4em; margin-left: 100px; float: left; } div.clue-box ul.clues { float: left; } div.clue-box ul.clues li { line-height: 1.8; font-size: 1.4em; font-style: italic; margin-left: 2em; } div.info { color: rgb(170, 170, 170); font-style: italic; } div.info a { color: rgb(170, 170, 170); font-style: italic; } div.column { width: 300px; float: left; } div.primary.column { width: 560px; margin-right: 20px; } div.secondary.column h2 { } body.leaderboard table.leaderboard { margin-bottom: 4em; } |
fałsz | Link | |
78413 | [A-Z0-9]{8} | /* Generated by F12 developer tools. This might not be an accurate representation of the original source file */ html { min-height: 100%; } body { background: rgb(177, 177, 177); font: 62.5%/1.3 georgia, serif; height: 100%; font-size-adjust: none; font-stretch: normal; } h1 { color: rgb(182, 0, 9); line-height: 1.3; font-size: 2em; font-weight: bold; margin-bottom: 0.5em; } h2 { line-height: 1.3; font-size: 2em; font-weight: bold; margin-bottom: 0.5em; } h3 { line-height: 1.3; font-size: 1.8em; font-weight: bold; margin-bottom: 0.5em; } p { text-align: justify; line-height: 1.6; padding-bottom: 0.5em; font-size: 1.4em; } a { } header { text-align: center; } footer { text-align: center; } div.wrapper { margin: 0px auto; width: 920px; text-align: left; } header { background: url("/logo") no-repeat 50% 0px rgb(25, 25, 25); margin: 0.75em auto 2em; border-radius: 10px; height: 32em; box-shadow: 0px 0px 10px rgba(0,0,0,0.4); -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); } header h1 { margin: 0px; line-height: 1; font-size: 1em; } header h1 a { width: 100%; height: 32em; text-indent: -9999em; display: block; } .navigation { text-align: right; font-family: "Lucida Grande", Lucida, calibri, sans-serif; } .navigation ul li { margin: 1.5em 0.7em 0em 0px; color: rgb(255, 255, 255); padding-right: 0.7em; font-family: helvetica, sans-serif; font-size: 1.2em; border-right-color: currentColor; border-right-width: 1px; border-right-style: solid; display: inline-block; zoom: 1; } .navigation ul li:last-child { border: 0px currentColor; } .navigation ul li a { color: rgb(255, 255, 255); text-transform: uppercase; text-decoration: none; } .navigation ul li a:hover { text-decoration: underline; } .navigation ul li a:focus { text-decoration: underline; } .navigation ul li a:active { text-decoration: underline; } div.block { background: rgb(255, 255, 255); padding: 2em; border-radius: 10px; text-align: left; overflow: hidden; margin-bottom: 3em; box-shadow: 0px 0px 5px rgba(0,0,0,0.3); -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); } footer { color: rgb(255, 255, 255); margin-top: 5em; } footer p { text-align: center; } footer a { color: rgb(255, 255, 255); text-decoration: none; } form.general { overflow: hidden; } form.general ol { padding: 0.5em 0px; } form.general ol li { line-height: 2em; margin-bottom: 0.5em; } form.general ol li label { width: 10em; line-height: 2.2em; font-size: 1.3em; float: left; display: block; } form.general ol li input { padding: 5px; border-radius: 5px; border: 1px solid rgb(153, 153, 153); width: 13em; font-size: 1.3em; -moz-border-radius: 5px; -webkit-border-radius: 5px; } form.general ol li input:focus { box-shadow: 0px 0px 4px rgba(255,0,0,0.5); -moz-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); -webkit-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); } form.general ol li input:active { box-shadow: 0px 0px 4px rgba(255,0,0,0.5); -moz-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); -webkit-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); } form.general ol li textarea:focus { box-shadow: 0px 0px 4px rgba(255,0,0,0.5); -moz-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); -webkit-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); } form.general ol li textarea:active { box-shadow: 0px 0px 4px rgba(255,0,0,0.5); -moz-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); -webkit-box-shadow: 0 0 4px rgba(255, 0, 0, 0.5); } form.general div.submit { text-align: right; clear: both; } form.general div.submit button { padding: 4px; font-size: 1.2em; } form.code.general { margin: 0px auto; width: 36em; } form.code.general ol { float: left; } form.code.general ol li label { width: 5em; font-weight: bold; } form.code.general div.submit { padding: 5px 0px 5px 10px; clear: none; float: left; } form.code.general div.submit button { background: rgb(38, 191, 36); padding: 6px 10px; border-radius: 5px; border: 1px solid rgb(27, 127, 24); color: rgb(255, 255, 255); box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 4px rgba(0,255,0,0.4); -moz-border-radius: 5px; -webkit-border-radius: 5px; -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 255, 0, 0.4); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 255, 0, 0.4); } form.code.general div.submit button:focus { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(0,255,0,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); } form.code.general div.submit button:hover { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(0,255,0,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); } form.code.general div.submit button:active { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(0,255,0,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(0, 255, 0, 0.7); } form.email.general ol { float: left; } form.email.general div.submit { padding: 5px 0px 5px 10px; clear: none; float: left; } div.errors { background: rgba(255, 0, 0, 0.3); padding: 1em; border-radius: 5px; border: 1px solid rgba(255, 0, 0, 0.8); margin-bottom: 1em; -moz-border-radius: 5px; -webkit-border-radius: 5px; } div.errors p { padding: 0px; color: rgb(100, 0, 0); } table.leaderboard { margin: 0px auto; width: 100%; border-collapse: separate; } table.leaderboard td { background: rgb(245, 245, 245); padding: 5px; font-size: 1.4em; } table.leaderboard th { background: rgb(245, 245, 245); padding: 5px; font-size: 1.4em; } div.secondary table.leaderboard td { font-size: 1.2em; } div.secondary table.leaderboard th { font-size: 1.2em; } table.leaderboard tr:nth-child(2n) td { background: rgb(233, 233, 233); } table.leaderboard thead tr th { background: rgb(193, 36, 39); color: rgb(255, 255, 255); } table.leaderboard thead tr th { border-right-color: rgba(255, 255, 255, 0.1); border-left-color: rgba(0, 0, 0, 0.1); border-right-width: 1px; border-left-width: 1px; border-right-style: solid; border-left-style: solid; } table.leaderboard tbody tr td { border-right-color: currentColor; border-left-color: rgb(220, 220, 220); border-right-width: 0px; border-left-width: 1px; border-right-style: none; border-left-style: solid; } table.leaderboard thead tr th.position { border-radius: 5px 0px 0px; border-left-color: currentColor; border-left-width: 0px; border-left-style: none; -webkit-border-radius: 5px 0 0px 0px; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 0; } table.leaderboard thead tr th.time-taken { border-radius: 0px 5px 0px 0px; border-right-color: currentColor; border-right-width: 0px; border-right-style: none; -webkit-border-radius: 0 5px 0px 0px; -moz-border-radius-topleft: 0; -moz-border-radius-topright: 5px; } table.leaderboard tbody tr td.position { border-left-color: currentColor; border-left-width: 0px; border-left-style: none; } table.leaderboard thead tr th.code { border-left-color: rgba(0, 0, 0, 0.1); border-left-width: 1px; border-left-style: solid; } table.leaderboard tbody tr td.code { border-left-color: rgba(0, 0, 0, 0.1); border-left-width: 1px; border-left-style: solid; } table.leaderboard tbody tr td { border-top-color: rgb(220, 220, 220); border-top-width: 1px; border-top-style: solid; } table.leaderboard tr.user { font-weight: bold; } table.leaderboard tr.user td { background-color: rgb(255, 221, 221); } table.leaderboard tr td.many { padding: 4px 4px 4px 6px; text-align: left; color: rgb(153, 153, 153); border-left-color: currentColor; border-left-width: 0px; border-left-style: none; } div.secondary div.table-foot { background: rgb(245, 245, 245); width: 100%; height: 100px; border-top-color: rgba(0, 0, 0, 0.1); border-top-width: 1px; border-top-style: solid; } div.secondary div.size-10.table-foot { height: 0px; } div.secondary div.size-9.table-foot { height: 27px; } div.secondary div.size-8.table-foot { height: 54px; } div.secondary div.size-7.table-foot { height: 81px; } div.secondary div.size-6.table-foot { height: 108px; } div.secondary div.size-5.table-foot { height: 135px; } div.secondary div.size-4.table-foot { height: 162px; } div.secondary div.size-3.table-foot { height: 189px; } div.secondary div.size-2.table-foot { height: 216px; } div.secondary div.size-1.table-foot { height: 243px; } iframe { border: 0px currentColor; } p.sign-in.twitter { margin: 50px 0px 100px; text-align: center; line-height: 30px; } p.sign-in.twitter a { background: rgb(107, 203, 234); padding: 10px 15px; border-radius: 20px; border: 1px solid rgb(77, 147, 168); color: rgb(255, 255, 255); font-family: sans-serif; text-decoration: none; display: inline-block; box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 4px rgba(0,0,255,0.4); -moz-border-radius: 20px; -webkit-border-radius: 20px; text-shadow: 1px 1px 0 rgba(0, 0, 105, 0.3); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 0, 255, 0.4); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 0, 255, 0.4); } p.sign-in.twitter a:hover { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(50,171,201,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(50, 171, 201, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(50, 171, 201, 0.7); } p.sign-in.twitter a:focus { box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 0px 0px 10px rgba(50,171,201,0.7); -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(50, 171, 201, 0.7); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 10px rgba(50, 171, 201, 0.7); } p.sign-in.twitter a:active { background: rgb(100, 191, 219); } p.sign-in.twitter span.sign { background: url("/static/images/twitter-t.png") no-repeat 0px 50%; line-height: 30px; padding-left: 34px; display: inline-block; } p.full-leaderboard { text-align: right; padding-top: 0.5em; } p.time-taken { margin-left: 10px; float: left; } div.info-blocks { margin: 3em 0px; padding: 0.5em 0px; text-align: center; overflow: hidden; } div.info-blocks p { background: rgb(193, 36, 39); margin: 0px 10px; padding: 10px 4px; border-radius: 5px; border: 1px solid rgb(169, 31, 35); width: 40%; text-align: center; color: rgb(255, 255, 255); line-height: 1; font-family: sans-serif; display: inline-block; zoom: 1; box-shadow: inset 0px 0px 1px rgba(255,255,255,1), 1px 1px 4px rgba(0,0,0,0.4); -moz-border-radius: 5px; -webkit-border-radius: 5px; -moz-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 255, 0, 0.4); -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 1), 0 0 4px rgba(0, 255, 0, 0.4); } div.complete.info-blocks p { background: rgb(38, 191, 36); border: 1px solid rgb(27, 127, 24); } div.info-blocks em { text-align: center; padding-bottom: 3px; font-size: 1.5em; display: block; } div.clue-box { overflow: hidden; margin-bottom: 3em; } div.clue-box h3 { line-height: 1.8; font-size: 1.4em; margin-left: 100px; float: left; } div.clue-box ul.clues { float: left; } div.clue-box ul.clues li { line-height: 1.8; font-size: 1.4em; font-style: italic; margin-left: 2em; } div.info { color: rgb(170, 170, 170); font-style: italic; } div.info a { color: rgb(170, 170, 170); font-style: italic; } div.column { width: 300px; float: left; } div.primary.column { width: 560px; margin-right: 20px; } div.secondary.column h2 { } body.leaderboard table.leaderboard { margin-bottom: 4em; } |
fałsz | Link | |
78412 | [A-Z0-9]{8} | /* Generated by F12 developer tools. This might not be an accurate representation of the original source file */ html { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } body { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } div { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } span { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } applet { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } object { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } iframe { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } h1 { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } h2 { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } h3 { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } h4 { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } h5 { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } h6 { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } p { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } blockquote { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } pre { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } a { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } abbr { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } acronym { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } address { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } big { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } cite { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } code { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } del { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } dfn { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } em { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } img { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } ins { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } kbd { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } q { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } s { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } samp { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } small { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } strike { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } strong { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } sub { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } sup { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } tt { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } var { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } b { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } u { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } i { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } center { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } dl { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } dt { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } dd { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } ol { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } ul { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } li { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } fieldset { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } form { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } label { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } legend { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } table { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } caption { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } tbody { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } tfoot { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } thead { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } tr { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } th { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } td { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } article { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } aside { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } canvas { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } details { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } embed { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } figure { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } figcaption { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } footer { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } header { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } hgroup { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } menu { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } nav { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } output { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } ruby { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } section { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } summary { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } time { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } mark { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } audio { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } video { font: inherit; margin: 0px; padding: 0px; border: 0px currentColor; vertical-align: baseline; font-size-adjust: inherit; font-stretch: inherit; } article { display: block; } aside { display: block; } details { display: block; } figcaption { display: block; } figure { display: block; } footer { display: block; } header { display: block; } hgroup { display: block; } menu { display: block; } nav { display: block; } section { display: block; } body { line-height: 1; } ol { list-style: none; } ul { list-style: none; } blockquote { quotes: none; } q { quotes: none; } blockquote::before { content: none; } blockquote::after { content: none; } q::before { content: none; } q::after { content: none; } table { border-collapse: collapse; border-spacing: 0; } |
fałsz | Link | |
78411 | [A-Z0-9]{8} | $.ajaxSetup({ beforeSend:function(xhr){ var token = $('input[name=csrfmiddlewaretoken]').attr('value'); xhr.setRequestHeader('Accept', 'text/javascript'); xhr.setRequestHeader('X-CSRFToken', token); } }); $(function(){ if($('body.user-show').length){ var $form = $('form.code'), $clues = $('ul.clues'), $clueTitle = $('div.clue-box h3'), $answered = $('span.answered'); $form.bind('submit', function(e){ e.preventDefault(); var options = { url: $form.attr('action'), type: $form.attr('method'), data: $form.serialize(), dataType: 'json', beforeSend: function(){ $('div.errors').remove(); }, complete: function(){ $form.find('input[name=code]').val(''); }, success: function(data){ if(data.location){ window.location = data.location; } if(data.error){ var $error = $('div.errors p'); if($error.length){ $error.text(data.error); } else { $('<div class="errors"><p>'+data.error+'</p></div>').prependTo('div.primary'); } } else { var html = ""; $clueTitle.text('Clue' + (data.clues.length > 1 ? 's' : '') + ':'); $.each(data.clues, function(i, el){ html = html + "<li>" + el + "</li>"; }); $clues.html(html); $answered.text(data.found); syncLeaderboard(); } } }; $.ajax(options); }); } }); $(function(){ /// Update the time taken clock. Faster! if($('body.user-show').length){ var $time = $('.time'), start = new Date(); if($time.length){ start.setISO8601($time.data('start')); window.setInterval(function(){ var diff = ((+new Date()) - start)/1000; $time.text(prettyDate(diff)); }, 200); } } }); function syncLeaderboard(){ /// Sync the leaderboard var $leaderboard = $('table.leaderboard tbody'); $.ajax({ dataType: 'html', method: 'get', url: '/leaderboard/update', success: function(data){ var $newboard = $(data); $leaderboard.replaceWith($newboard.find('tbody')); } }); } function prettyDate(second_diff){ var day_diff = second_diff / 60 / 60 / 24, chunks = [ [60 * 60 * 24 * 365 , 'year'], [60 * 60 * 24 * 30 , 'month'], [60 * 60 * 24 * 7, 'week'], [60 * 60 * 24 , 'day'], [60 * 60 , 'hour'], [60 , 'minute'], [1 , 'second'] ], output = '', i,j, period, name, count; for(i=0, j=chunks.length; i < j; i++){ period = chunks[i][0]; name = chunks[i][1]; if(output != ''){ if(Math.floor(second_diff / period) != 0){ count = Math.floor(second_diff / period); output += " "+ count +" "+ name + (count == 1 ? '' : 's'); } break; } if(Math.floor(second_diff / period) != 0){ count = Math.floor(second_diff / period); second_diff = second_diff - (period * count); output += count +" "+ name + (count == 1 ? '' : 's'); } } return output } // Original at: http://delete.me.uk/2005/03/iso8601.html Date.prototype.setISO8601 = function (string) { var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" + "(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(.([0-9]+))?)?" + "(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?"; var d = string.match(new RegExp(regexp)); var offset = 0; var date = new Date(d[1], 0, 1); if (d[3]) { date.setMonth(d[3] - 1); } if (d[5]) { date.setDate(d[5]); } if (d[7]) { date.setHours(d[7]); } if (d[8]) { date.setMinutes(d[8]); } if (d[10]) { date.setSeconds(d[10]); } if (d[12]) { date.setMilliseconds(Number("0." + d[12]) * 1000); } if (d[14]) { offset = (Number(d[16]) * 60) + Number(d[17]); offset *= ((d[15] == '-') ? 1 : -1); } offset -= date.getTimezoneOffset(); time = (Number(date) + (offset * 60 * 1000)); this.setTime(Number(time)); } |
fałsz | Link | |
78410 | [A-Z0-9]{8} | $.ajaxSetup({ beforeSend:function(xhr){ var token = $('input[name=csrfmiddlewaretoken]').attr('value'); xhr.setRequestHeader('Accept', 'text/javascript'); xhr.setRequestHeader('X-CSRFToken', token); } }); $(function(){ if($('body.user-show').length){ var $form = $('form.code'), $clues = $('ul.clues'), $clueTitle = $('div.clue-box h3'), $answered = $('span.answered'); $form.bind('submit', function(e){ e.preventDefault(); var options = { url: $form.attr('action'), type: $form.attr('method'), data: $form.serialize(), dataType: 'json', beforeSend: function(){ $('div.errors').remove(); }, complete: function(){ $form.find('input[name=code]').val(''); }, success: function(data){ if(data.location){ window.location = data.location; } if(data.error){ var $error = $('div.errors p'); if($error.length){ $error.text(data.error); } else { $('<div class="errors"><p>'+data.error+'</p></div>').prependTo('div.primary'); } } else { var html = ""; $clueTitle.text('Clue' + (data.clues.length > 1 ? 's' : '') + ':'); $.each(data.clues, function(i, el){ html = html + "<li>" + el + "</li>"; }); $clues.html(html); $answered.text(data.found); syncLeaderboard(); } } }; $.ajax(options); }); } }); $(function(){ /// Update the time taken clock. Faster! if($('body.user-show').length){ var $time = $('.time'), start = new Date(); if($time.length){ start.setISO8601($time.data('start')); window.setInterval(function(){ var diff = ((+new Date()) - start)/1000; $time.text(prettyDate(diff)); }, 200); } } }); function syncLeaderboard(){ /// Sync the leaderboard var $leaderboard = $('table.leaderboard tbody'); $.ajax({ dataType: 'html', method: 'get', url: '/leaderboard/update', success: function(data){ var $newboard = $(data); $leaderboard.replaceWith($newboard.find('tbody')); } }); } function prettyDate(second_diff){ var day_diff = second_diff / 60 / 60 / 24, chunks = [ [60 * 60 * 24 * 365 , 'year'], [60 * 60 * 24 * 30 , 'month'], [60 * 60 * 24 * 7, 'week'], [60 * 60 * 24 , 'day'], [60 * 60 , 'hour'], [60 , 'minute'], [1 , 'second'] ], output = '', i,j, period, name, count; for(i=0, j=chunks.length; i < j; i++){ period = chunks[i][0]; name = chunks[i][1]; if(output != ''){ if(Math.floor(second_diff / period) != 0){ count = Math.floor(second_diff / period); output += " "+ count +" "+ name + (count == 1 ? '' : 's'); } break; } if(Math.floor(second_diff / period) != 0){ count = Math.floor(second_diff / period); second_diff = second_diff - (period * count); output += count +" "+ name + (count == 1 ? '' : 's'); } } return output } // Original at: http://delete.me.uk/2005/03/iso8601.html Date.prototype.setISO8601 = function (string) { var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" + "(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(.([0-9]+))?)?" + "(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?"; var d = string.match(new RegExp(regexp)); var offset = 0; var date = new Date(d[1], 0, 1); if (d[3]) { date.setMonth(d[3] - 1); } if (d[5]) { date.setDate(d[5]); } if (d[7]) { date.setHours(d[7]); } if (d[8]) { date.setMinutes(d[8]); } if (d[10]) { date.setSeconds(d[10]); } if (d[12]) { date.setMilliseconds(Number("0." + d[12]) * 1000); } if (d[14]) { offset = (Number(d[16]) * 60) + Number(d[17]); offset *= ((d[15] == '-') ? 1 : -1); } offset -= date.getTimezoneOffset(); time = (Number(date) + (offset * 60 * 1000)); this.setTime(Number(time)); } |
fałsz | Link | |
78409 | [A-Z0-9]{8} | $.ajaxSetup({ beforeSend:function(xhr){ var token = $('input[name=csrfmiddlewaretoken]').attr('value'); xhr.setRequestHeader('Accept', 'text/javascript'); xhr.setRequestHeader('X-CSRFToken', token); } }); $(function(){ if($('body.user-show').length){ var $form = $('form.code'), $clues = $('ul.clues'), $clueTitle = $('div.clue-box h3'), $answered = $('span.answered'); $form.bind('submit', function(e){ e.preventDefault(); var options = { url: $form.attr('action'), type: $form.attr('method'), data: $form.serialize(), dataType: 'json', beforeSend: function(){ $('div.errors').remove(); }, complete: function(){ $form.find('input[name=code]').val(''); }, success: function(data){ if(data.location){ window.location = data.location; } if(data.error){ var $error = $('div.errors p'); if($error.length){ $error.text(data.error); } else { $('<div class="errors"><p>'+data.error+'</p></div>').prependTo('div.primary'); } } else { var html = ""; $clueTitle.text('Clue' + (data.clues.length > 1 ? 's' : '') + ':'); $.each(data.clues, function(i, el){ html = html + "<li>" + el + "</li>"; }); $clues.html(html); $answered.text(data.found); syncLeaderboard(); } } }; $.ajax(options); }); } }); $(function(){ /// Update the time taken clock. Faster! if($('body.user-show').length){ var $time = $('.time'), start = new Date(); if($time.length){ start.setISO8601($time.data('start')); window.setInterval(function(){ var diff = ((+new Date()) - start)/1000; $time.text(prettyDate(diff)); }, 200); } } }); function syncLeaderboard(){ /// Sync the leaderboard var $leaderboard = $('table.leaderboard tbody'); $.ajax({ dataType: 'html', method: 'get', url: '/leaderboard/update', success: function(data){ var $newboard = $(data); $leaderboard.replaceWith($newboard.find('tbody')); } }); } function prettyDate(second_diff){ var day_diff = second_diff / 60 / 60 / 24, chunks = [ [60 * 60 * 24 * 365 , 'year'], [60 * 60 * 24 * 30 , 'month'], [60 * 60 * 24 * 7, 'week'], [60 * 60 * 24 , 'day'], [60 * 60 , 'hour'], [60 , 'minute'], [1 , 'second'] ], output = '', i,j, period, name, count; for(i=0, j=chunks.length; i < j; i++){ period = chunks[i][0]; name = chunks[i][1]; if(output != ''){ if(Math.floor(second_diff / period) != 0){ count = Math.floor(second_diff / period); output += " "+ count +" "+ name + (count == 1 ? '' : 's'); } break; } if(Math.floor(second_diff / period) != 0){ count = Math.floor(second_diff / period); second_diff = second_diff - (period * count); output += count +" "+ name + (count == 1 ? '' : 's'); } } return output } // Original at: http://delete.me.uk/2005/03/iso8601.html Date.prototype.setISO8601 = function (string) { var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" + "(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(.([0-9]+))?)?" + "(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?"; var d = string.match(new RegExp(regexp)); var offset = 0; var date = new Date(d[1], 0, 1); if (d[3]) { date.setMonth(d[3] - 1); } if (d[5]) { date.setDate(d[5]); } if (d[7]) { date.setHours(d[7]); } if (d[8]) { date.setMinutes(d[8]); } if (d[10]) { date.setSeconds(d[10]); } if (d[12]) { date.setMilliseconds(Number("0." + d[12]) * 1000); } if (d[14]) { offset = (Number(d[16]) * 60) + Number(d[17]); offset *= ((d[15] == '-') ? 1 : -1); } offset -= date.getTimezoneOffset(); time = (Number(date) + (offset * 60 * 1000)); this.setTime(Number(time)); } |
fałsz | Link | |
78408 | [A-Z0-9]{8} | // iepp v2.1pre @jon_neal & @aFarkas github.com/aFarkas/iepp // html5shiv @rem remysharp.com/html5-enabling-script // Dual licensed under the MIT or GPL Version 2 licenses /*@cc_on(function(a,b){function r(a){var b=-1;while(++b<f)a.createElement(e[b])}if(!window.attachEvent||!b.createStyleSheet||!function(){var a=document.createElement("div");return a.innerHTML="<elem></elem>",a.childNodes.length!==1}())return;a.iepp=a.iepp||{};var c=a.iepp,d=c.html5elements||"abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|subline|summary|time|video",e=d.split("|"),f=e.length,g=new RegExp("(^|\s)("+d+")","gi"),h=new RegExp("<(/*)("+d+")","gi"),i=/^s*[{}]s*$/,j=new RegExp("(^|[^\n]*?\s)("+d+")([^\n]*)({[\n\w\W]*?})","gi"),k=b.createDocumentFragment(),l=b.documentElement,m=b.getElementsByTagName("script")[0].parentNode,n=b.createElement("body"),o=b.createElement("style"),p=/print|all/,q;c.getCSS=function(a,b){try{if(a+""===undefined)return""}catch(d){return""}var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,p.test(b)&&h.push(c.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},c.parseCSS=function(a){var b=[],c;while((c=j.exec(a))!=null)b.push(((i.exec(c[1])?"n":c[1])+c[2]+c[3]).replace(g,"$1.iepp-$2")+c[4]);return b.join("n")},c.writeHTML=function(){var a=-1;q=q||b.body;while(++a<f){var c=b.getElementsByTagName(e[a]),d=c.length,g=-1;while(++g<d)c[g].className.indexOf("iepp-")<0&&(c[g].className+=" iepp-"+e[a])}k.appendChild(q),l.appendChild(n),n.className=q.className,n.id=q.id,n.innerHTML=q.innerHTML.replace(h,"<$1font")},c._beforePrint=function(){if(c.disablePP)return;o.styleSheet.cssText=c.parseCSS(c.getCSS(b.styleSheets,"all")),c.writeHTML()},c.restoreHTML=function(){if(c.disablePP)return;n.swapNode(q)},c._afterPrint=function(){c.restoreHTML(),o.styleSheet.cssText=""},r(b),r(k);if(c.disablePP)return;m.insertBefore(o,m.firstChild),o.media="print",o.className="iepp-printshim",a.attachEvent("onbeforeprint",c._beforePrint),a.attachEvent("onafterprint",c._afterPrint)})(this,document)@*/ |
fałsz | Link | |
78407 | ^#(?<ilosc>\d+(\.\d+)?)#$ | #72# | prawda |
|
Link |
78406 | ^#(?<ilosc>\d+(\.\d+))#$ | #72# | fałsz | Link | |
78405 | ^#(?<ilosc>\d+(\.\d+))#$ | #72.63# | prawda |
|
Link |
78404 | ^#(?<ilosc>\d+(\.\d+))#$ | #72.63.888# | fałsz | Link | |
78403 | ^#(?<ilosc>\d+(\.\d+)?)#$ | #72.63.888# | fałsz | Link | |
78402 | ^#(?<ilosc>\d+(\.\d+)?)#$ | #72.637# | prawda |
|
Link |
78401 | ^#(?<ilosc>\d+(\.\d)?)#$ | #72.637# | fałsz | Link | |
78400 | ^#(?<ilosc>\d+(\.\d)?)#$ | #72.637.0234.234.234# | fałsz | Link | |
78399 | ^#(?<ilosc>\d+)#$ | #72.637.0234.234.234# | fałsz | Link | |
78398 | #(?<ilosc>\d+)# | #72.637.0234.234.234# | prawda |
|
Link |
78397 | #(?<ilosc>\d+(\.\d+))# | #72.637.0234.234.234# | prawda |
|
Link |
78396 | [A-Z0-9]{8} | <body class="user-show"> <div class="wrapper"> <nav class="navigation"> <ul> <li><a href="http://spider.io/about/">About</a></li> <li><a href="http://spider.io/careers/">Careers</a></li> <li><a href="http://spider.io/blog/">Blog</a></li> <li><a href="/logout">Log Out</a></li> </ul> </nav> <header> <h1 class="brand"> <a href="/" title="">spider.io</a> </h1> </header> <div class="block"> <div class="column primary"> <h1>Challenge</h1> <p>Try to find the codes hidden in and around this page.</p> <p>The code format is [A-Z0-9]{8}, and with each code that you find we'll give you a clue to help you find the next code.</p> <p> Best of luck!</p> <div class="info-blocks"> <p><em><span class="answered">0</span>/14</em> codes found</p> <p><em class="time" data-start="2011-11-09T07:52:54"></em> time taken</p> </div> <form method="post" action="/user" class="general code"> <div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='a21ea62c877e72bdfc952a410aed1a0e' /></div> <ol> <li> <label for="code">Code:</label> <input type="text" name="code" value="" placeholder="code"> </li> </ol> <div class="submit"> <button type="submit">Submit Code</button> </div> </form> <div class="clue-box"> <h3>Clue:</h3> <ul class="clues"> <li>Use the source </ul> </div> <div class="info"> <p>If you run into any problems, let us know: <a href="mailto:[email protected]">[email protected]</a></p> </div> </div> <div class="column secondary"> <h2>Leaderboard</h2> <table summary="Challenge Leader Board" class="leaderboard small"> <thead> <tr> <th class="position"> </th> <th class="name">Name</th> <th class="clues">Codes</th> <th class="time-taken">Time Taken</th> </tr> </thead> <tbody> <tr> <td class="position">1.</td> <td><a href="http://twitter.com/mdalewski"> mdalewski</a></td> <td>14</td> <td>1 hour</td> </tr> <tr> <td class="position">2.</td> <td><a href="http://twitter.com/Edgemaster"> Edgemaster</a></td> <td>14</td> <td>1 hour 18 minutes</td> </tr> <tr> <td class="position">3.</td> <td><a href="http://twitter.com/kr1612"> kr1612</a></td> <td>14</td> <td>1 hour 28 minutes</td> </tr> <tr> <td class="position">4.</td> <td><a href="http://twitter.com/niebezpiecznik"> niebezpiecznik</a></td> <td>14</td> <td>2 hours 20 minutes</td> </tr> <tr> <td class="position">5.</td> <td><a href="http://twitter.com/KKKas_"> KKKas_</a></td> <td>14</td> <td>2 hours 43 minutes</td> </tr> <tr> <td class="position">6.</td> <td><a href="http://twitter.com/tackers"> tackers</a></td> <td>14</td> <td>2 hours 51 minutes</td> </tr> <tr> <td class="position">7.</td> <td><a href="http://twitter.com/nkd79"> nkd79</a></td> <td>14</td> <td>2 hours 57 minutes</td> </tr> <tr> <td class="position">8.</td> <td><a href="http://twitter.com/spidery_tweet"> spidery_tweet</a></td> <td>14</td> <td>3 hours 10 minutes</td> </tr> <tr> <td class="position">9.</td> <td><a href="http://twitter.com/mikejewell"> mikejewell</a></td> <td>14</td> <td>3 hours 49 minutes</td> </tr> <tr> <td class="position">10.</td> <td><a href="http://twitter.com/yachoor"> yachoor</a></td> <td>14</td> <td>5 hours 50 minutes</td> </tr> <tr> <td colspan="4" class="many">⋮</td> </tr> <tr class="user"> <td class="position">364.</td> <td><a href="http://twitter.com/"> merge6</a></td> <td>0</td> <td></td> </tr> </tbody> </table> <div class="table-foot size-10"></div> <p class="full-leaderboard"><a href="/leaderboard">view full leaderboard →</a></p> </div> </div> <div class="block"> <div class="g-plusone" data-size="tall" data-href="http://challenge.spider.io" data-expandto="right"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical" data-text="Take the spider.io challenge. #spider_io" data-url="http://challenge.spider.io/">Tweet</a> <div class="fb-like" data-href="http://challenge.spider.io" data-send="false" data-layout="box_count" data-width="55" data-show-faces="true"></div> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); <div class="google-plus-info" style="display:none"> <span itemprop="name">spider.io challenge</span> <span itemprop="description">Take the spider.io challenge.</span> </div> <div id="fb-root"></div> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </div> <footer> <p>© 2011 <a href="http://spider.io">spider.io</a></p> </footer> </div> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-26478706-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </body> </html> |
prawda |
|
Link |
78395 | #(?<ilosc>\d+(\.\d+)?)# | #72.637.0234.234.234# | prawda |
|
Link |
78394 | #(?<ilosc>\d+(\.\d+)?)# | #72.637# | prawda |
|
Link |
78393 | [a-z]{2} | gg | prawda |
|
Link |
78392 | #(?<ilosc>\d+(\.\d+)?)# | #72.637.4# | prawda |
|
Link |
« poprzednia 1 2 … 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 … 21017 21018 następna »