This file contains 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 | |
$words = [ | |
"No" | |
]; | |
$background = "black"; | |
$colour = "white"; | |
?> | |
<head> | |
<title>Is something working yet?</title> |
This file contains 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
#!/bin/bash | |
URL1="http://example.com" | |
URL2="http://example.com" | |
URL3="http://example.com" | |
unclutter -idle 0 & # Make sure unclutter has been installed. Hides the cursor. | |
chromium-browser $URL1 $URL2 $URL3 -kiosk --disable-session-crashed-bubble --disable-infobars |
This file contains 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
@echo off | |
SET source=C:\ | |
del %source%cacert.pem.bak | |
rename %source%cacert.pem cacert.pem.bak | |
wget.exe -O %source%cacert.pem "https://curl.haxx.se/ca/cacert.pem" |
This file contains 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 | |
include_once(__DIR__."/../wp-load.php"); | |
$usr = get_user_by('ID', 1); | |
wp_clear_auth_cookie(); | |
wp_set_current_user($usr->ID); | |
wp_set_auth_cookie($usr->ID); | |
wp_safe_redirect(user_admin_url()); | |
exit(); |
This file contains 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
alias php='docker run -it --rm php:7.3-alpine ' | |
alias composer='docker run -it --rm --volume $PWD:/app --user $(id -u):$(id -g) composer ' |
This file contains 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
version: '3.6' | |
services: | |
wp_db: | |
image: mysql:latest | |
command: --default-authentication-plugin=mysql_native_password | |
environment: | |
MYSQL_ROOT_PASSWORD: password123 | |
wp_db_admin: | |
depends_on: | |
- wp_db |
This file contains 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
#! /bin/bash | |
_DEB_VER=8 | |
_MSSQL_VER=5.6.1 | |
_PHP_VER=7.2 | |
# Grab dependencies, then add Microsoft repo and grab further dependencies. | |
apt-get -q update | |
apt-get install -qy curl apt-transport-https wget gnupg build-essential autoconf pkg-config | |
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - |
This file contains 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
param ( | |
[Parameter(Mandatory=$true)][string]$version | |
) | |
if( Test-Path -Path ".\upgrade-php.xml" ) { | |
[xml]$configFile= get-content ".\upgrade-php.xml"; | |
foreach ($option in $configFile.configuration.config) { | |
New-variable -Name $option.key -Value $option.value; | |
} | |
} else { |
This file contains 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
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) | |
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) | |
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) | |
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04) | |
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) | |
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04) | |
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) | |
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) | |
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) | |
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB |
This file contains 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>ACPI</key> | |
<dict> | |
<key>SSDT</key> | |
<dict> | |
<key>DropOem</key> | |
<false/> |
OlderNewer