Skip to content

Instantly share code, notes, and snippets.

View Mattlk13's full-sized avatar

Matthew Krebs Mattlk13

  • All Your Computer Solutions
  • Belton, Mo
View GitHub Profile
@Mattlk13
Mattlk13 / EverythingPrompt.ps1
Created July 30, 2019 23:14 — forked from jdhitsolutions/EverythingPrompt.ps1
A "kitchen sink" PowerShell prompt. This only works on Windows platforms, including PowerShell Core.
<#
This may not work properly or completely in all PowerShell hosts. Because the function
relies on Get-CimInstance it will not work on Linux platforms.
It is also admittedly not speedy as it is doing a lot of stuff, although there is an
attempt to cache some information which gets updated every 15 minutes.
To use, dot source this script in your PowerShell profile to make it your default prompt.
Sample prompt:
@Mattlk13
Mattlk13 / web.xml
Created August 1, 2019 11:22 — forked from enujo/web.xml
[JAVA] Servlet DTD(2.2 ~ 3.1)
<!-- Servlet 3.1 -->
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
</web-app>
<!-- Servlet 3.0 -->
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@Mattlk13
Mattlk13 / effective_modern_cmake.md
Created April 26, 2020 17:17 — forked from mbinna/effective_modern_cmake.md
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft


XFCE Desktop


How to install XFCE Desktop Environment in Kali Linux:

Command:

apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:

Command: