Skip to content

Instantly share code, notes, and snippets.

View irmanfrdev's full-sized avatar

Irman Firmansyah irmanfrdev

View GitHub Profile
@irmanfrdev
irmanfrdev / Karyawan.php
Created August 11, 2020 03:42
Fitur upload file di CodeIgniter 3
public function tambah()
{
$this->load->helper('form');
$this->load->library('form_validation');
$this->form_validation->set_rules('userfile', 'Syarat', 'callback_validasi_file');
if ($this->form_validation->run()) {
$upload = $this->upload->data();
$file_name = $upload['file_name'];
@irmanfrdev
irmanfrdev / AndroidManifest.xml
Created December 17, 2019 04:02
Android Splash Screen
...
<activity
android:name=".SplashActivity"
android:theme="@style/SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>