using pdfimages [1]
$ pdfimages -j myDocument.pdf /my/outputfile/
%% STACKPLOT | |
% Stacking two plots example from https://stackoverflow.com/questions/11757987/matlab-stacking-of-various-plots | |
%% Data | |
t = 0:100; | |
f1 = 0.3; | |
f2 = 0.07; | |
u1 = sin(f1*t); cu1 = 'r'; %red | |
u2 = cos(f2*t); cu2 = 'b'; %blue | |
v1 = 5*u1.^2; cv1 = 'm'; %magenta |
# Sample Script for controling rosbag process | |
# ref: https://answers.ros.org/question/10714/start-and-stop-rosbag-within-a-python-script/?answer=223617#post-id-223617 | |
def terminate_process_and_children(p): | |
import psutil | |
process = psutil.Process(p.pid) | |
for sub_process in process.get_children(recursive=True): | |
sub_process.send_signal(signal.SIGINT) | |
p.wait() # we wait for children to terminate | |
p.terminate() |
# i3wm Keyboard Layout toogle | |
bindsym $mod+space "exec setxkbmap -query | grep us && setxkbmap -layout br || setxkbmap -layout us" |
[Desktop Entry] | |
Encoding=UTF-8 | |
Version=1.0 | |
Name=MyProgramName | |
GenericName= My Complete Program Name | |
Exec= /path/to/my/program.sh | |
Icon=/path/to/my/program/icon.png | |
Terminal=true | |
StartupWMClass=MyProgramGroupClass | |
Type=Application |
#!/usr/bin/env python3 | |
# coding: utf-8 | |
## | |
# Control keyboard backlight | |
## | |
from sys import argv | |
import dbus |
#!/bin/python | |
## | |
# Digimon Word 3 - Farming XP Script | |
# @version 1.0 - Open Loop Movement | |
## | |
import time | |
import pyautogui |
#!/bin/bash | |
MARS_MIPS="/opt/mars_mips/Mars45_Custom4.jar" | |
INDEX=0; | |
MAX_INDEX=19; | |
PROGRAM='primeNumbers.s' | |
OUT="Index,IC" |
using pdfimages [1]
$ pdfimages -j myDocument.pdf /my/outputfile/