graph TB
subgraph DEV_VM["Development VM"]
D_MySQL[(MySQL DB<br/>EXISTING)]
D_Maxwell[Maxwell CDC<br/>EXISTING]
D_CDCPub[CDC Publisher<br/>NEW<br/>Port: 3001]
D_MySQL -->|binlog stream| D_Maxwell
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
| using System.Data.SqlClient; | |
| using System.Drawing; | |
| // ... | |
| SqlConnection connection = new SqlConnection("your_connection_string"); | |
| SqlCommand command = new SqlCommand("SELECT TOP 1 MunMap FROM tblmunicipality", connection); | |
| try |
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
| using System; | |
| using System.Drawing; | |
| using System.IO; | |
| using System.Windows.Forms; | |
| using MySql.Data.MySqlClient; // Ensure you have the MySQL Connector for .NET | |
| public class MainForm : Form | |
| { | |
| private PictureBox pictureBox; |
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
| <?php | |
| namespace App\Filters\Search; | |
| use Closure; | |
| use Illuminate\Support\Arr; | |
| use Laravel\Scout\Builder; | |
| class QueryParameterSearchFilter | |
| { |
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
| Just change the nameserver lines in /etc/resolv.conf to: | |
| nameserver 8.8.8.8 | |
| nameserver 8.8.4.4 |
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
| <?php | |
| $name = 'rannie'; | |
| print $name; | |
| function greetPerson($person) | |
| { | |
| // return '<br />hi '.$person; | |
| return "<br />hi $person"; |
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
| <?php | |
| namespace App\Repositories; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Pagination\Paginator; | |
| abstract class BaseRepository | |
| { | |
| protected Model $model; |
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 data = "do shash'owania"; | |
| var crypto = require('crypto'); | |
| crypto.createHash('md5').update(data).digest("hex"); |
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
| <?php | |
| //answer for https://www.testdome.com/questions/php/file-owners/11840?visibility=17&skillId=5 | |
| class FileOwners | |
| { | |
| public static function groupByOwners($files) | |
| { | |
| $result=array(); | |
| foreach($files as $key=>$value) | |
| { | |
| $result[$value][]=$key; |
Just a collection gist of some assorted example SOAPClients. Code must not be stable or useful under all circumstances, these are examples. Most of the code is outdated, so you won't need to use it any longer in production code. I've just collected and compiled this together out of interest, the information normally is scattered around.
If you need to a start with PHP's SOAPClient start with the PHP manual page of it and read through the comments as well. Double check with exisiting bug-reports if given as many things are fixed since a comment was left.
NewerOlder