Skip to content

Instantly share code, notes, and snippets.

@Zalgo2462
Zalgo2462 / Dockerfile
Created March 22, 2018 17:27
centos-user:7
# docker build -t centos-user:7
FROM centos:7
RUN yum -y upgrade
RUN yum -y install git
RUN yum -y install sudo && \
useradd -m -s /bin/bash user && \
echo "user ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/user && \
chmod 0440 /etc/sudoers.d/user
USER user
@Zalgo2462
Zalgo2462 / Dockerfile
Created January 31, 2018 00:24
ubuntu-user:16.04
# docker built -t ubuntu-user:16.04 .
FROM ubuntu:16.04
RUN apt-get update && apt-get install sudo && \
useradd -m -s /bin/bash user && \
echo "user ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/user && \
chmod 0440 /etc/sudoers.d/user
RUN apt-get -y install git
USER user
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using org.scriptFiend.IRC.Lines;
namespace org.scriptFiend.Modules.Channel.Dice
{
class Dice : Module
{
import org.rsbot.script.Script;
import org.rsbot.script.ScriptManifest;
import org.rsbot.script.internal.event.PaintListener;
import org.rsbot.script.methods.*;
import org.rsbot.script.wrappers.Area;
import org.rsbot.script.wrappers.Tile;
import java.awt.*;
import java.util.*;
import org.rsbot.script.Script;
import org.rsbot.script.ScriptManifest;
import org.rsbot.script.internal.event.PaintListener;
import org.rsbot.script.methods.*;
import org.rsbot.script.wrappers.Area;
import org.rsbot.script.wrappers.Tile;
import java.awt.*;
import java.util.*;
public enum Flag {
// WALL_NORTHWEST(0x1),
// WALL_NORTH(0x2),
// WALL_NORTHEAST(0x4),
// WALL_EAST(0x8),
// WALL_SOUTHEAST(0x10),
// WALL_SOUTH(0x20),
// WALL_SOUTHWEST(0x40),
// WALL_WEST(0x80),