Skip to content

Instantly share code, notes, and snippets.

@sunweiye
sunweiye / django_on_strato.md
Created June 18, 2020 13:08 — forked from jbs1/django_on_strato.md
Django on STRATO webhosting server

From STRATO Hosting Basic and up python is enabled on the server. Hosting plans

You can connect to the sever via SSH through ssh <your domain>@ssh.strato.de. The Password is you 'Masterpasswort'.

Since you have neither sudo access nor apt-get or something similar, you have to improvise.

First download and install PIP in the user dir and then install Django:

wget https://bootstrap.pypa.io/get-pip.py
@sunweiye
sunweiye / nginx.conf
Created November 28, 2019 09:40 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@sunweiye
sunweiye / meta-tags.md
Created August 28, 2019 07:47 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset="UTF-8">
<meta name="keywords" content="your, tags">
<meta name="description" content="150 words">
<meta name="subject" content="your website"s subject">
<meta name="copyright" content="company name">
@sunweiye
sunweiye / reference.yml
Created October 6, 2018 14:25 — forked from mnapoli/reference.yml
Doctrine YAML configuration reference
# Inspired from http://blog.hio.fr/2011/09/17/doctrine2-yaml-mapping-example.html
MyEntity:
type: entity
repositoryClass: MyRepositoryClass
table: my_entity
namedQueries:
all: "SELECT u FROM __CLASS__ u"
# Class-Table-Inheritance
@sunweiye
sunweiye / ansible-summary.md
Created September 4, 2018 14:53 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@sunweiye
sunweiye / ALTERNATIVES.adoc
Created August 18, 2018 22:01 — forked from mbbx6spp/ALTERNATIVES.adoc
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
@sunweiye
sunweiye / gist:99417bc8b151324f43b15c6a282c5ee2
Created July 20, 2018 12:13 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: