Skip to content

Instantly share code, notes, and snippets.

View fr34kyn01535's full-sized avatar
🎯
Focusing

Sven Mawby fr34kyn01535

🎯
Focusing
View GitHub Profile
@fr34kyn01535
fr34kyn01535 / permissions.php
Last active October 11, 2016 09:59
WebPermissions Example (phpBB backend)
<?php header("Content-Type: application/xml; charset=utf-8");
function getPlayersFromGroup($group){
$db = new mysqli("localhost", "unturned", "test", "unturned");
$players = array();
$query = "select g.user_id,d.pf_user_steam_id csteamid from phpbb_users g
inner join phpbb_profile_fields_data d on g.user_id = d.user_id
where pf_user_steam_id != '' and g.group_id = $group";
NAME=$(hostname -f)
TIMESTAMP=$(date +%s)
echo Starting backup on $NAME
mkdir -p ~/backuptmp/
echo Getting iptables...
iptables-save >~/backuptmp/iptables

Keybase proof

I hereby claim:

  • I am fr34kyn01535 on github.
  • I am fr34kyn01535 (https://keybase.io/fr34kyn01535) on keybase.
  • I have a public key whose fingerprint is 8B36 AE58 FC0A BC19 A4B9 1DA6 2839 FB9C 3B34 92B5

To claim this, I am signing this object:

using System.IO;
namespace fr34kyn01535.MapCopy
{
class Program
{
private static string unturnedFolder = @"C:\Users\fr34kyn01535\Desktop\Unturned\Servers\";
private static string instanceName = "cobra1";
static void Main(string[] args)
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accountrecovery - Perform account recovery
-all_languages - show longest loc string from any language
-bigpicture - Start in Steam Big Picture mode
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
-community - Set the community URL
-communitybp - Show Community in Big Picture
{
"keyboard": {
"type": [
{
"row": [
{
"key": [
{
"char": "a",