Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# Not Quite Official Sentora Automated Installation Script
# =============================================
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@GeoWebDevCom
GeoWebDevCom / sentora_install.sh
Last active November 17, 2016 16:22
Installer for Sentora Ubuntu 14.04 with armf compability
#!/usr/bin/env bash
# Official Sentora Automated Installation Script
# =============================================
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@GeoWebDevCom
GeoWebDevCom / rss_img_ripper.php
Created May 16, 2017 10:01 — forked from snipe/rss_img_ripper.php
Quick and dirty script to download thumbnail and fullsize images from RSS feed. The RSS feed can be remote, but this was a one-off I needed to throw together, so I just downloaded the RSS feed to my local drive.
<?php
$feed = 'recent.rss';
$xml = new SimpleXMLElement(file_get_contents($feed));
$xml->registerXPathNamespace('media', $feed);
$images = $xml->xpath('/rss/channel/item/media:content/@url');
foreach ( $xml->channel->item as $item ) {
$namespaces = $item->getNameSpaces(true);
$media = $item->children($namespaces['media']);
@GeoWebDevCom
GeoWebDevCom / alvbmw.markdown
Last active September 16, 2017 21:32 — forked from anonymous/alvbmw.markdown
Search Wiki
@GeoWebDevCom
GeoWebDevCom / index.html
Created September 16, 2017 21:34 — forked from anonymous/index.html
Portfolio - Anonymous
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta charset="utf-8">
<title>portfolio</title>
<link rel="stylesheet" href="styles.css" />
<link href="https://fonts.googleapis.com/css?family=Baloo|Berkshire+Swash|Bitter:700|Josefin+Sans:300|Roboto:400,700" rel="stylesheet">
</head>
<body>
@GeoWebDevCom
GeoWebDevCom / index.html
Created September 16, 2017 21:41 — forked from anonymous/full-stack-url-shortener.markdown
Full stack URL shortener
<body>
<!-- Modal Structure -->
<div id="modal1" class="modal">
<div class="modal-content">
<h4 id="modalhead">How To Use</h4>
<p id="modalbody">Insert web address in the search bar and press enter. <br>The short URL is returned with the long URL that was entered in the search bar.</p>
<hr class="red-text">
<br>
<i class="red-text lighten-1">this is a proof of concept.<br> The shortened URL is usually longer then the entered url because of free domain limitations.</i>
<br>
@GeoWebDevCom
GeoWebDevCom / Firewalld GeoIP firewall script
Created March 30, 2020 18:54 — forked from Pandry/Firewalld GeoIP firewall script
Block countries IPs via Firewalld
#!/bin/bash
##
# Name: GeoIP Firewall script
# Author: Pandry
# Version: 0.1
# Description: This is a simple script that will set up a GeoIP firewall blocking all the zones excecpt the specified ones
# it is possible to add the whitelisted zones @ line 47
# Additional notes: Usage of [iprange](https://github.com/firehol/iprange) is suggested
# for best performances