Skip to content

Instantly share code, notes, and snippets.

View p4p4's full-sized avatar
🐞

Patrick Klampfl p4p4

🐞
View GitHub Profile
@4ndrej
4ndrej / SSLPoke.java
Last active January 3, 2024 09:50
Test of java SSL / keystore / cert setup. Check the comment #1 for howto.
import javax.net.ssl.SSLParameters;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {
@stefan2904
stefan2904 / daily.sh
Last active September 25, 2015 22:13
my rsync scripts
#!/bin/bash
# run this script on the client
# inspired by https://gist.github.com/deviantintegral/0f1066650e3ea5c5ffc1
TODAY=`date +"%Y%m%d"`
# Set the path to rsync on the remote server so it runs with sudo.
#RSYNC="/usr/bin/sudo /usr/bin/rsync"
@p4p4
p4p4 / git-notes.md
Last active December 31, 2017 10:22
My git cheat-sheet
@p4p4
p4p4 / migrate-folder-structure-catroid.md
Last active August 22, 2016 09:38
Catrobat Catroid migrate to new folder structure

Make migrating to the new folder structure easier

Catroid recently (August 15th) changed the folder structure of the project. This made a lot of open (not yet merged) Pull requests unmergable.

Feel free to use these instructions to migrate to the new folder structure in a fast way. But please only use it if you fully understand what the listed commands really do. Feel free to modify/comment/share. These instructions come without any warranty, which means you operate at your own risk!

Step by step guide.

  • fetch changes from upstream