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
default: [SUCCESS]: Magento installation complete. | |
default: [SUCCESS]: Magento Admin URI: /admin_ysf082 | |
default: Nothing to import. | |
default: Enabled developer mode. | |
default: <warning>Warning from repo.magento.com: You haven't provided your Magento authentication keys. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html</warning> |
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
default: [SUCCESS]: Magento installation complete. | |
default: [SUCCESS]: Magento Admin URI: /admin_ysf082 | |
default: Nothing to import. | |
default: Enabled developer mode. | |
default: <warning>Warning from repo.magento.com: You haven't provided your Magento authentication keys. For instructions, visit https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html</warning> |
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
# Change permissions for webroot directory | |
chown "${user}":www-data "${webroot}" | |
# Create auth.json required for magento installation | |
sudo -u "${user}" bash -c "mkdir ${home}/.composer" | |
sudo -u "${user}" bash -c "tee ${home}/.composer/auth.json" > /dev/null <<ILOVEBASH | |
{ | |
"github-oauth": { | |
"github.com": "${github_pa_token}" | |
}, |
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
#include <stdio.h> | |
#include <Windows.h> | |
/* | |
* Small utility function to print the values from MEMORY_BASIC_INFORMATION64 struct | |
*/ | |
void PrintMemoryBasicInformation64(MEMORY_BASIC_INFORMATION64 *mbi) | |
{ | |
printf("Base Address: %p\n", mbi->BaseAddress); | |
printf("Allocation Base Address: %p\n", mbi->AllocationBase); |
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
#include <stdio.h> | |
#include <Windows.h> | |
int main(int argc, char** argv) | |
{ | |
int pid = 10964; | |
DWORD_PTR addr = 0x7FF7BD730000; | |
/* | |
* Get a handle for process with specific process id |
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
#include <stdio.h> | |
#include <Windows.h> | |
int main(int argc, char** argv) | |
{ | |
int pid = 10964; | |
DWORD_PTR addr = 0x7FF7BD730000; | |
return 0; | |
} |
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 | |
UNPRIVILAGED_USER=roger_the_dodger | |
CERTBOT_EMAIL=your@email.here | |
APP_DIR=$UNPRIVILAGED_USER_HOME/api | |
PM2=$APP_DIR/node_modules/pm2/bin/pm2 | |
UNPRIVILAGED_USER_HOME=/home/$UNPRIVILAGED_USER | |
NODE_VERSION=https://deb.nodesource.com/setup_10.x | |
# Update before downloading Node install script |
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 | |
/* | |
* This script was created by James Jeffery for use in the following video: https://youtu.be/KNMTmiZQPZU | |
* This script is completely free - as in free beer :) | |
*/ | |
if (!isset($argv[1]) || empty($argv[1])) { | |
exit ("You must provide a keyword"); | |
} |
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
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { library, dom } from '@fortawesome/fontawesome-svg-core' | |
import { faSnapchat } from "@fortawesome/free-brands-svg-icons" | |
import { | |
faGlobe, | |
faMars, | |
faVenus, | |
faCameraRetro, | |
faPlus |
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
import React from 'react' | |
export default ({ | |
error, | |
icon, | |
label, | |
placeholder | |
}) => ( | |
<div className="field"> | |
<label className="label">{label}</label> |