Skip to content

Instantly share code, notes, and snippets.

Building your own shed can be a satisfying project, but it requires careful planning and execution. Here’s a step-by-step guide to help you build your own shed:

Step 1: Planning and Permits

  1. Check Local Zoning Laws and Building Codes: Some areas may have restrictions on building structures, and you may need a permit. Ensure you’re compliant to avoid any legal trouble.
  2. Determine Size and Style: Decide on the dimensions and design that will best suit your needs and aesthetic preferences.
  3. Create a Budget: Factor in costs for materials, tools, and any professional help you may need.

Step 2: Choose a Site

@BenDol
BenDol / Singleton.cs
Created June 22, 2022 03:00
Unity Singleton
using UnityEngine;
/// <summary>
/// Be aware this will not prevent a non singleton constructor
/// such as `T myT = new T();`
/// To prevent that, add `protected T () {}` to your singleton class.
/// </summary>
public class Singleton<T> : MonoBehaviour where T : MonoBehaviour {
private static T _instance;
@BenDol
BenDol / server.js
Created August 31, 2021 18:22
server async
/// @description Server network control
var socket_id = async_load[? "id"];
if(server == socket_id)
{
// If the socket ID is the server one, then we have a new
/// client connecting, OR an old client disconnecting
// get connect or disconnect (1=connect)
var t = async_load[? "type"];
@BenDol
BenDol / examples.md
Last active May 7, 2020 22:30
My Gamemaker Widget System
> Task :dependencies
------------------------------------------------------------
Root project
------------------------------------------------------------
-api (n)
No dependencies
-runtime (n)
@BenDol
BenDol / Flicker Movement - Client Network Data
Last active June 20, 2019 01:36
Okay so I've been researching this movement flickering issue. I compiled some client network sniffs of the movement data and flattened them out. Each time I observed a flicker used a macro that `/say here` so I could see if there are any strange position data sent to the client from our core. Not sure if there is anything strange happening.
Flicker Movement Client Network Data:
* -flicker = the moment I observed a flicker in game
--[1]----------------------
X: -602.9882 Y: -4252.852 Z: 38.95627 O: 6.067197 (MSG_MOVE_SET_FACING, Time: 225716)
X: -602.6502 Y: -4252.942 Z: 38.95627 O: 5.925826 (MSG_MOVE_SET_FACING, Time: 225766) (50ms)
X: -602.4381 Y: -4253.033 Z: 38.95627 O: 5.772674 (MSG_MOVE_SET_FACING, Time: 225799) (33ms)
X: -602.2281 Y: -4253.159 Z: 38.95627 O: 5.654864 (MSG_MOVE_SET_FACING, Time: 225834) (35ms)
X: -601.9659 Y: -4253.368 Z: 38.95627 O: 5.525274 (MSG_MOVE_SET_FACING, Time: 225882) (500ms)
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.insclix.mvc</groupId>
<artifactId>mvc-demo</artifactId>
<version>1.0-SNAPSHOT</version>
@BenDol
BenDol / pom.xml
Last active November 8, 2017 05:51
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>com.insclix.mvc</groupId>
<artifactId>mvc-demo</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
public JsSplitPanelOptions {
private JsSplitPanelOptions() {}
@JsOveraly
public JsSplitPanelOptions create() {
// defaults
}
}
public class MaterialDropDown extends UnorderedList implements HasSelectionHandlers<Widget>, HasInOutDurationTransition, Loader, HasConfigure {
...
JsDropdownOptions options = new JsDropdownOptions();
@Override
protected void onLoad() {
super.onLoad();
Widget parent = getParent();