Showing posts with label Create. Show all posts
Showing posts with label Create. Show all posts

05 June 2024

09 May 2024

How to create a virtual environment with preinstalled packages as in requirements.txt

https://stackoverflow.com/questions/41427500/creating-a-virtualenv-with-preinstalled-packages-as-in-requirements-txt

$ git clone <repo>

$ cd <repo>

$ sudo apt install python3-venv (if you don't already have virtualenv installed)

$ python3 -m venv venv/ to create your new environment (called 'venv/' here)

$ source venv/bin/activate to enter the virtual environment

$ pip install -r requirements.txt to install the requirements in the current environment

05 July 2022

How to give author, editor, viewer permissions to room calendars?

On exchange server 2010, Exchange Management Console, mailbox > 'new mailbox' > 'room mailbox' > 'new user' 

On active directory, you will see the new room mailbox, disabled. Enable it. Create a password.


On EMC, 'distribution group' > 'new distribution group', create groups to be given (author, edit, review) permission to the new room mailbox.

Add users to each distribution group.

Log on any computer with the new room user. Open MS Outlook > new room mailbox calendar, grant each group permission to the new room mailbox calendar. (After a user is migrated to Office 365, we then can not add remote user to room calendars)

26 June 2021

On Windows, How to Install, Create and Activate a Python Virtual Environment (Project) for Django? mkvirtualenv is not recognized as an internal or external command, operable program or batch file

 (For Windows)

How to Install, Create and Activate a Python Virtual Environment (Project) for Django? 

mkvirtualenv is not recognized as an internal or external command, operable program or batch file


https://stackoverflow.com/questions/56778211/error-message-mkvirtualenv-is-not-recognized-as-an-internal-or-external-command


For Python 3.3 or newer, Commands for installing, creating and activate virtual environment has been changed.

You can install virtual environment using pip:

py -m pip install --user virtualenv

For creating new environment:

py -m venv myproject

To activate your virtual environment:

.\myproject\Scripts\activate

After activating virtual environment, You’ll see “(myproject)” next to the command prompt.

04 November 2020

How to create local account on Windows using command?

How to create local account on Windows using command?

https://pureinfotech.com/create-local-account-windows-10/

If you’re comfortable typing command lines, it’s actually a lot faster to create a local account on Windows 10 using Command Prompt.

To create a local account on Windows 10 with Command Prompt, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the result, and select the Run as administrator option.

  3. Type the following command and press Enter:

    net user USER_NAME PASSWORD /add

    In the above command make sure to change USER_NAME and PASSWORD with the credentials you want to use for the new user account.

  4. Type the following command to add the newly created account to the Administrators group and press Enter:

    net localgroup administrators USER_ACCOUNT /add
    Creating admin local account using Command Prompt
    Creating admin local account using Command Prompt

    In the command, make sure to replace USER_ACCOUNT with the account name you want to add to the administrators group.

If you want to test the new changes, sign-out and you’ll notice the new user account sitting in the bottom-left corner of the screen. Then select the new user account and sign in.

It’s also possible to create a local account using PowerShell, and here are the steps.

How to change local account using Command Prompt

To change the account type from standard to administrator, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the result, and select the Run as administrator option.

  3. Type the following command to add the newly created account to the Administrators group and press Enter:

    net localgroup administrators USER_ACCOUNT /add
    Creating admin local account using Command Prompt
    Creating admin local account using Command Prompt

    In the command, make sure to replace USER_ACCOUNT with the account name you want to add to the administrators group.

Once you complete the steps, the next time the users signs in, the account will have administrative privileges, meaning that the users will be able to install apps, modify system settings, and pretty much unlimited access to the device.

How to delete local account using Command Prompt

To change the account type from standard to administrator, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the result, and select the Run as administrator option.

  3. Type the following command to add the newly created account to the Administrators group and press Enter:

    net user USER_ACCOUNT /del

    In the command, make sure to change USER_ACCOUNT for account name you want to delete.

Once you complete the steps, the next time the users signs in, the account will have administrative privileges, meaning that the users will be able to install apps, modify system settings, and pretty much unlimited access to the device.

Update January 29, 2020: This guide was originally published in October 2015, and it’s been updated in January 2020 to reflect the new changes.

24 August 2016

Why can I not create new sublayers in Illustrator CS5 ?

https://forums.adobe.com/thread/2026207


Monika Gause 5-Dec-2015 12:59 PM (in response to stuart schmaling
                    
What is selected when you try to add a sublayer?
 
sublayers can only be added if the layer is highlighted in the layer panel. Not when an object is highlighted.
 
No sublayer:
Bildschirmfoto 2015-12-05 um 21.57.53.png
 
Sublayer possible
Bildschirmfoto 2015-12-05 um 21.58.03.png
Bildschirmfoto 2015-12-05 um 21.57.46.png
                               

21 December 2015

Word with Chinese Contents Can not be Converted into PDF | There is NO PDFMaker | There is NO PDF Menu

If an Office document contains both English and Chinese, then after I have removed the Chinese words in it, it will be able to be converted into PDF.

My Office is 2010 64bit. My Adobe Acrobat is X Pro (10.0.0)

The problems in the subject happen only when your Office is 2010 64bit (32bit Office does not have those problems) and your Adobe Acrobat is X (10.0.0 or older) (10.1 or newer Acrobat does not have those problems.)

Solution: Within Acrobat, click Help | Check for Updates.. After installing the updates, version of Acrobat will become 10.1.16 (on 21 December 2015) or newer.

Install a patch from here -

http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows

After you have installed the patch, the problems in the subject will be gone.