Skip to content

Instantly share code, notes, and snippets.

View juliancruzsanchez's full-sized avatar

Julian Cruz Sanchez juliancruzsanchez

View GitHub Profile
@juliancruzsanchez
juliancruzsanchez / earth-presentation.markdown
Last active February 18, 2018 05:50
Earth Presentation
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[MAIN]
MAP Kurland/load.ini
TIME 12.783334
CloudType 3
CloudHeight 2000.0
player I_JG100
army 2
playerNum 0
[SEASON]
Year 1940
let fs = require('fs');
let config = require("./configParser");
let f1 = fs.readFileSync(config.path + '/missions/Convoy.mis', 'utf8').toString();
let desc = fs.readFileSync(config.path + 'missions/Convoy.properties', 'utf8').toString();
let f2 = " \r\n" + f1;
let file = f2.split("\r\n");
let p = (l) => {
if (file[l].match(/[0-9]+/g) == Array) return file[l].match(/[0-9]+/g)[0];
else return file[l].match(/[0-9]+/g);
}
<script>
iPhoneX(); window.onresize = window.onorientationchange = function () { setTimeout(iPhoneX, 100); }
function iPhoneX() {
if (window.innerHeight == 812 && window.innerWidth == 375 ) {
document.getElementById('app').style.paddingTop = '20px';
if (!document.getElementById('iphone_layout')) {
var img = document.createElement('img');
img.id = 'iphone_layout';
img.style.position = 'fixed'; img.style.height = '100%'; img.style.width = '100%';
img.style.zIndex = 9999;
<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="ltr">
<!-- END: Head-->
<body class="vertical-layout vertical-menu-collapsible page-header-dark vertical-modern-menu 2-columns " data-open="click" data-menu="vertical-modern-menu" data-col="2-columns">
<!-- BEGIN: Header-->
<header class="page-topbar" id="header">
<div class="navbar navbar-fixed">
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
sh <(curl -fsSL https://raw.githubusercontent.com/parse-community/parse-server/master/bootstrap.sh)
This file has been truncated, but you can view the full file.
function vd7ea82ddd10f919b99db37d72fb3e446(b, e, h) {
if (h && (this.v387b6af3804f01efa95f7a31baf7aada = !0, this.v0906ed8e137fdd0575a094bc06550e79 = {}, this.v0fa352e63075e11ce0da3d8f1add472a = {}, this.vc5dd6b0e80495ad848a3db8da6e8973b = [], this.v82e4da33cfc766f9ea8a685f9d0737aa = {}, this.vc2c1c8470e3bcfb073e649255cc36179 = {}, this.vba48f150d58a710edb8b62ad1388cdaa = [
'Object',
'Point',
'KMDate'
]), this.length = 0, this.pos = 0, this.pow = Math.pow, this.v543019ec6baf13fd8562a0426619aacd = Endian.v591e426c5cbea3665c280e6b61376241, this.vde98152079386c012fdeaf940ae934a7 = Math.pow(2, -23), this.vb1281f150947a1a5f4c692110305d513 = Math.pow(2, -52), this.v4c3ec334eafe2654e78aead1e42f03b3 = [], this.v7ec7f416cfb1700e3258c2591adf546b = {}, this.v93fc8265b052986bbc8dbde20cdf4cbf = [], this.vc53d45ee14e12acdb4f265b413a7126c = {}, this.vceb470842d52695c075079a3776a3309 = [], this.v543019ec6baf13fd8562a0426619aacd = Endian.v591e426c5cbea3665c280e6b61376241, this.v
(function(window, document, undefined) {
"use strict";
var _Scrolleo = function(opts) {
// Defaults
this.acceleration = 0.08; //1 is fastest, 0 is slowest, 0.08 is default
this.secondsPerScreen = null; //Set this to the length of the video. "1" is 1 second.
this.additionalOffset = 0; //Add or subtract pixels to when the video will start. "10" means that the video will start 10px earlier.
this.wrapperEl = null;
This file has been truncated, but you can view the full file.
window.prefixes = {
"137DA833":"T",
"137DA843":"T",
"137DA893":"T",
"137DA903":"T",
"137FA833":"3",
"137FA833":"4",
"137FA833":"5",
"137FA843":"1",
"137FA843":"2",