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 | |
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('введите текст'); | |
} |
<?php | |
// provider id => array of packages | |
$listPackagesToInstall = array( | |
1 => array( // standart modx provider | |
'sdStore' | |
, 'translit' | |
, 'SanitizeUpload' | |
, 'TinyMCE' | |
, 'FormIt' |
<?php | |
if ($modx->getOption('http_host') == 'YOUR_DOMAIN_HERE') { | |
$op = '<script type="text/javascript"> | |
Ext.onReady(function() { | |
document.getElementById("modx-login-username").value = "USER"; | |
document.getElementById("modx-login-password").value = "PASS"; | |
document.getElementById("modx-login-btn").click(); | |
}); | |
</script>'; |