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
// simpan diluar class | |
extension UITextField{ | |
func underline(){ | |
let border = CALayer() | |
let width = CGFloat(2.0) | |
border.borderColor = UIColor.lightGray.cgColor | |
border.frame = CGRect(x: 0, y: self.frame.size.height - width, width: self.frame.size.width, height: self.frame.size.height) | |
border.borderWidth = width | |
borderStyle = UITextBorderStyle.none; |
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
{!! Form::model($data_mhs, ['route' => ['mahasiswas.update', $data_mhs],'method' =>'put','class'=>'form-horizontal'])!!} | |
@include('form.form_add_mhs', ['model' => $data_mhs]) | |
{!! Form::close() !!} | |
{!! Form::model($mahasiswa, ['route' => ['mahasiswas.destroy', $mahasiswa], 'method' => 'delete', 'class' => 'form-inline'] ) !!} | |
<a href="{{ route('mahasiswas.edit', $mahasiswa->id)}}">Edit</a> | | |
{!! Form::submit('delete', ['class'=>'btn btn-xs btn-danger']) !!} | |
{!! Form::close()!!} |
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="form-group {!! $errors->has('npm') ? 'has-error' : '' !!}"> | |
{!! Form::label('npm', 'npm',['class'=>'control-label col-sm-2']) !!} | |
<div class="col-sm-3"> | |
{!! Form::text('npm', isset($model) ? $data_mhs->npm : null, ['class'=>'form-control']) !!} | |
{!! $errors->first('npm', '<p class="help-block">:message</p>') !!} | |
</div> | |
</div> | |
<div class="form-group {!! $errors->has('nama') ? 'has-error' : '' !!}"> | |
{!! Form::label('nama', 'nama',['class'=>'control-label col-sm-2']) !!} |
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.labs.ramdani.klubpompibpom.activity.klubpompi.view; | |
import android.app.AlertDialog; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.SharedPreferences; | |
import android.support.design.widget.FloatingActionButton; | |
import android.support.design.widget.TextInputLayout; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; |
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 soalsalah.soal; | |
/** | |
* Created by ramdanix on 21/04/17. | |
*/ | |
public class KumpulkanPW { | |
public static void main(String[] args){ | |
LaporanPw laporanpw = new LaporanPw( |
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.labs.ramdanix.swiperefreshfragment.fragment; | |
import android.os.Bundle; | |
import android.support.annotation.Nullable; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.widget.SwipeRefreshLayout; | |
import android.util.Log; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; |
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
web_sis: | |
build: | |
context: ./laracoba | |
dockerfile: deploy/web.docker | |
volumes: | |
- ./laracoba:/var/www | |
ports: | |
- "8081:80" | |
links: | |
- app_api |
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
version: '2' | |
services: | |
web: | |
build: | |
context: ./ | |
dockerfile: deploy/web.docker | |
volumes: | |
- ./apisimanset:/var/www | |
ports: | |
- "8081:80" |
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
version: '2' | |
services: | |
web: | |
build: | |
context: ./ | |
dockerfile: deploy/web.docker | |
volumes: | |
- ./:/var/www | |
ports: | |
- "8080:80" |
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
version: '2' | |
services: | |
web: | |
build: | |
context: ./ | |
dockerfile: deploy/web.docker | |
volumes: | |
- ./:/var/www | |
ports: | |
- "8081:80" |