This file contains 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
# 1. Change owner of /var/www/html directory to apache user, here: www-data | |
sudo chown -R www-data:www-data /var/www/html | |
# 2. Allow Group to edit | |
sudo chmod -R 775 /var/www/html | |
# 3. Add yourself to apache group(www-data) | |
sudo usermod -a -G www-data ${USER} | |
This file contains 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
How to get HEVC Video Extensions from Device Manufacturer for free 2023: | |
1: Go to https://store.rg-adguard.net/ | |
2: Select ProductID and paste in 9n4wgh0z6vhq then press ✔ to search | |
3: Select right one for your cpu type and download the .appx file then install by clicking on the file | |
enjoy |
This file contains 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
Source: | |
https://docs.microsoft.com/en-us/DeployOffice/vlactivation/gvlks | |
GVLKs for Office 2019 | |
===================== | |
Office Professional Plus 2019 | |
NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP | |
Office Standard 2019 |
This file contains 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 is a basic workflow to help you get started with Actions | |
name: Build, Release app to Github Pages and Firebase Hosting | |
# name: Test, Build and Release apk | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: | |
- master |
This file contains 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
/** | |
* | |
* Input any number in Bengali and the following function will return the English number. | |
* | |
*/ | |
function bn2enNumber ($number){ | |
$search_array= array("১", "২", "৩", "৪", "৫", "৬", "৭", "৮", "৯", "০"); | |
$replace_array= array("1", "2", "3", "4", "5", "6", "7", "8", "9", "0"); | |
$en_number = str_replace($search_array, $replace_array, $number); |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
This file has been truncated, but you can view the full file.
This file contains 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
[{ | |
"id": "1", | |
"title": "Two Sum", | |
"question": "Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.\nYou may assume that each input would have exactly one solution, and you may not use the same element twice.\nYou can return the answer in any order.", | |
"examples": [ | |
"Input: nums = [2,7,11,15], target = 9", | |
"Output: [0,1]", | |
"Output: Because nums[0] + nums[1] == 9, we return [0, 1].", | |
"Input: nums = [3,2,4], target = 6", |
Pre-reqs:
- Have Python 3 installed. On macOS, this could be installed from homebrew or even via standard Python 3.6 downloaded installer from https://www.python.org/download. On Linux, just use your package manager.
- On macOS:
- Install XCode from the Mac App Store (or install the XCode command line utils).
- Have homebrew installed
- On Linux:
This file contains 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 | |
/** | |
* Function: convert_number | |
* | |
* Description: | |
* Converts a given integer (in range [0..1T-1], inclusive) into | |
* alphabetical format ("one", "two", etc.) | |
* | |
* @int | |
* |
NewerOlder