h - Move left
j - Move down
k - Move up
l - Move right
$ - Move to end of line
0 - Move to beginning of line (including whitespace)
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
<?php | |
if (!function_exists('array_group_by')) { | |
/** | |
* Groups an array by a given key. | |
* | |
* Groups an array into arrays by a given key, or set of keys, shared between all array members. | |
* | |
* Based on {@author Jake Zatecky}'s {@link https://github.com/jakezatecky/array_group_by array_group_by()} function. | |
* This variant allows $key to be closures. |
This is an incomplete list of resources including courses and individuals who publish content that has helped me grow as a web developer and designer. Many of these resources are WordPress-specific as that is my current area of specialization. This list will grow over time. If you've got something to add, send me a link @kevinwhoffman and I'll check it out!
- gorengan, martabak telor, ayam goreng kulitnya
- lemak jenuh -> santan kelapa, daging kemasan ( kornet & sosis, mentega ) -> yang bagus minyak zaitun
- lemak trans (minyak yg dipadatkan) -> biskuit asin (crackers), kue kering manis (cookies), roti dan donat
- jeroan (ayam dan sapi) -> hati, otak, usus, ampela, jantung dan organ dalam lainnya.
- kulit ayam, sapi, kikil mengangdung lemak jenuh yang lebih tinggi dari daging nya.
- kuning telor ( lebih baik pilih protein dari tahu dan tempe )
- junk food ( kentang goreng, ayam goreng tepung, burger )
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
# download ini di github | |
https://github.com/microsoft/msphpsql/releases | |
* sesuaikan dengan php versionnya, check di | |
http://localhost/dashboard/phpinfo.php | |
https://github.com/Microsoft/msphpsql/releases/download/v5.3.0/Windows-7.0.zip | |
* extract zip folder nya, lalu pilih folder sesuai tipe xampp nya. (tipe nya 32 bit di gw) | |
`php_pdo_sqlsrv_7_ts.dll` copy lalu taro di xampp/php/ext |
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
# how to check item untuk obsolete | |
select item, description, show_in_drop_down_list, reason_code, stat from item_mst where item='12-01-AA05-00001'; | |
# untuk update item jadi active dan bisa di select | |
update item_mst set stat='A', show_in_drop_down_list=1, reason_code='' where item='12-01-AA05-00001'; | |
# untuk membuat item jadi obsolete | |
update item_mst set stat='O', show_in_drop_down_list=0, reason_code='A02' where item='12-01-AA05-00001'; |
- https://github.com/goq/telegram-list - telegram list
- https://gist.github.com/dmnsgn/76878ba6903cf15789b712464875cfdc
- https://github.com/ganqqwerty/123-Essential-JavaScript-Interview-Question
React
- https://react.rocks
- https://reactjs.org
- https://github.com/facebook/create-react-app - start template react
- http://jestjs.io
- https://github.com/facebook/prop-types - prop-types
https://insights.stackoverflow.com/survey/2017
https://coggle.it/diagram/Vz9LvW8byvN0I38x
https://github.com/kamranahmedse/developer-roadmap
- https://coursehunters.net/ - платные(бесплатные) видео курсы
- https://www.freecodecamp.com/ - после codecademy берись за этот ресурс
- http://watchandcode.com/ - можешь взяться за это до freecodecamp
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
```php | |
<?php | |
// Untuk Index SPK using Ajax | |
public function allSpk(Request $request) | |
{ | |
$columns = array( | |
0 => 'start_date', | |
1 => 'end_date', | |
2 => 'spkclosed_date', | |
3 => 'spk_no', |
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
<?php | |
//set printing option to raw | |
$tmpdir = sys_get_temp_dir(); # ambil direktori temporary untuk simpan file. | |
$file = tempnam($tmpdir, 'ctk'); # nama file temporary yang akan dicetak | |
$handle = fopen($file, 'w'); | |
$condensed = Chr(27) . Chr(33) . Chr(4); | |
$bold1 = Chr(27) . Chr(69); | |
$bold0 = Chr(27) . Chr(70); | |
$initialized = chr(27).chr(64); |
NewerOlder