Skip to content

Instantly share code, notes, and snippets.

@dck-jp
dck-jp / sample.cls
Last active May 14, 2021 17:52
sample code of Selenium-VBA
Option Explicit
Private driver As SeleniumWrapper.WebDriver
Private Sub InitializeWebDriver()
Set driver = New SeleniumWrapper.WebDriver
Call driver.Start("firefox", "http://192.168.1.1/")
End sub
Private Sub Login()
@hofmannsven
hofmannsven / README.md
Last active April 1, 2025 06:51
Git CLI Cheatsheet
@sjccodesnippets
sjccodesnippets / gist:5549589
Last active August 14, 2018 08:17
PHP : MySQLi ultimate connect, query, fetch, and parse result, object oriented oo and procedural
<?php
mysqli_report(MYSQLI_REPORT_OFF); //Turn off irritating default messages
$mysqli = new mysqli("127.0.0.1", "user", "password", "database", 3306);
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
@bkamapantula
bkamapantula / jsInPhp.php
Created July 16, 2012 20:11
Using Javascript alert box in PHP
<?php
echo "<script language='javascript'>alert('Try to be nice, OK? Please try again :-) ')</script>";
?>