This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BATCH_SIZE=50; | |
/* | |
Beim start werden neue Menüpunkte zu Sheets hinzugefügt | |
*/ | |
function onOpen() { | |
renderMenu(); | |
} | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# parameters not working yet, added removal of number prefixes | |
import os, re | |
from mutagen import File | |
from mutagen.mp4 import MP4, MP4Cover | |
from subprocess import call | |
input_folder = "flac_to_convert" | |
output_folder = "mp4" | |
quality = "320" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Open the zip file | |
$zip = new ZipArchive; | |
if ($zip->open('input.zip') === TRUE) { | |
// Extract the file to the specified destination | |
$zip->extractTo('./'); | |
$zip->close(); | |
echo 'Zip file extracted successfully!'; | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import xml.etree.ElementTree as ET | |
from bs4 import BeautifulSoup | |
import urllib.request | |
from urllib.parse import urlparse | |
import os | |
import re | |
def get_downloads_from_img(img): | |
return_list = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 3.5.8.1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Server Version: 5.7.28-nmm1-log | |
-- PHP-Version: 5.6.38-nmm2 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; | |
SET time_zone = "+00:00"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="modul modul-yfeed" id="modul-REX_SLICE_ID"> | |
<div class="wrapper"> | |
<h2>###modul:yfeed:title###</h2> | |
<div class="modul-yfeed-twitter"> | |
<h3>Twitter</h3> | |
<?php | |
$yfeed_items = rex_sql::factory()->getArray('SELECT * FROM rex_yfeed_item WHERE stream_id = 2 ORDER BY date DESC LIMIT 3'); | |
if (count($yfeed_items)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Danke an Blumbeet für diese Action! | |
$objparams["actions"][] = "db"; // z.b. email, datenbank, als datei speichern etc. | |
$objparams["action_params"][] = array( | |
"table" => "REX_VALUE[8]", | |
"where" => "REX_VALUE[8]", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(0); | |
include 'redaxo/include/master.inc.php'; | |
error_reporting(E_ALL ^E_NOTICE); | |
ini_set('display_errors', 1); | |
$CLONE_THIS_ID = 184; | |
$DUPLICATE_MODULES = true; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#http://www.phpbuddy.eu/spl-standard-php-library.html?showall=1 | |
ini_set("max_execution_time", 0); | |
$verzeichnis = new RecursiveIteratorIterator( | |
new RecursiveDirectoryIterator( './redaxo' ), true ); | |
$zip = new ZipArchive; | |
$resource = $zip->open( 'redaxo.zip', ZipArchive::CREATE ); | |
if ($resource === TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-UK"> | |
<head> | |
<title>Buki's Unzipper Script</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta name="generator" content="thekid" /> | |
<meta name='robots' content='noindex,nofollow' /> | |
</head> | |
<body> | |
NewerOlder