Skip to content

Instantly share code, notes, and snippets.

View osugregor's full-sized avatar

Gregory Shayko osugregor

View GitHub Profile
@osugregor
osugregor / Home
Last active April 16, 2024 02:34
StardewServer
# Player Requirements
# Multiplayer Mods
- Main MOD:
GREEN MODS: https://www.nexusmods.com/stardewvalley/mods/20659
UNNOFICIAL: https://github.com/perkmi/Always-On-Server-for-Multiplayer
- Unlimited Players: https://www.nexusmods.com/stardewvalley/mods/2213?tab=description
- SHARED Houses: https://www.nexusmods.com/stardewvalley/mods/20654
- Stardew Locations: https://www.nexusmods.com/stardewvalley/mods/1929
- MOD CHecker: https://www.nexusmods.com/stardewvalley/mods/6609
@osugregor
osugregor / after.sh
Created January 16, 2017 23:06 — forked from cluppi/after.sh
Turning SSL on for Homestead
#!/bin/sh
# Config for SSL.
echo "--- Making SSL Directory ---"
mkdir /etc/nginx/ssl
echo "--- Copying $i SSL crt and key ---"
openssl req -nodes -new -x509 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt -subj "/C=US/ST=NY/L=NYC/O=Dis/CN=www.example.com"
echo "--- Turning SSL on in nginx.conf. ---"
/* Copyright (C) 2012-2014 Kurt Milam - http://xioup.com | Source: https://gist.github.com/1868955
*
* 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:
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TO
@osugregor
osugregor / macros
Created July 13, 2014 21:21 — forked from mnshankar/macros
<?php
/*********************************************************************************************
* Example usage (In view)
* <div class="welcome">
<?php echo Form::open(array('route'=>'process','class'=>'form-horizontal'))?>
<?php echo Form::textField('first_name')?>
<?php echo Form::textField('last_name')?>
<?php echo Form::emailField('email')?>
<?php echo Form::passwordField('password')?>
<?php echo Form::selectField('select_one', array('1'=>'abc', '2'=>'def'))?>