Skip to content

Instantly share code, notes, and snippets.

View luukverhoeven's full-sized avatar
🚀
To Infinity, And Beyond!

Luuk Verhoeven luukverhoeven

🚀
To Infinity, And Beyond!
View GitHub Profile
{
"type": 1,
"title": "Chrome",
"description": "Chrome",
"logo": "https://cloudinovasi.id/assets/img/logos/nginx.png",
"image": "selenium/standalone-chrome",
"ports": [
"4444:4444/tcp"
]
}
<svg id="svgcontent" width="470" height="100" viewBox="0 0 470 100" overflow="visible" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs/>
<g style="pointer-events:all">
<rect fill="#00C389" stroke="#00C389" x="10" y="30" width="60" height="10" fill-opacity="0.1" stroke-opacity="0.1"/>
<rect fill="#00C389" stroke="#00C389" x="75" y="30" width="60" height="10" fill-opacity="0.25" stroke-opacity="0.25"/>
<rect fill="#00C389" stroke="#00C389" x="140" y="30" width="60" height="10" fill-opacity="0.4" stroke-opacity="0.4"/>
<rect fill="#00C389" stroke="#00C389" x="205" y="30" width="60" height="10" fill-opacity="0.55" stroke-opacity="0.55"/>
<rect fill="#00C389" stroke="#00C389" x="270" y="30" width="60" height="10" fill-opacity="0.7" stroke-opacity="0.7"/>
<rect fill="#00C389" stroke="#00C389" x="335" y="30" width="60" height="10" fill-opacity="0.95" stroke-opacity="0.95"/>
#aveticamenu-carousel .sectionimage{
display:none;
}
#aveticamenu-carousel .carousel-content .list-item{
opacity:1 !important;
}
#aveticamenu-carousel .marker-2 div div{
background-color:#575757;
height:10px;
}
<?php
$str = 'UPDATE mdl_grade_grades SET itemid = ?,userid = ?,rawgrade = ?,rawgrademax = ?,rawgrademin = ?,rawscaleid = ?,usermodified = ?,finalgrade = ?,hidden = ?,locked = ?,locktime = ?,exported = ?,overridden = ?,excluded = ?,timecreated = ?,timemodified = ?,aggregationstatus = ?,aggregationweight = ?,feedback = ?,feedbackformat = ?,information = ?,informationformat = ? WHERE id=?';
// Stackoverflow code. Quick and dirty solution to convert PDO mysql queries.
function sql_debug($sql_string, array $params = null) {
if (!empty($params)) {
$indexed = $params == array_values($params);
foreach($params as $k=>$v) {
if (is_object($v)) {
<?php
use Behat\Behat\Context\Context;
use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Behat\Tester\Exception\PendingException;
use Behat\Gherkin\Node\PyStringNode;
use Behat\Gherkin\Node\TableNode;
use Facebook\WebDriver\Remote\DesiredCapabilities;
use Facebook\WebDriver\Remote\RemoteWebDriver;
<?php
// Temp
foreach(range(24,300) as $i){
$backend = new tool_generator_course_backend(
'DUMMY' . $i,
0,
false,
false,
false,
window.addEventListener('load', () => {
document.body.classList.remove('preload')
});
(function () {
window.__onThemeChange = function () {};
function setTheme(newTheme) {
window.__theme = newTheme;
preferredTheme = newTheme;
{
"admin":{
"id":null,
"name":"Sitebeheer",
"link":"http:\/\/moodle35.web04.domein.nl\/admin\/search.php",
"hidden":false,
"haschildren":true,
"children":[
{
"id":null,
@luukverhoeven
luukverhoeven / config.plist
Last active February 10, 2020 13:43
AMD-opencore / SURF10
<?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>ACPI</key>
<dict>
<key>Add</key>
<array>
<dict>
<key>Comment</key>
@luukverhoeven
luukverhoeven / AdobeFixAMD
Created February 10, 2020 16:08 — forked from XLNCs/AdobeFixAMD
To fix adobe products crashes on AMD hackintosh
___ADOBE CRASH FIX BY XLNC___
USAGE : Open terminal and run the below commands as required.
NOTE: File path changes in each version release. So if the file is not found you can find the specified file manually and replace the path in the below commands.
You can also use this command to find the location of a specific adobe file :
eg:- if you want to search for MMXCore then run this command :
find /Applications/Adobe* -type f -name "MMXCore" | sed 's/ /\\ /g'
Photoshop crash fix :-