Thursday, 14 April 2016

Pekembangan Gojek dan Grab bike menyisihkan Ojek Pangkalan

Kemajuan teknologi memang membantu kehidupan kita sebagai pekerja di ibu kota ini terlebih bekerja jauh dari tempat tinggal ataupun kostan, yap betul sekali memang tulisan ini di arahkan untuk semua pengguna fasilitas ojek online let say "Gojek or Grab Bike"

Start up ini berhasil mencuri perhatian masyarakat jakarta dan sangat di minati oleh pekerja karena murah untuk jarak jauh,menurut pengalaman ku selama menggunakan gojek atau grab adalah mereka sebagaian dari orang kantoran, bahkan ada 1 driver Grab bike yang bekerja di anak perusahaan Jarum ketika di PHK memutuskan menjadi driver grab bike.

Magnet 2 startup ini memang bak gadis sexy penjual jamu semua mata para lelaki tertuju pada dada dan paha nya, #intermezo-sejenak :v


ya jelas maksud ane adalah semua orang yang butuh pekerjaan ingin menjadi driver gojek dan grab bike, kalau gak percaya tanya driver gojek atau grab bike tersebut sebelumnya kerja apa then will make you shock.

Giliran gw lah sejenak untuk sharing something about it ya, memang gojek dan grab bike sangat membantu ntah itu dari para pekerja dan pengguna jasa ini, tapi ada 1 hal yang grab dan gojek berikan effect berikan terhadap ojek pangkalan yang penyandang cacat ntah itu lahir ataupun karena sakit mereka tidak bisa mendaftarkan diri, inilah yang perlu di tanggapi juga oleh 2 startup ini karena saya yakin ada banyak driver yang cacat.

Berikut adalah video tukang ojek pangkalan yang saya rekam sendiri, silahkan tonton aja ya



Memang sebelum adanya gojek atau grab langganannya cukup banyak tapi itu sudah terjadi tidak perlu di bahas terlalu panjang lebar, yang pasti adalah beliau masih tetap semangat menjalani hidup dan bekerja sebagai tukang ojek pangkalan yang mulai perlahan di tinggalkan oleh pelanggannya,

Tapi ada 1 hal yang ku pelajari dari pak marjiman ini adalah dia tetap semangat menjalani kehidupan dengan senyumannya yang tulus, jika kalian stay di daerah Taman Alfa Indah saya menyarankan untuk menggunakan ojek beliau, berikut data bapak ojek nya
  1. Pak Marjiman (0878-8605-4777)
  2. Taman Alfa Indah tempat mangkal nya



















Thursday, 17 March 2016

Helper Codeignter Convert Number into Button

Simple helper for convert number into some word in PHP especially for codeignter framework,

As long as you develop project you need some helper if you already know CI,  now i'm going to create Tutorial about convert number into some words using codeignter

here is my helper about it, give it name convert_status_helper.php

 <?php  
  'Pending',  
     2=> 'Approve 1',  
     3=> 'Reject 1',  
     4=> 'Approve 2',  
     5=> 'Reject 2',  
     6=> 'Approve Admin',  
     7=> 'Reject Admin',  
 */  
 if ( ! function_exists('test_method'))  
 {  
   function convert_to_colour($var = '')  
   {  
     if ($var=='1')  
     {  
      echo "<div class="external-event bg-green">  
 Pending</div>  
 ";  
     }  
     else if ($var=='2')   
     {  
       echo "<div class="external-event bg-yellow">  
 Approve 1</div>  
 ";  
     }  
   else if ($var=='3')   
     {  
       echo "<div class="external-event bg-black">  
 Reject 1</div>  
 ";  
  }  
     else if ($var=='4')   
     {  
       echo "<div class="external-event bg-aqua">  
 Approve 2</div>  
 ";  
     }  
   else if ($var=='5')   
     {  
       echo "<div class="external-event bg-black">  
 Reject 2</div>  
 ";  
  }  
     else if ($var=='6')   
     {  
       echo "<div class="external-event bg-red">  
 Approve Admin</div>  
 ";  
     }  
   else if ($var=='7')   
     {  
       echo "<div class="external-event bg-black">  
 Reject Admin</div>  
 ";  
  }  
     else   
     {  
      echo "<div class="external-event bg-black">  
 Pending</div>  
 ";  
     }  
   }    
 }  
 ?>  


in that helper convert number into button but if you need convert to words you can change it, open autoload we need autoload this helper like this

 $autoload['helper'] = array('convert_status');  

then i put in controller login and this is my controller

 <?php  
 if (!defined('BASEPATH'))  
   exit('No direct script access allowed');  
 class Login extends CI_Controller  
 {  
   function __construct()  
   {  
     parent::__construct();  
   }  
   public function index()  
   {  
      $this->load->view('login');  
   }  
 }  


and in your view you just need

 <?php echo convert_to_colour('1') ?>  


this helper help me alot when show status in multiple controller then i just call by conver_to_colour so this is my deisgn based on number

  1. Number  One For Button Pending Status
  2. Number  Two For Button Pending Approve 1
  3. Number  Three For Button Pending Reject 1
  4. Number  Four For Button Pending Approve 2
  5. Number  Five For Button Pending Reject 2
  6. Number  Six  For Button Approve Admin
  7. Number  Seven For Button  Reject Admin

in your view don't forget to use bootsrap framework, cause i use it tomake button become pretty
then this is my screen shot with status 1

Hope you understand lah what i'm talking about, thanks




I'm 24 Being Suck Now & What Should I Do !

well during coding i search by random, open facebook, googling, etc then i found this article 

Is It Too Late?I am 24-years-old and feel like a complete failure who has wasted many, many years. What can I do to quickly get myself back on track?


it's like slap me after read answer from user in quora, i feel like what he asked in that forum.
  • No Motivation
  • No Goal
  • Being Flat
  • Hopeless
  • Full of Pain

i feel like lost after read all. but my mind give tolerance why this shit happen, and why no luck, even at this age i have no girlfriend ? oh poor me, i don't know why i blog my feeling now or just trying to pour all emotions in this blog.

My Current Job now is Web Developer create website honestly i'm not enjoy to much this job  but i will keep it till 2 years in this field, as indonesian i have some responsibility abpout my family but will not publish in here, i need something more than money i mean yes money can give comforts even fully of stressed i believe that theology.

Next month i will resign from  company but don't know how to start where should go, but i will give limitation time to find out where my soul / my passion should lead me, do i regret to take decision without new job ? first answer is yes but as long as i have hand and foot and brain to think i can go through this situation.

now after read this i feel like warm, feel free little bite lah. now my life begin in jakarta, i dont know will stay in IT or move to another department ?

hope this year all become easy for me, new job and will meet my future wife lah cause it's to hard with this age without girl friend. duh i too much (lebay) to write all shit in my mind in this blog, ah why i need Lord in this time, hey reader i hope you are doing great now, 



Sunday, 6 March 2016

Create Auto Increment without setting in PHPMYADMIN using CI

well may be the title make you hard to understand, let me give you example of my work, please see my images bellow with circle in that form

well logic is i select id from table order by desc limit 1 then in view i add with number 1 then i will look like autoincrement but it's not, here is my database screen shoot

then in view show up with number 10, so let me show my code,
cCONTROLLER
 $data = array(  
                //pro_employee_id auto increment  
                'id'=>$this->Karyawan_model->getlastid(),  
                );  
 $this->template->load('template', 'pro_employee_form',$data);  

MODEL
 function getlastid()  
      {  
        $this->db->from('pro_employee');  
     $this->db->order_by("pro_employee_id", "desc");  
     $this->db->limit('1');   
     return $this->db->get()->row();    
      }  

VIEW 
 <?php  
           $maxid = 0;  
     if ($id) {  
       $maxid = $id->pro_employee_id;   
     }   
           ;?>  
            <input type="text" class="form-control" name="pro_employee_id" id="pro_employee_id" value="<?php echo $maxid+1 ?>" readonly />  

hope you understand what i'm telling in here, thanks for visiting me,
Cheers


Friday, 4 March 2016

why you don't mastrubate or premature on it

Kalau ada orang bilang hidup itu butuh makan memang betul, tapi hidup yang buat menjadi hidup ada HARAPAN tapi entah kenapa kata harapan itu di nodai dengan kata-kata HARAPAN PALSU ini memberikan efek psikologi yang tenang terhadap orang yang berharap.

Kata "harapan" itu ibarat es kelapa muda yang di minum sehabis kecapean nyari alamat rumah gak ketemu-ketemu padahal sudah dilewati berkali-kali, kalau boleh sedikit mengartikannya Harapan itu adalah sesuatu yang di kejar dan membutuhkan waktu untuk wujudkan hal itu (please correct me)

Mungkin pernah dengar nasihat para rohaniawan kalau ada yang curhat respondnya adalah "Sabar, indah pada waktunya" jelas itu memberikan efek menenangkan kalau lagi ada masalah, tapi kalau di liat dari definisi di atas tentang menunggu sesuatu terjadi, ada hal yang unik yang mau gw diskusikan.

pertama gw mau diskusikan setuju kan definisi diatas ? kalau setuju kita lanjut, beberapa malam lalu sempet diskusi dengan teman tentang HARAPAN sehabis pulang kantor, tapi yang extrem adalah gw di ajak untuk berpikir ekstrem dan out the box. begini kira-kira kalimatnya

"If you have some hope that hard to get, forget it and let's move ! but if you think that your hope will be come true but it take so long, why you don't mastrubate or premature on it"

tapi ada caption kecil resiko di tanggung sendiri, kalau boleh gw kasih case ada 2 mamak-mamak yang lagi hamil prediksi dokter salah satu ada yang premature dan yang satu akan normal ? pertanyaan gw adalah apakah keduanya bisa yakin selamat dua-duanya, atau yang premature akan pasti gak selamat, well semua ada resiko nya masing-masing toh tapi kalau selamat dua-duanya siapa yang lebih dulu bisa melihat anaknya, jelas premature bukan, agak suliat seh untuk bahas elemen harapan ini karena banyak faktor di dalamnya,

Terus kenapa gw sudah berharap bakal nikah umur 27 sudah harus dapat mamaknya anak-anak tapi ternyata gw sudah masuk masa expired (fuck yeah) belum dapat-dapat (kita skip aja yang inilah ya)

yang menarik ada orang yang setia dan berharap akan satu point entah itu, pendidikan, cita-cita menaruh semuanya dalam kata harapan. Jatuh bangun lagi jatuh bangun lagi, kenapa dengan gw kita jatuh bukannya bangkit malah merubah rencana, duh do i too late about this ?

Hi Thanks for reading, hope you are still oke, i you think this good article please share lah ya, hitung-hitungan kalau ada cewek yang baca mau jadi mamaknya anak-anak (LOL)














Thursday, 18 February 2016

Google Maps in Codeignter

Well short tutorial in here will talk about google maps, show multiple marker using Codeignter which is came from databse, here is screen shoot !

well map show multiple marker around some city in my case it show in Lampung i just input 2 place on it, all you need when put marker in goolge maps is lat and lang, you can read more  at here 

Input new entri google maps when you logged as admin
the url login http://localhost/map/login to the dashboard

user : admin
pass : admin


Thanks for visiting me, all file you can get at here

Sunday, 7 February 2016

Every Messangger has Their Role to Make it Become Fun for Users and Company

This is a free day "Gong Xi fat Cai" china people celebrate their happy new year, so i have free time to enjoy coffe and chating in the inet. today i'm going to write something not usefull for people but for me it worth it !

Well as single man i try as much as i can to approach the girl, by register dating online, install apps, etc ! but i'm not going talk about my sh*t, but analysis how compnay of messangger it self do their bussiness.


in 2010 facebook become familiar around the world, in television talk about facebook, school, public area, so facebook strat every apps come up with theology facebook "Connect every one around the World"


 by Mark Idea people who work and love technology do similiar but with little modification, if facebook should connect by laptop in the first time then came with application in mobile, another messsangger came with their style.

1. Whatsapp



The reason why i put whatsapp in the first place cause whatsapp there are no advertisement or spam which is annoyed people who used.

 yes i'm new in whatsapp about a month might be but after use it, i have life with flat but no too flat cause it will not give you addiction, i don't know why their programmer don't  create wall where is people status can see, put comment, liking or dislike. 

as long as become whatshapper i'm not trying to be familiar cause i already did, LOL. here is what i like in whatsapp 

i never put status like "Hey dude my coding working as well, can i get more coffe or send the girl for me" to attractive people to comment, like.

i never change profile picture with short time like in bbm with caption.

2. Line


Oh this is a worse messangger for me, there are multiple noticiation in this apps, people can invite you by random, there are sucks advertisement every minute if you have already friends,

 it give you addiction to comment, put status, like without your awareness you have already wasting time. and yes line giving a configuration of it but how people to read user guide and follow it, how many % users will spending time to configure it it might be 10-30% if line hired me i will disscuss it to research, disscuss how line become better without remove comfortable from users and get more benefit. 

Well i just compare those messangger cause in indonesia the most messangger use it even snapchat on the flying, 

Thanks for reading my article which is not usefull for you, happy chines new year lah. by the way my whatsapp 085664257224