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 | |
$input = "2 4"; // Input dari user | |
print_r(str_split($input)); // Tgk kedudukan array 0 hingga 2 | |
$input = str_split($input); | |
echo "Data :".$input[0]; // Display kedudukan array[0] | |
echo "\n"; // Skip array[1] | |
echo "Data :".$input[2]; // Display kedudukan array[2] | |
?> |
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
git help # shows git commands | |
git init # creates git repository in current directory | |
git add -A # adds all files in current directory to repository | |
git commit -m "message" # commits changes with specific message | |
git push # pushes committed changes to remote repository on server | |
git status # checks current status of the local repository | |
git pull # pulls updates from remote repository | |
git fetch # fetches changes from remote repository | |
git fetch -p # fetches changes with "prune" option removes local copies of deleted "remote" branches | |
git checkout my_branch # switches to branch named "my_branch" |
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
// Old technique | |
foreach (ListItem item in DropDownList1.Items) { | |
if (item.Text == defaultText) { | |
item.Selected = true; | |
break; | |
} | |
} | |
// 2nd technique | |
DropDownList1.SelectedIndex = DropDownList1.Items.IndexOf( DropDownList1.Items.FindByText( defaultText)); |
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
Apache / MySQL | |
============== | |
sudo /etc/init.d/<services> <option> | |
Services : Apache2, Mysql | |
Option : start. stop, restart | |
Shortcut key | |
============= | |
Ctrl + Super + D - Max/Min windows | |
Super + S - Zoom out, switch workspace |
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
Android studio (ppa ubuntu-make) | |
keeppass2 | |
gitgui | |
classic menu indicator | |
tlp (battery) | |
sublime-text editor | |
touchpad indicator | |
mysql workbench | |
apache2 + php + mysql | |
dropbox |
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
Start xamp | |
========== | |
sudo /opt/lampp/lampp start | |
Stop xampp | |
========== | |
sudo /opt/lampp/lampp stop | |
Restart xampp | |
============== |
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
INFO: `gem install -y` is now default and will be removed | |
INFO: use --ignore-dependencies to install only the gems you list | |
Successfully installed bundler-1.10.3 | |
1 gem installed | |
Installing ri documentation for bundler-1.10.3... | |
Installing RDoc documentation for bundler-1.10.3... |
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
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
</head> | |
<body> | |
<script runat="server"> |
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
// Fig. 19.36: Guestbook.aspx.cs | |
// Code-behind file that defines event handlers for the guestbook. | |
using System; | |
using System.Collections.Specialized; // for class ListDictionary | |
public partial class Guestbook : System.Web.UI.Page | |
{ | |
// Submit Button adds a new guestbook entry to the database, | |
// clears the form and displays the updated list of guestbook entries | |
protected void submitButton_Click( object sender, EventArgs e ) |
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
Concepts of test architectures | |
Abstraction of test cases (e.g. test levels, test types, abstract equivalent classes, high-level test conditions and high-level test cases) | |
Relationships of abstract test cases | |
Separation of concerns for test | |
Architecture of test suite based on abstract test cases (e.g. design of test levels and test types) | |
Types of test architecture (e.g. architecture of test suite and architecture of test system/environment) | |
Similarities, differences and harmonization between test suite architecture and test system architecture | |
Similarities and differences among test architecture, test strategy, test plan and test sub-process in 29119 | |
Design of test architecture | |
How to design several test levels |
OlderNewer