This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Made by papi | |
# ytm_extractor.py | |
# Description: | |
# Downloads album, covers from youtube music gallery | |
# You need to extract all of the links using the network tab in inspector element | |
# and then load all of your albums by scrolling down then extract the .har file | |
# and run it through this script to download every album cover to a | |
# youtube_music_artwork folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# svnbyleo.sh | |
# | |
# Description: | |
# Simple script to use svn as if it was git | |
echo -n "Check SVn -> " | |
if hash svn;then | |
echo -e "\e[1;34m:)\e[m" | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* diff file for gaps in dwm fibonacci mode */ | |
diff -up a/config.def.h b/config.def.h | |
--- a/config.def.h 2019-02-02 13:55:28.000000000 +0100 | |
+++ b/config.def.h 2020-04-14 14:53:13.966170662 +0200 | |
@@ -2,6 +2,7 @@ | |
/* appearance */ | |
static const unsigned int borderpx = 1; /* border pixel of windows */ | |
+static const unsigned int gappx = 5; /* gaps between windows */ | |
static const unsigned int snap = 32; /* snap pixel */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
#- | |
# Copyright 2013-2014 Emmanuel Vadot <elbarto@bocal.org> | |
# All rights reserved | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted providing that the following conditions | |
# are met: | |
# 1. Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# phone.sh | |
# Created on: ven. 24 avril 2020 06:21:51 CEST | |
# | |
# ____ __ ____ __ | |
# ( _ \ /. |( _ \/ ) | |
# )___/(_ _))___/ )( | |
# (__) __ (_)(__) _(__) ____ __ ____ | |
# ( \/ )( _ )( _ \(_ _)( ) ( ___) | |
# ) ( )(_)( ) _ < _)(_ )(__ )__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
# Made by papi | |
# Created on: dim. 03 mai 2020 10:43:43 CEST | |
# convert_my_video.py | |
# https://p4p1.github.io/writeups/convertmyvideo-tryhackme-writeup.html | |
# Description: | |
# Command injection shell from https://tryhackme.com/room/convertmyvideo | |
import sys, requests, json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# xvwm.sh | |
# Created on: 18 April 2020 | |
# | |
# tutorial: https://p4p1.github.io/posts/xvwm.html | |
# __ ____ ____ ___ __ ___ | |
# \ \/ /\ \ / /\ \ /\ / / \'_ ` _ \ | |
# > < \ V / \ V V /| | | | | | | |
# /_/\_\ \_/ \_/\_/ |_| |_| |_| | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# tools.sh | |
# Created on: mer. 06 mai 2020 09:54:03 CEST | |
# | |
# ____ __ ____ __ | |
# ( _ \ /. |( _ \/ ) | |
# )___/(_ _))___/ )( | |
# (__) (_)(__) (__) | |
# | |
# Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* diff file for startup commands in dwm */ | |
diff -up a/config.def.h b/config.def.h | |
--- a/config.def.h 2019-02-02 13:55:28.000000000 +0100 | |
+++ b/config.def.h 2020-05-30 17:23:39.085114250 +0200 | |
@@ -18,6 +18,16 @@ static const char *colors[][3] = { | |
[SchemeSel] = { col_gray4, col_cyan, col_cyan }, | |
}; | |
+/* Run things on startup */ | |
+static unsigned int child_pid = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
# Made by p4p1 | |
# wallpaper-gen | |
# can be found on a website: https://p4p1.github.io/wallpaper-gen.html | |
# | |
# Description: | |
# Script to generate a wallpaper from a folder of different images | |
# And displays them in a grid layout as followed: |
OlderNewer