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
package pertemuan3; | |
public class OperatorBitwise { | |
public static void main(String[] args) { | |
int a = 60; /* 60 = 0011 1100 */ | |
int b = 13; /* 13 = 0000 1101 */ | |
int c = 0; | |
c = a & b; /* 12 = 0000 1100 */ |
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
package pertemuan6; | |
import javax.swing.JOptionPane; | |
public class Kasir { | |
public static void main(String[] args) { | |
// deklarasi | |
int belanjaan, diskon, bayar; | |
String kartu; |
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
<!-- twitter card start --> | |
{block:PermalinkPage} | |
<meta name="twitter:url" content="{Permalink}"/> | |
<meta name="twitter:site" content="@ardiantapargo"> | |
<meta name="twitter:creator" content="@ardiantapargo"> | |
{block:Posts} | |
{block:Text} | |
<meta name="twitter:card" content="summary"> |
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
<!-- Open Graph tags for your home page (index). --> | |
<meta property="og:site_name" content="{Title}" /> | |
<meta property="fb:app_id" content="FACEBOOK_APPID"/> | |
<meta property="fb:admins" content="FACEBOOK_USERID" /> | |
<meta property="og:description" content="{MetaDescription}" /> | |
<meta property="og:locale" content="en_US" /> | |
{block:IndexPage} | |
<meta property="og:image" content="{PortraitURL-128}" /> | |
<meta property="og:title" content="{Title}" /> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello Bootstrap</title> | |
<!-- menyisipkan bootstrap --> | |
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" /> | |
</head> |
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
package pertemuan7; | |
import javax.swing.JOptionPane; | |
/** | |
* | |
* @author petanikode | |
*/ | |
public class KalkulatorSederhana { | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Kode PHP dalam File HTML</title> | |
</head> | |
<body> | |
<p>Ini kode HTML, dan dibawah ini:</p> | |
<p><?php echo "Kode PHP"; ?></p> | |
</body> | |
</html> |
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
{ | |
"responseData": { | |
"feed": { | |
"feedUrl": "http://feeds.feedburner.com/petanikode", | |
"title": "Petani Kode", | |
"link": "http://www.petanikode.com/", | |
"author": "Muhar Dian", | |
"description": "Blog Programmer Pengguna Linux", | |
"type": "atom10", | |
"entries": [ |
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
-- phpMyAdmin SQL Dump | |
-- version 4.5.4.1deb2ubuntu2 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Nov 26, 2016 at 10:39 PM | |
-- Server version: 5.7.16-0ubuntu0.16.04.1 | |
-- PHP Version: 7.0.8-0ubuntu0.16.04.3 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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
#AND | |
<b:if cond='data:blog.pageType == "index"'> | |
<b:if cond='data:blog.searchQuery'> | |
<!--search_page AND index_page--> | |
</b:if> | |
</b:if> | |
#OR |