This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| APPNAME=$(egrep '^\- name:' manifest.yml | cut -c8- | xargs); | |
| echo "Deploying ${APPNAME} Green-Blue Deployment"; | |
| cf push ${APPNAME}-new; | |
| cf delete ${APPNAME} -f; | |
| cf rename ${APPNAME}-new ${APPNAME}; | |
| echo "${APPNAME} Green-Blue Deployment Completed"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <xml id="toolbox" style="display: none"> | |
| <category name="Logic"> | |
| <block type="controls_if"></block> | |
| <block type="logic_compare"></block> | |
| <block type="logic_operation"></block> | |
| <block type="logic_negate"></block> | |
| <block type="logic_boolean"></block> | |
| </category> | |
| <category name="Loops"> | |
| <block type="controls_repeat_ext"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copy and paste this lines of codes to the javascript console on the web browser | |
| // It will print the urls of all the images displayed in the search result | |
| var d = document.getElementsByClassName("rg_bx"); | |
| for(var i in d) { | |
| var u = d.item(i).getElementsByTagName("a")[0].href; | |
| u = u.substring(u.indexOf("=")+1, u.indexOf("&imgrefurl=")) | |
| console.log(decodeURIComponent(u)) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <script src="https://code.jquery.com/jquery-3.2.1.js" integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE=" crossorigin="anonymous"></script> | |
| <style> | |
| input, button, textarea, select { | |
| width: 100%; | |
| padding: 10px; | |
| } | |
| input, button, select { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <form method="post" style="width: 100%"> | |
| {{inputs}} | |
| <button type="submit" style="width: 100%; padding: 10px">Submit</button> | |
| </form> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log("Hello World ABC!") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log("dfdsdsfd") |