Skip to content

Instantly share code, notes, and snippets.

@decko
decko / backupxfs.py
Created December 11, 2020 00:23
My oldest python script...
#! /usr/bin/python
# -*- coding: utf-8 -*-
##############################################################
# Programa para Backup de Partições XFS.
# André Filipe de Assuncao e Brito (decko@noisemakers.org)
# Fabricio Coutinho Medeiros (fabriciocoutinho@terra.com.br)
# 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 2 of the License, or
# (at your option) any later version.
@chriswayg
chriswayg / Ubuntu_Debian_Cloud_images_in_Proxmox.md
Last active June 23, 2024 08:13
Ubuntu and Debian Cloud images in Proxmox
@TomasKulhanek
TomasKulhanek / README.md
Last active March 13, 2022 11:29
Python sample to download or upload into WEBDAV capable URL without authentication. Use West-Life Virtual Folder File picker or Upload-Dir picker component to generate temporary WEBDAV url for your account.

Description

Python sample to download or upload into WEBDAV capable URL without authentication. Use West-Life Virtual Folder File picker or Upload-Dir picker component to generate temporary WEBDAV url for your account.

Usage

testwebdav.py [PUT] [webdav url to dir] [filename]

Examples

python testwebdav.py https://portal.west-life.eu/webdav/1234 README.md
@theodorosploumis
theodorosploumis / Install_Phpstorm.sh
Last active June 16, 2022 11:15
Update phpstorm on Ubuntu linux.
#!/bin/bash -e
# IMPORTANT. My phpstom installation exists on /opt/phpstorm.
# Early Access program: https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program
# For stable releases try: https://data.services.jetbrains.com/products/download?code=PS&platform=linux
if [ "$(whoami)" != "root" ]
then
echo "Sorry, you are not root."
exit 1
fi
<?php
/**
* An helper file for Laravel 4, to provide autocomplete information to your IDE
* Generated for Laravel 4.2.16 on 2014-12-24.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
@barryvdh
barryvdh / _ide_helper.php
Last active May 6, 2024 07:45
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using https://github.com/barryvdh/laravel-ide-helper
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.5.13 on 2017-09-28.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
exit("This file should not be included, only analyzed by your IDE");