Skip to content

Instantly share code, notes, and snippets.

View bangiqi's full-sized avatar
🏠
Working from home

Rizki Ramdani bangiqi

🏠
Working from home
  • Female Daily Network
  • Bogor, Indonesia
View GitHub Profile
// 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;
{!! 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()!!}
<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']) !!}
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;
package soalsalah.soal;
/**
* Created by ramdanix on 21/04/17.
*/
public class KumpulkanPW {
public static void main(String[] args){
LaporanPw laporanpw = new LaporanPw(
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;
web_sis:
build:
context: ./laracoba
dockerfile: deploy/web.docker
volumes:
- ./laracoba:/var/www
ports:
- "8081:80"
links:
- app_api
version: '2'
services:
web:
build:
context: ./
dockerfile: deploy/web.docker
volumes:
- ./apisimanset:/var/www
ports:
- "8081:80"
version: '2'
services:
web:
build:
context: ./
dockerfile: deploy/web.docker
volumes:
- ./:/var/www
ports:
- "8080:80"
version: '2'
services:
web:
build:
context: ./
dockerfile: deploy/web.docker
volumes:
- ./:/var/www
ports:
- "8081:80"