[100%] Built target gpclient
-- Install configuration: "Release"
-- Installing: /usr/bin/gpservice
-- Installing: /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
-- Installing: /usr/share/dbus-1/system-services/com.yuezk.qt.GPService.service
-- Installing: /etc/gpservice/gp.conf
-- Installing: /usr/lib/systemd/system/gpservice.service
-- Installing: /usr/bin/gpclient
-- Installing: /usr/share/metainfo/com.yuezk.qt.gpclient.metainfo.xml
This file contains hidden or 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 | |
$ms = (int) ($_GET['ms'] ?? 1000); | |
if ($ms < 1) { | |
$ms = 1000; | |
} | |
?> | |
<html> | |
<head> |
This file contains hidden or 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 | |
./vendor/bin/phpcs . > phpcs_results | |
php -r ' | |
$contents = file_get_contents("phpcs_results"); | |
$contents = explode(PHP_EOL, $contents); | |
$currentFile = ""; | |
$rules = []; | |
foreach ($contents as $line) { |
This file contains hidden or 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 | |
# | |
# - Finds all crontab.xml files within a Magento project | |
# - Collects all group name, job name, and schedules within these files | |
# - Outputs to screen this information, sorted by group & job name | |
# | |
php -r ' | |
$results = []; |
This file contains hidden or 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
# This assumes that you have your Magento project and its dependent composer packages in separate repositories. | |
# | |
# While developing directly inside the vendor/VENDOR_NAME/PACKAGE_NAME/ of Magento is possible, this practice | |
# can potentially lead to mistakes being made and work lost, as the vendor/ diretory should be treated | |
# as volatile and able to be deleted at any time. | |
# Values below in capital letters are the variable aspects of these instructions. | |
# navigate to your package root and create a new branch for your development purposes | |
cd /PATH/TO/COMPOSER_PACKAGE/ |
This file contains hidden or 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
select | |
t3.entity_type_code, | |
t2.attribute_code, | |
t2.attribute_model, | |
t2.backend_model, | |
t2.backend_type, | |
t2.backend_table, | |
t2.frontend_model, | |
t2.frontend_input, | |
t2.frontend_label, |
This file contains hidden or 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
nvidia-settings --assign GPULogoBrightness=0 |
This file contains hidden or 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 | |
declare(strict_types=1); | |
$format = '"=IMPORTRANGE(""%s"",""%s!H1"")"'; | |
$months = [ | |
"JAN", | |
"FEB", | |
"MAR", |
# Adding Certificate Authority
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ca-filename.crt
# Adding Certificate trusted for SSL
sudo security add-trusted-cert -d -k /Library/Keychains/System.keychain -r trustAsRoot -p ssl filename.crt
This file contains hidden or 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 | |
declare(strict_types=1); | |
namespace Kobens\Gemini\Report\YearToDateVolume; | |
interface DataProviderInterface | |
{ | |
/** | |
* @return \Kobens\Gemini\ApiModels\TradeInterface[] |
NewerOlder