Skip to content

Instantly share code, notes, and snippets.

@mistergraphx
mistergraphx / README.md
Last active March 10, 2022 13:51 — forked from senorihl/README.md
Preserve merge order

Bash script for clean staging branch

Installation

On Mac Os 11 first install wget and tac

brew install wget
brew install coreutils
@mistergraphx
mistergraphx / voltDebug.md
Last active December 21, 2021 11:18
Volt debug table
{% for prop,value in node %} {{ prop }}
DEBUG
@mistergraphx
mistergraphx / .gitignore
Created July 21, 2020 10:30
spip gitignore #SPIP
config/
plugins/
ecrire/
IMG/
lib/
plugins-dist/
prive/
squelettes-dist/
local/
tmp/
@mistergraphx
mistergraphx / wp_sample_robots_txt
Created July 15, 2020 10:47
optimized robots.txt for wp
# Sample robots.txt
# replace domain.com with your website url
User-agent: *
Sitemap: https://domain.com/page-sitemap.xml
# Sitemap: https://domain.com/program-sitemap.xml
# Sitemap: https://domain.com/campus-sitemap.xml
# Sitemap: https://domain.com/event-sitemap.xml
# Sitemap: https://domain.com/campus-sitemap.xml
@mistergraphx
mistergraphx / orion-child.scss
Created March 26, 2020 16:17
A collection of never do that again !!
/*
Theme Name: Orio Child
Theme URI: http://www.spab-rice.com/themes
Description: Orio child Theme.
Version: 1.0
Author: Spab Rice
Author URI: http://www.spab-rice.com
Tags: portfolio
Template: orio
@mistergraphx
mistergraphx / .spip-gitignore
Created October 27, 2019 15:56
Default .gitignore file for SPIP CMS
/config/
/ecrire/
/IMG/
/local/
/plugins/auto/
/plugins-dist/
/prive/
/squelettes-dist/
/tmp/
index.php
<div class="text">
<p>Texte</p>
</div>
<div class="color-variables">
<p class="left">Texte</p>
</div>
@mistergraphx
mistergraphx / SassMeister-input-HTML.html
Last active September 25, 2019 13:03
timing utilities Generated by SassMeister.com.
<div data-delay="soft" class="text">
<p>Texte</p>
</div>
<div data-delay="medium" class="text">
<p>Texte</p>
</div>
/** Creating and Deploying using Git, Github and PHP **/
Prerequisites:
Server: SSH Acces, PHP, Git
Local: SSH, Git
0.Create a PHP file in your project called "deploy.php" with this content: /*<?php `git pull`;*/
1. Create Your Github Repo
2. Go to your project folder and initiate a git repository
@mistergraphx
mistergraphx / .editorconfig
Created June 23, 2019 06:15
.editorconfig
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true