Skip to content

Instantly share code, notes, and snippets.

View knows1's full-sized avatar
:octocat:

sami knows1

:octocat:
  • knows1
  • DEUTSCHLAND
View GitHub Profile
@knows1
knows1 / default-ssl.conf
Created July 20, 2019 17:39 — forked from tylrd/default-ssl.conf
setting up apache in ubuntu
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin admin@example.com
ServerName your_domain.com
ServerAlias www.your_domain.com
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
@knows1
knows1 / composer
Last active December 22, 2018 08:40
Cannot create cache directory /home/ubuntu/.composer/cache/repo/https---repo.packagist.org
/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/ubuntu/.composer/cache/files/, or directory is not wri
table. Proceeding without cache
--hal--
#curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
#drwxr-xr-x 3 root staff 102 Oct 1 10:50 .composer
#sudo chown -R $USER $HOME/.composer
-----------------------------------------------------------------------------------------------------
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
<div class="container">
<h3 class="pb-3 mb-4 font-italic border-bottom">
Card Styles
</h3>
@knows1
knows1 / blogger.xml
Created December 16, 2018 07:36 — forked from jxcodetw/blogger.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:version='2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<meta content='width=device-width, initial-scale=1' name='viewport'/>
<title><data:view.title.escaped/></title>
<b:include data='blog' name='all-head-content'/>
<!-- CSS STARTS -->
<b:skin><![CDATA[
body, pre{ font-size: 1rem; font-style: normal; font-family: Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif; text-rendering: geometricPrecision; background: #002b36; color: #93a1a1; line-height: 1.4rem;}a { color: #ff9800; text-decoration: none; border-bottom: 1px solid #ff2e88;}a[href*="://"]:after { content: " " url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20class='i-external'%20viewBox='0%200
@knows1
knows1 / kwt.html
Created December 16, 2018 06:07 — forked from kowata/kwt.html
Blogger のテンプレート
<!--
*Navbar を隠したい場合は、24〜26行をコメントアウト。
*CSSは別のとこに置くと楽です。
*GAタグは不要です。管理画面でトラッキングIDを入力すれば有効になります。
-->
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
@knows1
knows1 / GitCommitEmoji.md
Created November 6, 2018 00:29 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji