Skip to content

Instantly share code, notes, and snippets.

View marios88's full-sized avatar

marios88

  • Greece
View GitHub Profile
@marios88
marios88 / #wg-peer.md
Created September 29, 2023 09:18 — forked from colemar/#wg-peer.md
Manage Wireguard peers (IPv4 only)

Manage Wireguard peers (IPv4 only)

List, add or delete Wireguard peers. Also show client configuration for already added peers.

wg-peer [add|show <peer>|del <peer>|list]

where:

  • a[dd] add a new peer
@marios88
marios88 / image_autorotate.php
Created July 21, 2017 15:21 — forked from codee/image_autorotate.php
CodeIgniter: Automatic image rotation library
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* @file application/libraries/Image_autorotate.php
*/
class Image_autorotate
{
function __construct($params = NULL) {
if (!is_array($params) || empty($params)) return FALSE;
@marios88
marios88 / README.md
Last active October 24, 2015 09:49 — forked from faizal2007/LICENSE
Bash Image Optimization for web

imgoptim

This script is use to optimize image for web

  • This script only optimize jpg and png image
  • Currently this script only support debian
  • jpg strip-all
  • -o9
  • Current folder
./imgoptim