Skip to content

Instantly share code, notes, and snippets.

View josephgoksu's full-sized avatar
🏛️
crafting

Joseph Goksu josephgoksu

🏛️
crafting
View GitHub Profile
@josephgoksu
josephgoksu / createvirtualenvironment.md
Created August 14, 2018 07:15
Creating a Virtual Environment #python

$ mkdir Environments $ cd Environments

$ python3.6 -m venv my_env

$ source my_env/bin/activate

@josephgoksu
josephgoksu / signature.html
Last active May 17, 2018 20:57
my email signature
<table cellPadding="0" cellSpacing="0" style="-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;margin-bottom:7px">
<tbody>
<tr>
<td style="vertical-align:top">
<img alt="" src="https://pbs.twimg.com/profile_images/976043631663513600/523CL60c.jpg" width="85" height="85" style="max-width:90px;max-height:90px;margin-right:10px;border-radius: 10px;"/>
</td>
<td>
<div style="font-size:0.9em;white-space:nowrap;border-left:2px solid #7bed9f;padding-left:10px">
<div style="color:#2c3e50">Yusuf E. Göksu</div>
<div style="color:#2c3e50; margin-bottom: 7px">Software Developer @<a href="https://neutrinosoft.com" style="text-decoration: none; color:#353b48"><b>Neutrino</b></a><a href="https://neutrinosoft.com" style="text-decoration:none; color:#273c75"><b>soft</b></a>
@josephgoksu
josephgoksu / FilesAndDirectories.md
Last active March 5, 2018 09:30
Important Nginx Files, Directories and Commands

Files And Directories

Content

/var/www/html: The actual web content, which by default only consists of the default Nginx page you saw earlier, is served out of the /var/www/html directory. This can be changed by altering Nginx configuration files.

Server Configuration

/etc/nginx: The Nginx configuration directory. All of the Nginx configuration files reside here.

@josephgoksu
josephgoksu / nginx.conf
Created January 12, 2018 22:23
Nginx Example Conf
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#