Skip to content

Instantly share code, notes, and snippets.

View arbo77's full-sized avatar
🤧
I may be slow to respond.

Ari Wibowo arbo77

🤧
I may be slow to respond.
View GitHub Profile
@arbo77
arbo77 / blogspot-list.php
Created July 29, 2012 20:21
Blogspot content parser using PHP CUrl, last update using Google Blogger API
<?php
/*
* read more on :
* https://developers.google.com/blogger/docs/3.0/getting_started
*
*/
$key["server"] = "YOUR_BLOGGER_API_KEY";
$blogId = "YOUR_BLOG_API";
@arbo77
arbo77 / jqlock-usage.html
Created August 1, 2012 19:37
jQuery plugin to display clock
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>jqlock usage</title>
<meta name="author" content="[email protected]" />
<script src="jquery-1.7.1.min.js"></script>
<script src="jqlock.js"></script>
<script>
@arbo77
arbo77 / dhcpclient.py
Created August 10, 2012 23:32
Android SL4A DHCP Client List for LG P350
import android
droid = android.Android()
title = 'DHCP Client List'
droid.dialogCreateAlert(title)
clients = []
fp = open("/data/misc/dhcp/dnsmasq.leases","r")
@arbo77
arbo77 / MyFrame.java
Created August 10, 2012 23:38
Simple Java GUI example
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class MyFrame extends JFrame {
private JButton btnTutup = new JButton("Tutup");
private JButton btnTambah = new JButton("Tambah");
private JTextField txtA = new JTextField();
@arbo77
arbo77 / step1.java
Created August 10, 2012 23:44
Step by step simple Java GUI example
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
@arbo77
arbo77 / Combo.java
Created August 10, 2012 23:50
Simple Java GUI example (ComboBox & ListBox)
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
class Combo extends JFrame{
private JLabel lbl1 = new JLabel("Bilangan : ");
private JTextField tBil = new JTextField();
private JButton btnTambah = new JButton("Tambah");
private DefaultComboBoxModel ganjil = new DefaultComboBoxModel();
@arbo77
arbo77 / step1.java
Created August 10, 2012 23:52
Step by step simple Java GUI example (ComboBox & ListBox)
....
private DefaultComboBoxModel ganjil = new DefaultComboBoxModel();
private JComboBox cmb = new JComboBox(ganjil);
private DefaultListModel genap = new DefaultListModel();
private JList list = new JList(genap);
....
@arbo77
arbo77 / data.php
Created August 27, 2012 10:33
jQuery SlideBox Plugin
<?php
header("content-type: text/plain");
for($i=0;$i<=5;$i++){
$items[] = array(
"title"=>"Simple Title #$i",
"image"=>"http://www.geetarz.org/reviews/clapton/dance-of-the-bell.jpg",
"description"=>"Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
@arbo77
arbo77 / frmGuiFetch.java
Created September 20, 2012 10:47
Simple Java fetching MySQL records into DefaultTableModel
class frmGuiFetch {
public static void main(String[] args)
{
guiFetch f = new guiFetch();
f.setVisible(true);
}
}
@arbo77
arbo77 / .conkyrc
Created December 18, 2012 10:45
Simple conky configuration
# conky configuration
# http://arbo77.com
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 1
update_interval 1.0