Skip to content

Instantly share code, notes, and snippets.

@VitToCode
VitToCode / gnuplot.spec
Created June 11, 2013 21:22
RPM spec for latest gnuplot (http://www.gnuplot.info) Gnuplot >= 4.6.2
Summary: Command-line driven interactive datafile and function plotting utility
Name: gnuplot
Version: 4.6.2
Release: 1.el6
#Epoch: 2
License: GPL
Group: Applications/Mathematics
URL: http://www.gnuplot.info
Source0: http://downloads.sourceforge.net/project/gnuplot/gnuplot/%{version}/%{name}-%{version}.tar.gz
Source1: %{name}-icon.png
@VitToCode
VitToCode / gnuplot-4.6.2-texinfo-5.patch
Created June 11, 2013 21:24
gnuplot-4.6.2-texinfo-5.patch
--- ./docs/gnuplot.texi 2013-03-14 20:49:06.000000000 +0100
+++ /home/john/gnuplot.texi.new 2013-03-21 18:43:57.868529889 +0100
@@ -17650,7 +17650,7 @@
@end menu
@node aed767, aifm, complete_list_of_terminals, complete_list_of_terminals
-@subsubsection aed767
+@subsection aed767
@c ?commands set terminal aed767
@VitToCode
VitToCode / octave.spec
Created June 11, 2013 21:27
RPM spec for latest Octave (http://www.gnu.org/software/octave/‎) Octave >= 3.6.4
Summary: A high-level language, primarily intended for numerical computations
Name: octave
Version: 3.6.4
Release: 1.el6
#Epoch: 2
License: GPL
Group: Applications/Mathematics
URL: http://www.octave.org
Source0: ftp://ftp.gnu.org/gnu/octave/octave-%{version}.tar.bz2
Source1: octave.png
@VitToCode
VitToCode / xImage_to_vmlinux.elf.sh
Last active January 19, 2021 20:12
Ingenic xImage to quemu vmlinux.elf
# extract vmlinux.bin with binwalk
binwalk -e xImage
cd _xImage.extracted/
## requred installed https://github.com/marin-m/vmlinux-to-elf
## sudo apt install python3-pip
## sudo pip3 install --upgrade lz4 git+https://github.com/marin-m/vmlinux-to-elf
# make elf from bin
vmlinux-to-elf vmlinux.bin vmlinux.elf
# or even
## vmlinux-to-elf xImage vmlinux.elf