You are currently browsing the Uncategorized category
Displaying 1 - 6 of 6 entries.

All you need in CPAN

  • Posted on June 24, 2019 at 00:54

Just copy-paste:

Authen::NTLM Bundle::CPAN Config::Simple Digest::SHA Digest::SHA1 Digest::SHA2 Digest::SHA256 Digest::SHA3 Digest::xxHash Email::Find Email::Send::SMTP::TLS Email::Sender Email::Simple File::Binary lib::relative Log::Log4perl Moose MooseX MooseX::ClassAttribute MooseX::MultiMethods MooseX::Singleton namespace::autoclean SQL::Abstract

Fully Ready Ubuntu Machine

  • Posted on June 24, 2019 at 00:11

# apt update && apt upgrade && apt autoremove

# apt install \
bless \
bmon \
build-essential \
busybox-static \
cifs-utils \
cmake \
dcfldd \
dictionaries-common \
dialog \
disktype \
dmidecode \
dnsutils \
ewf-tools \
exfat-utils \
exiftool \
foremost \
gpart \
guymager \
hexedit \
htop \
kpartx \
libdbd-pg-perl \
libssl-dev \
maven \

mc \
nfs-common \
nfs-kernel-server \
nmap \
ntfs-3g \
okteta \
p7zip \
par2 \
perl \
postgresql \
postgresql-plperl \
pv \
pinta \
python-pip \
python-psycopg2 \
python3-pip \
python3-psycopg2 \
qemu-utils \
samba \
shotwell \
scalpel \
screen \
sleuthkit \
ssh \
sshfs \
testdisk \
traceroute \
unrar \
volatility \
vim \
wireshark \
xfsprogs \
zlib1g-dev \

# snap refresh

# snap install sublime3

For CPAN modules check this post!

Sublime Text 2 on macOS: Package Control: Error: InvalidCertificateException

  • Posted on March 31, 2019 at 23:19

Error

The complete console error messsage is something like this:
Package Control: Error downloading package. HTTP exception InvalidCertificateException (Host codeload.github.com returned an invalid certificate ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:548)))wnloading package. Htto exception InvalidCertificateExceptio

Solution

In Sublime Text 2, go to: Preferences->Package Settings->Package Control->Settings-Default,

Here, change:

“downloader_precedence”: {
“windows”: [“wininet”],
“osx”: [“urllib”],
“linux”: [“urllib”, “curl”, “wget”]
},

To:

“downloader_precedence”: {
“windows”: [“wininet”],
“osx”: [“curl”, “urllib”],
“linux”: [“urllib”, “curl”, “wget”]
},

Installing the Python urllib will probably also solve the problem, but it might brings up new questions like: Which Python version? Is urllib in the Sublime Text search path…
Then changing the preferred downloader to curl is easier.

Credits go to LandisTwo

Python: My own Evernote

  • Posted on December 8, 2015 at 21:31

Search for file with extension (case-insensitive)

#!/usr/bin/python

import re


"""
CASE INDEPENDENT SEARCH FOR EXTENSION (JPG)
"""

filename = "KrusjMe_at_the_dentist.jpg"

prog  = re.compile(r"\.jpe{0,1}g$", re.IGNORECASE)
if prog.search(filename):
    print "Match!"
else:
    print "No match :-("

Start Debian in text-mode

  • Posted on January 6, 2014 at 21:56

Edit /etc/default/grub file, locate the following line:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet”

and change it to:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet text”

and don’t forget to run ‘update-grub’ afterwards to update.

(thanks to Eu2200 on debainadmin.com)

John Doe?

  • Posted on January 24, 2012 at 10:50

Although I didn’t want to contribute to the contest, this step was to easy not to take:

Found a JPEG-Header, did some copy-pasting et voila!

Good this be our guy?