Skip to content

Instantly share code, notes, and snippets.

View theafolayan's full-sized avatar

Oluwaseun Raphael Afolayan theafolayan

View GitHub Profile
puts "Script Started"
require 'influxdb-client'
token = '5hv3oM1KrTdBSqyxc3aJy_fUxnZyQvKUx9cvYJaPMsdEa2yz0uCcIu2WQl7A_EuHYEcJr4u0wJfVYQAHB3Se6w=='
org = 'demo-org'
bucket = 'test-bucket'
url = 'http://localhost:8086'
@theafolayan
theafolayan / 1_phpunit-api.md
Created November 19, 2020 00:06 — forked from loonies/1_phpunit-api.md
PHPUnit Cheat Sheet

PHPUnit API reference

  • version 3.6

TODO

Check those constraints:

$this->anything()
@theafolayan
theafolayan / manifest.json
Last active March 12, 2019 11:45
including html in manifest file
{
"manifest_version": 2,
"name": "Hello Chrome",
"version": "1.00",
"description": "An hello world Extension for chrome",
"browser_action":{
"default_popup": "popup.html",
"default_icon": "16.png",
}
@theafolayan
theafolayan / Hello.html
Created March 12, 2019 11:39
hello.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello Extension</title>
</head>
<body>
<h1> Hello Awesome Developer! </h1>
</body>
{
"manifest_version": 2,
"name": "Hello Chrome
"version": "1.00",
"description": "An hello world Extension for chrome",
"browser_action":{
"default_icon": "16.png",
}
}
@theafolayan
theafolayan / manifest.json
Last active March 12, 2019 11:49
manifest for hello extension
{
"manifest_version": 2,
"name": "Hello Chrome",
"version": "1.00",
"description": "An hello world Extension for chrome",
}