Skip to content

Instantly share code, notes, and snippets.

@Tuxdude
Tuxdude / entrypoint.sh
Created February 10, 2022 09:04 — forked from dmolesUC/entrypoint.sh
Start and terminate multiple sevices
# ########################################
# Start server and manager in background
/start-server.sh &
SERVER_PID=$!
/start-manager.sh &
MANAGER_PID=$!
# ########################################
@Tuxdude
Tuxdude / RefTester.java
Last active January 31, 2016 05:22
A Simple program to understand Soft, Weak and Phantom References
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.ref.SoftReference;
import java.lang.ref.WeakReference;
import java.lang.ref.PhantomReference;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.Reference;
import java.lang.Thread;
import java.lang.ThreadGroup;
import java.text.SimpleDateFormat;
**************************************************
* RTSP messages during WFD session establishment *
**************************************************
There are five different states:
1. capability negotiation A
2. capability negotiation B
3. RTSP session establishment
@Tuxdude
Tuxdude / sfnet2github.sh
Created June 21, 2012 20:55 — forked from stwalkerster/sfnet2github.sh
SourceForge.net svn repo to github git repo import script

Licence (MIT Licence)

Copyright (c) 2011 Simon Walker

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: