This file contains 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
public static void main(String[] args) { | |
Dispositivo a = new Dispositivo("a", 1.0, true); | |
Dispositivo b = new Dispositivo("b", 1.0, true); | |
RepoDispositivos.getInstance().agregar(a); | |
RepoDispositivos.getInstance().agregar(b); | |
try { | |
JSONWrapper.getInstance().guardarDispositivos(); | |
RepoDispositivos.getInstance().quitar(a); | |
JSONWrapper.getInstance().cargarDispositivos(); |
This file contains 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
class Trait | |
attr_accessor :methodHash | |
def self.define(&bloque) | |
a = Trait.new | |
a.methodHash = Hash.new | |
a.instance_eval(&bloque) | |
end | |
def name(sym) |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using TGC.Core.SceneLoader; | |
using TGC.Core.Example; | |
using TGC.Core.Mathematica; | |
namespace TGC.Group.Model.GameObjects |
This file contains 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
https://www.googleapis.com/drive/v3/files/1wHUfbeOqy7CN4asOGfkMyizDcDw-YgHn/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Drunkers Pack 2.zip | 152759316 | |
https://www.googleapis.com/drive/v3/files/1P-Ufvf30Dl2pC8micEht5s6OKwFsVteq/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | SMG Community Revival Pack.zip | 152802682 | |
https://www.googleapis.com/drive/v3/files/1Dwpe9odduzsX0zYShZXAH-QBVuDanVxU/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | DDR Tom's Mix 6.zip | 152090480 | |
https://www.googleapis.com/drive/v3/files/1-hZUD-cR5KHwDcZnxtCGBkiJlUhlSFpZ/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Rikame's Simfiles 4.zip | 152233756 | |
https://www.googleapis.com/drive/v3/files/1eTh6-XqD466n2eyi98xXbJo_YoykLZhv/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | M&M's Flavour Sensation.zip | 151948513 | |
https://www.googleapis.com/drive/v3/files/11uoooO4koagGWidgm1RBm6WuVUzAeb7Y/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Metal Pad Pack.zip | 152663218 | |
https://www. |
This file contains 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
https://www.googleapis.com/drive/v3/files/1JtMDIskg9nfwhi85xjX1z12uiVOiFdCv/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Vocaloid Gift BOX.zip | 162202248 | |
https://www.googleapis.com/drive/v3/files/1CL1EGz_VtXFuSnPdrGcllE_7AbJMF9iv/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Stepmania France Megapack.zip | 162269939 | |
https://www.googleapis.com/drive/v3/files/1d7pY4LDGbtZKIjyM8baXqaW5L4sZbwQA/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | 7mai3 (JP region change needed).zip | 162225099 | |
https://www.googleapis.com/drive/v3/files/1hTAoP6uv27rWJlHJj55rMOELShJ0I8fL/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | SS 25th Style.zip | 162218987 | |
https://www.googleapis.com/drive/v3/files/11Qw3sI7WkqY_n2Gj54PxcMvCdIKpPTS7/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | HBK Synchro 76-100.zip | 204019659 | |
https://www.googleapis.com/drive/v3/files/1ZetJdAoi94DWYKPgmj6uQAXPYfewCE00/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Estepper Exclusives 2.zip | 203434209 |
This file contains 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
[{"packname":" Vocaloid Gift BOX.zip ","size":" 162202248","download":"https://www.googleapis.com/drive/v3/files/1JtMDIskg9nfwhi85xjX1z12uiVOiFdCv/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media "},{"packname":" Stepmania France Megapack.zip ","size":" 162269939","download":"https://www.googleapis.com/drive/v3/files/1CL1EGz_VtXFuSnPdrGcllE_7AbJMF9iv/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media "},{"packname":" 7mai3 (JP region change needed).zip ","size":" 162225099","download":"https://www.googleapis.com/drive/v3/files/1d7pY4LDGbtZKIjyM8baXqaW5L4sZbwQA/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media "},{"packname":" SS 25th Style.zip ","size":" 162218987","download":"https://www.googleapis.com/drive/v3/files/1hTAoP6uv27rWJlHJj55rMOELShJ0I8fL/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media "},{"packname":" HBK Synchro 76-100.zip ","size":" 204019659","download":"https://www.googleapis.com/drive/v3/files/11Qw3sI7WkqY_n2Gj54PxcMvCdIKpPTS7/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL |
This file contains 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
--[[ | |
GridActor handles the update and input callback registering. | |
It also contains all the grid actors (Quads, or "Coloured rectangles") | |
The config table has all the basic configurable game parameters | |
The grid table contains a matrix of cells, used by gridActor quads to draw themselves | |
A cell can either be nil (Empty) or have a block | |
A block is a lua table which has a color | |
the currentPiece variable is a table with a 1 character string (type), a | |
a rotation (Number 0-3) and an offset (How many cells it has fallen) number | |
inputCallback is the inputCallback function |
This file contains 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
--[[ | |
GridActor handles the update and input callback registering. | |
It also contains all the grid actors (Quads, or "Coloured rectangles") | |
The config table has all the basic configurable game parameters | |
The grid table contains a matrix of cells, used by gridActor quads to draw themselves | |
A cell can either be nil (Empty) or have a block | |
A block is a lua table which has a color | |
the currentPiece variable is a table with a 1 character string (type), a | |
a rotation (Number 0-3) and an offset (How many cells it has fallen) number | |
inputCallback is the inputCallback function |
This file contains 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 resizeX(x) return x*SCREEN_WIDTH/854 end | |
function resizeY(y) return y*SCREEN_HEIGHT/480 end | |
function resize(point) | |
return {resizeX(point[1]), resizeY(point[2])} | |
end | |
function fillNilTableFieldsFrom(table1, defaultTable) | |
for key,value in pairs(defaultTable) do | |
if table1[key] == nil then | |
table1[key] = defaultTable[key] | |
end |
This file contains 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 countFilesInFolder() { | |
var c=1; | |
var size = 0; | |
var folderName = "Packs3"; | |
var folders = DriveApp.searchFolders('sharedWithMe and title contains "'+folderName+'"'); | |
var folder = folders.next().getFiles(); | |
while (folder.hasNext()){ | |
var file = folder.next(); | |
c+=1; |
OlderNewer