This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Written by petrascyll | |
# thanks to zlevir for help dumping and adding fixes during 2.3 | |
# thanks to sora_ for help collecting the vertex explosion extra position hashes | |
# and AGMG discord and everone there for being helpful | |
# | |
# HSR Version 3.0 Fix | |
# - Updates all outdated HSR character mods from HSRv1.6 up to HSRv3.0 | |
# - Edits Caelus mods to work on both Destruction/Preservation paths. | |
# - Adds the extra position hash on the mods that need it. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let segToIso8601 = (duaration) => { | |
let hours; | |
let minutes; | |
let seconds; | |
let result; | |
if(duaration>3600){ | |
hours = Math.floor(duaration/3600)+"H"; | |
let min = Math.floor(duaration%3600); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let iso8601toSeg = (duaration) => { | |
let mDuration = []; | |
let hours = duaration.match(/\d{1,2}[H]/); | |
let minutes = duaration.match(/\d{1,2}[M]/); | |
let seconds = duaration.match(/\d{1,2}[S]/); | |
mDuration['hours'] = hours ? hours[0] : "0H"; | |
mDuration['minutes'] = minutes ? minutes[0] : "0M"; | |
mDuration['seconds'] = seconds ? seconds[0] : "0S"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getJSON(aUrl,sheetname) { | |
//var sheetname = "test"; | |
//var aUrl = "http://pipes.yahoo.com/pipes/pipe.run?_id=286bbb1d8d30f65b54173b3b752fa4d9&_render=json"; | |
var response = UrlFetchApp.fetch(aUrl); // get feed | |
var dataAll = JSON.parse(response.getContentText()); // | |
var data = dataAll.value.items; | |
for (i in data){ | |
data[i].pubDate = new Date(data[i].pubDate); | |
data[i].start = data[i].pubDate; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//============================================================================ | |
// Name : barrera.cpp | |
// Author : Luis Hernandez | |
// Version : 1 | |
// Copyright : CodeLouis | |
// Description : barier for threads | |
//============================================================================ | |
//g++ 5.4.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<kml xmlns='http://www.opengis.net/kml/2.2'> | |
<Document> | |
<name>mi casa</name> | |
<description><![CDATA[]]></description> | |
<Folder> | |
<name>casa 1</name> | |
<Placemark> | |
<name>Casa luis</name> | |
<description><![CDATA[<img src="https://lh4.googleusercontent.com/-ofdNO3pODP_FiYFiLy-T1czwHTPSl1PnL7rNCG3edsz-2XB1aXZSs_cozaboKphAvHRTdr3XDIvjKJrVBUnELfUewN794p6vmYcVUpuOhauVa0TXek7Z2SLq6GuN-kX" height="200" width="auto" /><br><br>402H]]></description> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Result: 1 | |
Items { | |
TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
Badge { | |
BadgeType: BADGE_BATTLE_ATTACK_WON | |
BadgeRanks: 4 | |
Targets: "\nd\350\007" | |
} | |
} | |
Items { |