Skip to content

Instantly share code, notes, and snippets.

@adierebel
Created December 11, 2020 13:38
Show Gist options
  • Save adierebel/0f7c2acb713545d684a40e055bdfe833 to your computer and use it in GitHub Desktop.
Save adierebel/0f7c2acb713545d684a40e055bdfe833 to your computer and use it in GitHub Desktop.
VSCode Settings
{
"breadcrumbs.enabled": false,
"window.titleBarStyle": "custom",
"editor.renderWhitespace": "boundary",
"editor.insertSpaces": false,
"editor.smoothScrolling": true,
"workbench.colorTheme": "Community Material Theme High Contrast",
"workbench.iconTheme": "eq-material-theme-icons",
"workbench.colorCustomizations": {
"sideBar.background": "#192227",
"editor.background": "#192227",
"tab.border": "#192227",
"tab.inactiveBackground": "#192227",
"editorGroupHeader.tabsBackground": "#192227",
"menu.background": "#192227",
},
"workbench.startupEditor": "newUntitledFile",
"editor.renderControlCharacters": false,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "meta.function-call.generic.python",
"settings": {
"foreground": "#82AAFF"
}
}
]
},
"window.zoomLevel": 0,
"extensions.ignoreRecommendations": true,
"files.associations": {
"*.html": "twig"
},
"editor.suggestSelection": "first",
}
@adierebel
Copy link
Author

Android SDK

export ANDROID_HOME=/opt/android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools

Java

export _JAVA_OPTIONS=-Dawt.useSystemAAFontSettings=lcd
export JAVA_HOME="/mnt/extra/java-jdk/jdk1.8.0_181"
export JDK_HOME="/mnt/extra/java-jdk/jdk1.8.0_181"
export PATH=$JAVA_HOME/bin:$PATH

@adierebel
Copy link
Author

server {
	listen 80;
	listen [::]:80;

	client_max_body_size 16M;

	location / {
		proxy_pass              http://127.0.0.1:8080;
		proxy_set_header        Host        $host;
		proxy_set_header        X-Real-IP   $remote_addr;
		proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
	}   
}
server {
	listen 8181;
	listen [::]:8181;

	location / {
		root /home/suryadi/Share;
		autoindex on;
	}   
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment