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
package com.example.mockie.tigaer.database.repository | |
import android.content.Context | |
import com.example.mockie.tigaer.database.database | |
import org.jetbrains.anko.db.* | |
import com.example.mockie.tigaer.database.model.User as UserModel | |
/** | |
* Created by mockie on 18/12/17. | |
*/ |
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
val left = 90 | |
val center = 380 | |
val right = 662 | |
for (i in 0 until page) { | |
TscUSB.sendcommand("BARCODE " + left + ",32,\"128\",45,1,0,1,1,2,\"" + finalCode +"\" \r\n") | |
TscUSB.sendcommand("BARCODE " + center + ",32,\"128\",45,1,0,1,1,2,\"" + finalCode +"\" \r\n") |
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
<div class="row"> | |
@foreach($patterned as $p) | |
<div class="col-xs-6 col-sm-3 col-lg-3"> | |
<div class="thumbnail product-thumbnail" > | |
<img src="{{ url('images/motif/'.$p->code.'.jpg') }}" @click="showDetail"> <!-- image toggle --> | |
<div class="details-product"> <!-- and then show this div --> | |
<?php | |
$meta = unserialize($p->meta); |
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
package tigaer.inventory | |
import android.content.Intent | |
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import android.view.View | |
import kotlinx.android.synthetic.main.upload_motif_activity.* | |
import android.provider.MediaStore | |
import android.graphics.Bitmap | |
import android.net.Uri |
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
package tigaer.inventory | |
import android.content.Intent | |
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import android.view.View | |
import kotlinx.android.synthetic.main.upload_motif_activity.* | |
import android.provider.MediaStore | |
import android.graphics.Bitmap | |
import android.net.Uri |
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
package tigaer.inventory | |
import android.Manifest | |
import android.annotation.SuppressLint | |
import android.app.Activity | |
import android.content.Context | |
import android.content.DialogInterface | |
import android.content.Intent | |
import android.content.pm.PackageManager | |
import android.database.Cursor |
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
<?php | |
namespace App\Helpers; | |
/* | |
* This class is an implementation of http://stackoverflow.com/questions/787496/what-is-the-best-way-to-compute-trending-topics-or-tags/826509#826509 in PHP. | |
*/ | |
class ZScore { | |
// The rate at which the historic data's effect will diminish | |
private $decay; | |
// The population (data) |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: mockie | |
* Date: 13/05/15 | |
* Time: 4:20 | |
*/ | |
namespace Port\AdminControlPanel\Controller; |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: mockie | |
* Date: 21/04/15 | |
* Time: 15:06 | |
*/ | |
namespace AAA\Forum\Listeners; |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: mockie | |
* Date: 13/09/15 | |
* Time: 22:13 | |
*/ | |
namespace ImageManipulator\Utilities; |
NewerOlder