Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
.
{'!AjaxForm' | snippet : [ | |
'snippet' => 'FormIt', | |
'form' => 'orderFormTpl', | |
'emailTpl' => 'orderEmailTpl', | |
'hooks' => 'email', | |
'emailFrom' => $_modx->config.emailsender, | |
'emailFromName' => $_modx->config.site_name, | |
'emailSubject' => 'Заявка на подбор оборудования {$_modx->config.site_name}', | |
'emailTo' => $_modx->config.emailsender, | |
'validate' => 'name:required,phone:oneOfTwoFields,email:oneOfTwoFields,link:blank', |
<?php | |
ini_set("max_execution_time", 0); | |
ignore_user_abort(true); | |
$current_prefix = $modx->config['table_prefix']; | |
$new_prefix = 'My_Prefix234_'; | |
$stmt = $modx->query("SHOW TABLES"); | |
$tables = $stmt->fetchAll(PDO::FETCH_NUM); |
#!/bin/bash | |
SITE_DIR=/Users/$USER/Sites | |
DOT_LOCAL=.local | |
echo $HOME | |
echo $USER | |
echo -e "Введите название проекта (Например example)"; | |
read PROJECT |
[user] | |
name = NAME | |
email = NAME@g**l.com | |
[core] | |
editor = mcedit | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
df = diff --ignore-space-at-eol |
# This file contains pin mappings for the 2017 Creality CR-10S with a MKS Gen-L board. To use | |
# this config, the firmware should be compiled for the AVR atmega2560. | |
# See the example.cfg file for a description of available parameters. | |
[stepper_x] | |
step_pin: ar54 | |
dir_pin: ar55 | |
enable_pin: !ar38 | |
step_distance: .0125 |
Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.
On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
.
#!/bin/bash | |
MJPGSTREAMER_HOME=/home/pi/mjpg-streamer | |
MJPGSTREAMER_INPUT_USB="input_uvc.so" | |
MJPGSTREAMER_INPUT_RASPICAM="input_raspicam.so" | |
# init configuration | |
camera="auto" | |
camera_usb_options="-r 640x480 -f 10" | |
camera_raspi_options="-fps 10 -br 60" |
<?php | |
define('MODX_API_MODE', true); | |
require 'index.php'; | |
$modx->getService('error', 'error.modError'); | |
$modx->setLogLevel(modX::LOG_LEVEL_ERROR); | |
$modx->setLogTarget('ECHO'); | |
if (!XPDO_CLI_MODE) { | |
echo '<pre>'; | |
} |
<?php | |
if (empty($parent)) {$parent = $modx->resource->id;} | |
$pids = array_merge(array($parent), $modx->getChildIds($parent)); | |
$ids = array(); | |
$q = $modx->newQuery('msProduct'); | |
$q->where(array('class_key' => 'msProduct','parent:IN' => $pids,'published' => 1,'deleted' => 0)); | |
$q->select('`msProduct`.`id`'); | |
if ($q->prepare() && $q->stmt->execute()) { | |
$ids = $q->stmt->fetchAll(PDO::FETCH_COLUMN); |
<?php | |
define('MODX_API_MODE', true); | |
require_once dirname(dirname(__FILE__)) . '/core/config/config.inc.php'; | |
require_once MODX_BASE_PATH . 'index.php'; | |
if (empty($_GET['text'])) { | |
die('введите текст'); | |
} |