Skip to content

Instantly share code, notes, and snippets.

View adicahyaludin's full-sized avatar
🏕️
Working from anywhere

Adi Cahyaludin adicahyaludin

🏕️
Working from anywhere
View GitHub Profile
CEKCOK QODR EPISODE 2 - MANAJEMEN WAKTU DAN PRODUKTIVITAS
Keynote Speaker
Arry Rahmawan
Founder Cerdas Mulia Institute
Link Youtube : https://www.youtube.com/watch?v=PcFlheDT5vI
RANGKUMAN :
Penyebab tidak produktif
- kewalahan
- adanya gangguan
Langkah Mencari Project
-relasi/kenalan, online/personal branding,linkedin,cv
-mengenalkan kemampuan, portofolio
-memberikan solusi yang dibutuhkan client
-follow up/detail project
-fitur
-negosiasi
-waktu/lama pengerjaan
-harga
-per project
@adicahyaludin
adicahyaludin / Project Latihan - Planner App
Last active November 19, 2016 11:54
latihan project backend dari nol sampai jadi aplikasi
Planner App
apa?
-Planner app berguna untuk mencatat daftar kerja perhari dalam satu bulan
siapa pengguna?
-tamu
-pemilik
alur?
private function get_posts_ids_by( $key, $value, $default = false )
{
$posts_ids = [];
$user_id = get_current_user_id();
$query = Capsule::table(self::table())
->select(self::table().'.ID')
->where(self::table().'.post_type','soal')
->where(self::table().'.post_status','publish');
@adicahyaludin
adicahyaludin / CURL PHP Handle File Upload via AJAX JS
Last active May 24, 2019 02:36
CURL PHP Handle File Upload via AJAX JS
$data = array(
'email' => $_POST['email'],
'first_name' => $_POST['first_name'],
'last_name' => $_POST['last_name'],
'gender' => $_POST['gender'],
'pass1' => $_POST['pass1'],
'pass2' => $_POST['pass2'],
);
if ( $_FILES['avatar']['error'] === 0 ) :
/* selec2 */
.select2-container--default .select2-selection--single .select2-selection__arrow {
height: 36px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
line-height: 38px;
}
.select2-container .select2-selection--single {
height: 38px;
}
/**
* Debug to query monitor
* @since 1.0.0
* @return void
*/
if ( !function_exists( '__debug' ) ) :
function __debug() {
$bt = debug_backtrace();
[
"Bali - Kabupaten Badung",
"Bali - Kabupaten Bangli",
"Bali - Kabupaten Buleleng",
"Bali - Kabupaten Gianyar",
"Bali - Kabupaten Jembrana",
"Bali - Kabupaten Karangasem",
"Bali - Kabupaten Klungkung",
"Bali - Kabupaten Tabanan",
"Bali - Kota Denpasar",
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*