You can run your "LAMP" server on Windows with all benefits of Linux command line.
Download Cygwin and run setup. Choose this packages:
Web/httpd
Libs/libapr1-devel
| :: Build "project_name" | |
| py build.py -p project_name | |
| :: Build "project_name" in development mode | |
| py build.py -p project_name -d | |
| :: Display Majibo version | |
| py build.py -v |
| # utility for password generator | |
| function Get-RandomChar { | |
| $length = $args[0] | |
| $characters = $args[1] | |
| $counter = 0 | |
| $random = "" | |
| while($counter -ne $length) { | |
| $random += $characters.Substring((Get-Random -Maximum $characters.length), 1) | |
| $counter++ | |
| } |
| // -- SETUP ----------- | |
| // demo: | |
| // 1) go to https://ztlkl.cz/ | |
| // 2) open browser console, paste script (press Enter key to run it) | |
| // 3) click on "#testování" link | |
| // click on starter to start measure | |
| var starter = '//a[@href="#f=stitek:testovani"]'; | |
| // define expected elements - XPath and count (0 means any) | |
| var result = '//div[@class="project-description-meta"]'; | |
| var resultCount = 2; |
| F Ami | |
| Vstup zakázán a ty jdeš dál, | |
| H7 | |
| nikdo nikde, jsi tu sám, | |
| G#mi G | |
| zahrada co ze snů znáš | |
| C G | |
| Půjčí ti peří s perletí, | |
| Gmi |
| var character = '👆'; | |
| var temp_id = 'copypastecharacter-jsijfkjknkfd'; | |
| document.body.innerHTML+='<input id="'+temp_id+'" value="'+character+'" />'; | |
| var temp_elem = document.getElementById(temp_id); | |
| temp_elem.select(); | |
| document.execCommand('copy'); | |
| temp_elem.parentNode.removeChild(temp_elem); |
You can run your "LAMP" server on Windows with all benefits of Linux command line.
Download Cygwin and run setup. Choose this packages:
Web/httpd
Libs/libapr1-devel
| data:text/html, | |
| <style type="text/css"> | |
| #e{position:absolute;top:0;right:0;bottom:0;left:0;}#m{position:absolute;top:0;right:0;z-index:1000;} | |
| #m,option {width:100px;height:auto;margin:0;padding:4px;font-size:12px;background:#000;color:#fff;border:0;cursor:pointer;}¨ | |
| </style> | |
| <div id="e"></div> | |
| <select id="m" onchange="e.getSession().setMode('ace/mode/' + this.value );"> | |
| <option value="html">HTML</option> | |
| <option value="javascript">JavaScript</option> | |
| <option value="xml">XML</option> |
| <?php | |
| /** | |
| * Automatické prodloužení inzerátů na Hudebníbazar.cz | |
| */ | |
| define('EMAIL', ''); | |
| define('PASS', ''); | |
| // Základní nastavení | |
| $curl = curl_init(); | |
| curl_setopt($curl, CURLOPT_COOKIEJAR, dirname(__FILE__) .'/cookie-hb.txt'); | |
| curl_setopt($curl, CURLOPT_URL, "https://hudebnibazar.cz/prihlasit/"); |
| var timer = setInterval(function(){ | |
| var moreLink = document.querySelectorAll('a.uiMorePagerPrimary'); | |
| if(moreLink.length>0) { | |
| window.scrollTo(0,document.body.scrollHeight); | |
| var i; | |
| for (i = 0; i < moreLink.length; i++) { | |
| moreLink[i].click(); | |
| } | |
| } else { | |
| console.clear(); |
| <?php | |
| /** | |
| *===================================================================== | |
| * Campaign Monitor API | |
| * PHP library: http://campaignmonitor.github.io/createsend-php/ | |
| */ | |
| define('API_KEY', ''); | |
| define('LIST_ID', ''); | |