INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
ideally one sentence >
| { | |
| "require": { | |
| "mfacenet/hello-world": "v1.*" | |
| } | |
| } |
| /** | |
| * Starter vars. | |
| */ | |
| var index = 0; | |
| var i; | |
| /** | |
| * Need cordova.file plugin. | |
| * $ cordova plugin add org.apache.cordova.file | |
| * |
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.Events; | |
| namespace Cluster { | |
| public class CollisionCall : MonoBehaviour { | |
| public LayerMask layerMask = -1; |
| // Drop into Assets/Editor, use "Tools/Regenerate asset GUIDs" | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using UnityEditor; | |
| namespace UnityGuidRegenerator { | |
| public class UnityGuidRegeneratorMenu { |
| public static String getExternalSdCardPath() { | |
| String path = null; | |
| File sdCardFile = null; | |
| List<String> sdCardPossiblePath = Arrays.asList("external_sd", "ext_sd", "external", "extSdCard"); | |
| for (String sdPath : sdCardPossiblePath) { | |
| File file = new File("/mnt/", sdPath); | |
| if (file.isDirectory() && file.canWrite()) { |
| import android.os.CountDownTimer; | |
| abstract public class CountUpTimer | |
| { | |
| private CountDownTimer countDownTimer; | |
| private int countDownCycle; | |
| public CountUpTimer(long countUpInterval) { | |
| countDownTimer = new CountDownTimer(Long.MAX_VALUE, countUpInterval) { | |
| @Override |
| void displayText(const QString &text, const QColor &backgroundColor, const QColor &textColor, const Vec3D &pos) | |
| { | |
| // some magic number (margin, spacing, font size, etc..) | |
| int fontSize = 15; | |
| int text_width=text.size()*(fontSize/1.5)+5, text_height=fontSize+20; | |
| // create the QImage and draw txt into it | |
| QImage textimg(text_width, text_height, QImage::Format_RGB888); | |
| { | |
| QPainter painter(&textimg); |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |