Note: This is the guide for v 2.x.
For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.
Download: StarUML.io
Source: jorgeancal
"International Date Line West"=>"Etc/GMT+12", | |
"Midway Island"=>"Pacific/Midway", | |
"American Samoa"=>"Pacific/Pago_Pago", | |
"Hawaii"=>"Pacific/Honolulu", | |
"Alaska"=>"America/Juneau", | |
"Pacific Time (US & Canada)"=>"America/Los_Angeles", | |
"Tijuana"=>"America/Tijuana", | |
"Mountain Time (US & Canada)"=>"America/Denver", | |
"Arizona"=>"America/Phoenix", | |
"Chihuahua"=>"America/Chihuahua", |
Note: This is the guide for v 2.x.
For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.
Download: StarUML.io
Source: jorgeancal
Recientemente StarUML se actualizó de 2.0 a 3.0. El método de crack original, la forma de modificar la función de verificación de licencia no se puede usar. La ubicación de instalación ha cambiado y se ha encontrado el archivo LicenseManagerDomain.js. ¿Qué debería hacer? El viejo conductor les dijo a todos que resolvieran el problema.
StarUML está escrito en nodejs. Específicamente, está escrito en el marco frontal de Electron. Todo el código fuente de starUML en la nueva versión viene empaquetado por la herramienta asar.
C:\Program Files\StarUML\resources
Credits to kharek for his answer here. But his answer was for an older version (2.8). There are some minor tweaks for getting it to work on the latest version (StarUML-3.0.2-x86_64.AppImage).
Here's a complete guide (for newbies) (it worked for me on Ubuntu 18.04.1 LTS):
sudo chmod +x StarUML-3.0.2-x86_64.AppImage
sudo apt install npm
sudo npm install -g asar
asar
from the terminal. You need to update your $PATH
variable to include the .npm-global
directory to directly call globally installed npm packages. This can be done by adding export PATH="/home/$USER/.npm-global/bin:$PATH"
(may"use strict"; | |
// ATTENTION! Requires `npm install websocket` to run | |
var url = require("url"), | |
http = require("http"), | |
WebSocketClient = require("websocket").client; | |
function usage() | |
{ |
Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.
#!/bin/bash | |
# Make sure you are up to date | |
yum -y update && yum -y install wget | |
# Install EPEL repository | |
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
# Get us a clean working directory | |
mkdir /php |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now up to date" |
<?php | |
define('ROOT_PATH', $_SERVER['DOCUMENT_ROOT'].'/rest_api_d2/'); | |
define('CONTROLLER_PATH', ROOT_PATH.'app/controllers/'); | |
define('MODEL_PATH', ROOT_PATH.'app/db/'); | |
define('VIEW_PATH', ROOT_PATH.'app/views/'); | |
?> |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# http://docs.python.org/tutorial/datastructures.html | |
l = [ 1, 10, 4, 2, 4, 3, 3, 1, 1, 3] | |
print l | |
promedio = sum(l)/len(l) |