Skip to content

Instantly share code, notes, and snippets.

View luclu7's full-sized avatar
🚄
Hey!

Lucie luclu7

🚄
Hey!
View GitHub Profile

How to configure GRML for PXE without NFS

export TFTP_FOLDER=/srv/tftp/bios

cd $TFTP_FOLDER
mkdir grml
cd grml
 
wget -O /tmp/grml.iso https://download.grml.org/grml64-small_2020.06.iso
🌞 Morning 77 commits ███▍░░░░░░░░░░░░░░░░░ 16.6%
🌆 Daytime 101 commits ████▌░░░░░░░░░░░░░░░░ 21.7%
🌃 Evening 175 commits ███████▉░░░░░░░░░░░░░ 37.6%
🌙 Night 112 commits █████░░░░░░░░░░░░░░░░ 24.1%
@luclu7
luclu7 / netsha.reg
Last active August 26, 2022 15:23
How to fix/remove W32/Netsha.A from your computer
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
@luclu7
luclu7 / scan.sh
Created February 12, 2019 01:21
Useful script for a fast scan on *nix (needs Imagemagick and sane)
#!/bin/sh
echo "Start time :"
date
target_name=$(date '+%Y-%m-%d_%H-%M-%S')
folderroot=/mnt/scans
folder=$folderroot/$(date +%Y/%m/%d)
fullpath=$folder/$target_name.ppm
finalpath=$folder/$target_name.png
scanimage_options="--mode color --resolution 150"
@luclu7
luclu7 / iterm2-solarized.md
Created August 18, 2018 23:06 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@luclu7
luclu7 / install.sh
Last active October 22, 2017 20:19
¯\_(ツ)_/¯
#!/usr/bin/env bash
sudo wget https://gist.githubusercontent.com/Luclu7/f52dd0a15817c26234c4fe15c3bfc497/raw/293bd4b95708778ee4effac539c5c77c7e3572bd/shrug -O /usr/bin/shug
echo "Installed !"

Keybase proof

I hereby claim:

  • I am luclu7 on github.
  • I am luclu7 (https://keybase.io/luclu7) on keybase.
  • I have a public key ASA5dxEpp0G6WHKjtAUbNxVa9yT6dSLZfDvPv6yfFoJkDgo

To claim this, I am signing this object:

@luclu7
luclu7 / .htaccess
Last active September 17, 2017 08:45
Force https (put this file to the root of your web server or in a specific folder)
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" />
<title>WYIT?</title>
</head>
<body>
<div class="centered">