Skip to content

Instantly share code, notes, and snippets.

@augustt198
augustt198 / gist:8193210
Created December 31, 2013 06:03
Bukkit & Mongo shade POM
<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>GROUPID</groupId>
<artifactId>ARTIFACT</artifactId>
<version>VERSION</version>
<name>NAME</name>
<description>DESCRIPTION</description>
<repositories>
<repository>
This file has been truncated, but you can view the full file.
var _ = _ || {};
(function (_) {
var window = this;
try {
(0, _.yi)("sy22");
var Ik;
var Mea;
var Jk;
var Lea;
var Gk;
This file has been truncated, but you can view the full file.
var _ = _ || {};
(function (_) {
var window = this;
try {
(0, _.yi)("sy22");
var Ik;
var Mea;
var Jk;
var Lea;
var Gk;
@augustt198
augustt198 / gist:9847580
Last active August 29, 2015 13:57
Battlefield 4 MCOM binary & hex

Binary on MCOM

01010011 01100101 01100101 00101100 00100000 01001001
00100000 01101011 01101110 01100101 01110111 00100000
01111001 01101111 01110101 00100000 01110111 01101111
01110101 01101100 01100100 00100000 01110100 01110010
01111001 00100000 01110100 01101111 00100000 01110100
@augustt198
augustt198 / timelapse.rb
Created May 17, 2014 20:21
Takes a screenshot of a webpage every time interval
# Requires the command 'pageres' - https://github.com/sindresorhus/pageres
args = ARGV
if args.length < 1
raise Exception.new 'Must have at least one argument: "website [interval in seconds] [resolution in format 100x100]'
end
url = args[0]
interval = args[1] ? args[1].to_i : 60

Command Reference

  • time - Shows the current time
  • ruby - Evaluate a ruby input
  • js - Evaluate a JavaScript input
  • gist - Create a gist
  • source - Display the bot source
  • shorten - Shorten a link
  • so - Search StackOverflow
  • bukkitjd - Get the Javadoc for a bukkit class
  • sejd - Get the Javadoc for a Java Standard Edition Class
(?:(?:\r\n)?[ \t])*(?:(?:(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t]
)+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:
\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(
?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[
\t]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\0
31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\
](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+
(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:
(?:\r\n)?[ \t])*))*|(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z
|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)

New Markup Langauge Specification

A markup language designed for simplicity

Plain text

A line will be evaluated as plaintext if the first character does not start with !, :, or ~. To start a plaintext line with those characters, the first character must be escaped.

Example: