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
| const { exec } = require('child_process'); | |
| const desiredArgument = 'your_argument'; | |
| exec(`wmic process where "CommandLine like '%%%${desiredArgument}%%%' and not CommandLine like '%%wmic%%'" get ProcessId`, (error, stdout) => { | |
| if (error) { | |
| console.error(`Error: ${error.message}`); | |
| return; | |
| } |
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
| mount /dev/md2 /mnt | |
| mount /dev/nvme0n1p1 /mnt/boot/efi | |
| mount --bind /dev /mnt/dev | |
| mount --bind /proc /mnt/proc | |
| mount --bind /sys /mnt/sys | |
| chroot /mnt | |
| grub2-mkconfig -o /boot/grub2/grub.cfg | |
| grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg |
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
| var identifier = itor.get_request_identifier(); | |
| itor.on_request_identifier_change(changeIdentifier); | |
| function changeIdentifier() { | |
| identifier = itor.get_request_identifier(); | |
| } | |
| switch(response){ | |
| case 'process-finished': | |
| / Process finished successfully. / | |
| identifier |
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
| $(".ui-autocomplete-city").autocomplete({ | |
| source: function(request, response){ | |
| $.ajax({ | |
| url: "http://ws.geonames.org/searchJSON", | |
| dataType: "jsonp", | |
| data: { | |
| featureClass: "P", | |
| style: "full", | |
| maxRows: 12, | |
| name_startsWith: request.term, |
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
| $(".ui-autocomplete-city").autocomplete({ | |
| source: function(request, response){ | |
| $.ajax({ | |
| url: "http://ws.geonames.org/searchJSON", | |
| dataType: "jsonp", | |
| data: { | |
| featureClass: "P", | |
| style: "full", | |
| maxRows: 12, | |
| name_startsWith: request.term, |
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
| <script> | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
| ga('create', 'UA-37679953-1', 'auto'); | |
| ga('send', 'pageview'); | |
| </script> |
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
| <style> | |
| .panel-right .navigation .button{ | |
| font-size: 15px; | |
| } | |
| .panel-left .input .title{ | |
| font-size:12px; | |
| } | |
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
| <script> | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
| ga('create', 'UA-57216292-1', 'auto'); | |
| ga('send', 'pageview'); | |
| </script> |
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
| public function postPostcode() | |
| { | |
| $address = Input::get('address'); | |
| $url = "http://maps.googleapis.com/maps/api/geocode/json?address=".urlencode($address)."&sensor=false"; | |
| $response = file_get_contents($url); | |
| return $response; |
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 version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>name</key> | |
| <string>Notepad++</string> | |
| <key>settings</key> | |
| <array> | |
| <dict> | |
| <key>settings</key> |
NewerOlder