Skip to content

Instantly share code, notes, and snippets.

View ersgonzalo's full-sized avatar

Eric Gonzalo ersgonzalo

View GitHub Profile
@ersgonzalo
ersgonzalo / twitter-service.ts
Last active March 3, 2016 17:19
Twitter Service Angular 2
import {Injectable} from 'angular2/core';
import {URLSearchParams, Jsonp} from 'angular2/http';
@Injectable()
export class TwitterService {
constructor(private jsonp:Jsonp) {
}
search(widgetID:string) {
let randomNumber:number = Math.random();
@ersgonzalo
ersgonzalo / fgo-save-sharing.md
Last active September 9, 2020 23:07
F/GO Save Sharing between Devices

Original Reddit Thread: https://www.reddit.com/r/grandorder/comments/hfbz0h/fgo_save_files_for_na_and_jp_play_on_multiple/

Disclaimer/Notes: Created as of 2020.09.08. In case DW or Aniplex decides to change the file save structure, this should work. I can confirm this from my own end, playing off my Main Account between a Samsung Galaxy S10e and the Samsung Galaxy Tab S5e. I've slightly modified the steps for more clarity using a file explorer agnostic of Operating System. This also personally for me in preparation for Gilfest 2020 and potential usage with the Fate-Grand-Automata autorunner for less pain in farming lotto.

Instructions

Majority of credit to /u/vanwayne8 on Reddit. A small guide for copying save data of your Fate/Grand Order account so you can play it in multiple Android devices and emulators without losing your transfer code o

@ersgonzalo
ersgonzalo / fileRenameWithMoment.js
Last active April 20, 2021 16:35
Unix Time File Renaming from Arlo Video Downloads
//Note that this is a node.js script so you will also have to `npm install moment`
const fs = require('fs');
const moment = require('moment');
const { resolve, sep } = require('path');
//Replace the {yourFolderDirectoryHere} with the directory of Unix files you want to rename
const testFolder = './{yourFolderDirectoryHere}/';
const fileDirPath = resolve(__dirname, testFolder);