Skip to content

Instantly share code, notes, and snippets.

@vyach-vasiliev
vyach-vasiliev / Extract3D_from_PDF__ReadMe.md
Created August 13, 2020 13:53
Extract 3D objects from PDFs

This instruction is about how to get a 3D model out of a PDF file.

We need:

  • Python version not lower than 2.7
  • Any version OS (Windows, Linux, Mac)

Extract

Download the Pythong PDF Parser: https://blog.didierstevens.com/programs/pdf-tools/

  1. Search for the 3D object:
@odan
odan / xmapp-replacing-mariadb-with-mysql.md
Last active February 17, 2025 11:11
XAMPP - Replacing MariaDB with MySQL

XAMPP - Replacing MariaDB with MySQL

This post has been deleted.

@mmdclx
mmdclx / ps3_eye_mic_fix_for_raspberry_pi.sh
Last active November 6, 2024 14:10
Fix for ps3 eye microphone on a raspberry pi requiring a physical unplug / reconnect on reboot to be useable as capture device
#!/bin/bash
# Logically eject and re-enable driver for Playstation Eye on a Pi running Raspbian Jessie.
# This is necessary because on boot, the microphone on the Eye will appear in `lsusb` and
# `arecord -l`, but will not function correctly (error "audio open error: Device or
# resource busy" or error "read error: Input/output error").
# Can read about others having this problem here https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=14903
# and here https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=15851&p=160394#p160394
# point a cronjob to this file, using the special @reboot nickname to run at startup.
@jmonterroso
jmonterroso / chrome-no-cors.md
Created April 15, 2015 18:16
Open Chrome without CORS restriction

For OSX, open Terminal and run:

$ open -a Google\ Chrome --args --disable-web-security For Linux run:

$ google-chrome --disable-web-security

Also if you're trying to access local files for dev purposes like AJAX or JSON, you can use this flag too.

-–allow-file-access-from-files