Skip to content

Instantly share code, notes, and snippets.

View Vagrantin's full-sized avatar

MatthDuc Vagrantin

View GitHub Profile
@Vagrantin
Vagrantin / Debug.log
Created May 11, 2019 12:33
vagrant-windows debug output
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
Forwarding(0)="rdp,tcp,,3390,,3389"
Forwarding(1)="ssh,tcp,127.0.0.1,2222,,22"
Forwarding(2)="winrm,tcp,127.0.0.1,55985,,5985"
Forwarding(3)="winrm-ssl,tcp,127.0.0.1,55986,,5986"
@Vagrantin
Vagrantin / mirror_remote_directory_to_local_directory
Created November 27, 2017 05:47 — forked from pixeline/mirror_remote_directory_to_local_directory
Bash script using lftp to mirror remote directory to local directory, thus keeping the local directory synchronized with the remote one.
#!/bin/sh
# @author: Alexandre Plennevaux
# @description: MIRROR DISTANT FOLDER TO LOCAL FOLDER VIA FTP
#
# FTP LOGIN
HOST='sftp://ftp.domain.com'
USER='ftpusername'
PASSWORD='ftppassword'
# DISTANT DIRECTORY
@Vagrantin
Vagrantin / Function.php
Last active April 25, 2024 09:32
Wordpress - filter post by tags using AJAX.
<?php
/**
*
* Functions and definitons
* This is a child theme of Twentysixteen theme
* V1.0 - AJAX Filter posts
* Largely inspired by Vlado Bosnjak work that you can find here:
* https://www.bobz.co/filter-wordpress-posts-by-custom-taxonomy-term-with-ajax-and-pagination/
*
*

CSS & Javascript animation

Small CSS Animation which zoom out in a pic and add text on it.

A Pen by Matth on CodePen.

License.