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
# first check if any | |
swapon -s | |
# then add some if not | |
sudo fallocate -l 1G /swapfile | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
sudo cp /etc/fstab /etc/fstab.bak | |
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab |
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
#nginx config file for Nextjs App | |
#place in /etc/nginx/sites-available/name_of_config_file | |
server { | |
listen 80; | |
server_name domainname.com; | |
gzip on; | |
gzip_proxied any; | |
gzip_types application/javascript application/x-javascript text/css text/javascript; | |
gzip_comp_level 5; |
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": 101, | |
"name": "India", | |
"iso3": "IND", | |
"iso2": "IN", | |
"numeric_code": "356", | |
"phone_code": "91", | |
"capital": "New Delhi", | |
"currency": "INR", | |
"currency_name": "Indian rupee", |
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
{ | |
// Place your snippets for typescriptreact here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
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
<scheme name="Visual Studio Dark copy" version="142"> | |
<metaInfo> | |
<property name="created">2016-11-23T10:08:43</property> | |
<property name="ide">Rider</property> | |
<property name="ideVersion">1.0.0.0</property> | |
<property name="modified">2016-11-23T10:15:18</property> | |
<property name="originalScheme">Visual Studio Dark</property> | |
</metaInfo> | |
<option name="EDITOR_FONT_SIZE" value="12" /> | |
<option name="EDITOR_LIGATURES" value="true" /> |
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
### | |
# Unity folders and files | |
### | |
[Aa]ssets/AssetStoreTools* | |
[Bb]uild/ | |
[Ll]ibrary/ | |
[Ll]ocal[Cc]ache/ | |
[Oo]bj/ | |
[Tt]emp/ | |
[Uu]nityGenerated/ |