This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RegExp.escape = function(s) { | |
return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); | |
}; | |
String.prototype.substrBetween = function(left, right, ignoreCase){ | |
left = RegExp.escape(left); | |
right = RegExp.escape(right); | |
ignoreCase = (ignoreCase == true) ? 'i' : ''; | |
var reg = new RegExp(left+"(.*?)"+right,'g' + ignoreCase); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(w){ | |
w.performance.measureTime = function(what, times){ | |
var results = []; | |
for(var i=0; i<times; i++){ | |
var start = window.performance.webkitNow(); | |
what(); | |
var end = window.performance.webkitNow(); | |
results.push(end - start); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function () { | |
var event, | |
selection = (function () { | |
if (window.getSelection) { | |
return window.getSelection().toString(); | |
} else if (document.getSelection) { | |
return document.getSelection(); | |
} else { | |
return document.selection.createRange().text; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$box = array( | |
array( | |
'name' => 'image', | |
'label' => 'Upload Image', | |
'type' => 'image', | |
), | |
array( | |
'name' => 'header', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//// define some variables | |
$local_file = 'plikens.exe'; | |
$server_file = '/public_html/dupa.exe'; | |
// set up basic connection | |
$conn_id = ftp_connect('adres-ftp'); | |
// login with username and password | |
$login_result = ftp_login($conn_id, 'ftp-login', 'haslo'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A,B,b,C mogą wozić | |
AaBbCc || ______ | |
1. (a,b) -> A_B_Cc || _a_b___ | |
2. (b) <- A_BbCc || _a____ | |
3. (b,c) -> A_BbC_ || _a_b_c | |
4. (b) <- A_BbC_ || _a___c | |
5. (A,C) -> __Bb__ || Aa__Cc | |
6. (C,c) <- __BbCc || Aa____ | |
7. (B,b) -> ____Cc || AaBb__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Header</h1> | |
<h2>Header</h2> | |
<h3>Header</h3> | |
<h4>Header</h4> | |
<p class="text-left">text left</p> | |
<p class="text-right">text right</p> | |
<p class="text-center">text center</p> | |
<p class="text-center"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
html,body,input,select,textarea,button{font:14px "Helvetica Neue",Arial,Helvetica,sans-serif;line-height:18px;color:#393939} | |
html{font-size:100%;-webkit-text-size-adjust:100%} | |
p{margin:0} | |
ol,ul{list-style:none;margin:0;padding:0} | |
blockquote,q{quotes:none} | |
blockquote:before,blockquote:after,q:before,q:after{content:none} | |
ins{text-decoration:none} | |
del{text-decoration:line-through} | |
table{border-collapse:collapse;border-spacing:0;width:100%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sess_160alcntgqp9mqp9u712i2n0u5 sess_f7d7cib19qfc8lci7pjh2vspl0 sess_ksp7i6h9fnljff6v6pgoiigjq0 sess_q34dmfoeukknn72npu4mladgj3 | |
sess_51l3cn7lc8akvbqt42fmujfi81 sess_h75cmr075g3fk1n24j18v58uu2 sess_lig7aikopsmrrb1a3nr93okga5 sess_q3otiqe0r5lls5qo5aibijl606 | |
sess_ap7o0jqs0ihko27lhg5do276d5 sess_ht0a0s20o1ncuphic5jd3c9244 sess_meuqd51tldcaeb11agsh6oe8b2 sess_qsae2qrvqnjlejdcje5auk0ec6 | |
sess_b5lpc2ghag2b2m7uhg8663fj14 sess_ivplrb9o2fnophl2ta5sjgg6s7 sess_n5nolhhgskvkhft6fg9t09rsi6 sess_r1jc4monb5euohim3bga774751 | |
sess_d39g4kdk6gks0miua8git7k1a7 sess_k911c07ud8r1pcne8hv436ic76 sess_ph0f11bgbe2d49hdc7q9dk98f2 sess_rj72gf9rg0679q6br0u4r2trs4 | |
sess_d9fgat0gs7fto8fbgtpmahibs1 sess_kj5pl8tchvqr5jb2vf2vv5gbg1 sess_q0pre0tmkdo6n0ndcamihj2o57 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) | |
{ | |
// jquery fix | |
jQuery.curCSS = jQuery.css; | |
$.ajaxSetup({ | |
data: { | |
_token: config.token, | |
'XDEBUG_SESSION_START': 'PHPSTORM' |
OlderNewer