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
| const aDoc = app.activeDocument; | |
| var doc = activeDocument; | |
| var oldPath = activeDocument.path; | |
| var outFolder = new Folder(oldPath + "/out"); | |
| if (!outFolder.exists) { | |
| outFolder.create(); | |
| } | |
| const items = ['t', 'r', 's', 'c', 'a']; |
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
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Events; | |
| using UnityEngine.Video; | |
| using UnityEngine.SceneManagement; | |
| public class VideoManager : MonoBehaviour | |
| { | |
| public string backSceneName; |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using UnityEngine.SceneManagement; | |
| public class pgl : MonoBehaviour | |
| { | |
| [System.Serializable] | |
| public class SceneConf |
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
| // id es un identificador al abrir por primera vez la pagina. en la consola de chrome lo puedes obtener con: | |
| // STATE.last_id <-- objeto js dentro del codigo de la pagina | |
| // es importante el last_id es algo mal hecho en la página pues idoneamente un rest api debe ser state less | |
| // pero pues le valió verga al vato qué lo hizo | |
| var getBooks = function (id) { | |
| var reqHandler = function (data) { | |
| // aqui debe haber alguna forma de control o se descargará infinitamente.. | |
| //c++ | |
| console.log(data) // <-- aquí están los books :) data.books === [] | |
| //if(c != 3){ |
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
| package palmero.upv.diabetes.util | |
| import android.widget.LinearLayout | |
| import android.widget.RelativeLayout | |
| /** | |
| * Created by rakirox on 5/20/17. | |
| */ | |
| open class Bar (private var viewMod:LinearLayout, private var currentValue:Int = 100){ | |
| private var parent : RelativeLayout = viewMod.getParent() as RelativeLayout |
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
| package palmero.upv.diabetes.util | |
| import android.widget.LinearLayout | |
| import android.widget.RelativeLayout | |
| /** | |
| * Created by rakirox on 5/20/17. | |
| */ | |
| open class Bar (var viewMod:LinearLayout, var currentValue:Int){ | |
| var parent : RelativeLayout = viewMod.getParent() as RelativeLayout |
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
| package palmero.upv.diabetes.util | |
| import android.widget.LinearLayout | |
| import android.widget.RelativeLayout | |
| /** | |
| * Created by rakirox on 5/20/17. | |
| */ | |
| open class Bar (viewValue:LinearLayout, initValue:Int){ | |
| var parent : RelativeLayout = viewValue.getParent() as RelativeLayout |
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
| package palmero.upv.diabetes.util | |
| import android.widget.LinearLayout | |
| import android.widget.RelativeLayout | |
| /** | |
| * Created by rakirox on 5/20/17. | |
| */ | |
| open class Bar (viewValue:LinearLayout, initValue:Int){ | |
| var parent : RelativeLayout |
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
| import android.app.Activity | |
| import android.os.Bundle | |
| import kotlinx.android.synthetic.main.activity_home.* | |
| class HomeActivity : Activity() { | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| super.onCreate(savedInstanceState) | |
| setContentView(R.layout.activity_home) |
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
| package palmero.upv.diabetes; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.Toast; | |
| /** | |
| * Created by rakirox on 5/19/17. |
NewerOlder