Skip to content

Instantly share code, notes, and snippets.

View pwqw's full-sized avatar
🍒
Rompiendo las guindas

Pin \\ pwqw

🍒
Rompiendo las guindas
View GitHub Profile
@pwqw
pwqw / encuadernar.py
Last active July 20, 2022 12:34 — forked from mattlev2/split-page.py
Tomar un PDF vertical e imprimirlo para encuadernar
#!/usr/bin/env python3
import io
import math
import sys
import PyPDF2
def main(src, dst, pliegues=6):
pliegues = int(pliegues)
src_f = open(src, 'r+b')
@pwqw
pwqw / index.php
Created October 27, 2016 02:33 — forked from kasparsd/index.php
Convert .mo to .po and .po to .mo
<?php
session_start();
$_SESSION['last_post'] = time();
$_SESSION['ip'] = $_SERVER['REMOTE_ADDR'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Online Tools for WordPress Developers</title>