Skip to content

Instantly share code, notes, and snippets.

View andrekutianski's full-sized avatar
🇺🇦
StandWithUkraine

Andre Kutianski andrekutianski

🇺🇦
StandWithUkraine
View GitHub Profile
@andrekutianski
andrekutianski / twillio-redirect.xml
Last active August 16, 2019 22:09
redirect calls from twillio to pbx
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>Hello World</Say>
</Response>
@andrekutianski
andrekutianski / observium-client.sh
Last active January 23, 2020 05:55 — forked from drolfe/observium-client.sh
Obserivum Client Setup Script
#!/bin/bash
## Obserivum Client Setup Script
## v.0.5 - 12/15/13 - nunim@sonicboxes.com
## Tested on Debian 6/7 & Ubuntu 12.04+ - CentOS 5.8/6.4
## Useage: ./observium-client.sh <Community> <Contact Email>
## check if root
if [ $(whoami) != "root" ]; then
echo "You need to run this script as root."
echo "Use 'sudo ./observium-client.sh' then enter your password when prompted."
exit 1
git push origin master -u --exec=/usr/local/cpanel/3rdparty/bin/git-receive-pack
mkdir -p ~/projeto
cd ~/projeto
git clone url/exemplo.git
git clone ssh://usuario@dominio:/home/usuariocpanel/projeto/exemplo.git
git config receive.denyCurrentBranch updateInstead
mkdir -p ~/projeto/exemplo
cd ~/projeto/exemplo
git init
@andrekutianski
andrekutianski / .cpanel.yml
Last active November 25, 2018 18:17
cPanel Git file Integration
---
deployment:
tasks:
- export DEPLOYPATH=/home/user/public_html/
- /bin/cp index.html $DEPLOYPATH
- /bin/cp style.css $DEPLOYPATH
@andrekutianski
andrekutianski / form.html
Created October 18, 2018 15:27 — forked from escopecz/form.html
An example of how to send a form submission to a Mautic form with jQuery
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mautic Form Test</title>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
@andrekutianski
andrekutianski / rclone-cron.sh
Last active March 20, 2019 22:46 — forked from jaredmales/rclone-cron.sh
An rclone backup script for cron
#!/bin/bash
##############################################################################
# An rclone backup script by Jared Males (jaredmales@gmail.com)
#
# Copyright (C) 2018 Jared Males <jaredmales@gmail.com>
#
# This script is licensed under the terms of the MIT license.
# https://opensource.org/licenses/MIT
#