Senin, 13 Desember 2010
Print PHP file to Printer
http://www.tek-tips.com/viewthread.cfm?qid=1376830&page=1
I was able to run the php code and save the output as a plain html file. I then sent the html file to the printer. However, all my testing was done on screen to save paper. As mentioned above, it just sent the raw unrendered html source code to the printer.
I have spent way too much time on this... so for now the report is just going to have to be run manually. Thanks to all for your comments and input.
jet042 (MIS)
15 Jun 07 17:02
Well, I was finally able to get this to work. I don't know if it will do what you want, but here is the code that I used in my tests.
CODE --> print_test.php
$fhandle = fopen("test.php","rb");
$contents = fread($fhandle, filesize("test.php"));
$output = eval($contents);
$handle = printer_open("Dell Laser Printer M5200");
printer_set_option($handle,PRINTER_MODE,"raw");
printer_write($handle,$output);
printer_close($handle);
?>
CODE --> test.php
$now = time();
return $now;
Notice that test.php does not have open or closing tags. It also returns all it's output at once. I did not experiment with formating the output, but you might be able to include some non-printing control characters for your printer to do that. In all, it's probably more work than you want to put in.
DustDevil1980 (Programmer)
15 Jun 07 17:08
That does work for simple text, but this report is sent to our customers, so it needs formating and grpahics included with it.
I will keep this on hand for other reports that do not require formating.
webdev007 (Programmer)
15 Jun 07 18:42
You may use file_get_contents()
for ex:
load a URL (full path) to the test.php anywhere on your server
then point file_get_contents to that URL
and it should properly parse your PHP
DustDevil1980 (Programmer)
15 Jun 07 18:47
That will only parse to the screen and not to the printer.
jpadie (TechnicalUser)
15 Jun 07 18:48
here is the way that I would do it. Using output buffering to store the evaluated code. I have found this technique very useful on a number of occasions
CODE
$filename = "test.php";
///////
ob_start();
include $filename;
$contents = ob_get_contents();
ob_end_clean();
///////
$handle = printer_open("SAVIN4045ePCL6");
printer_set_option($handle, PRINTER_MODE, "raw");
printer_write($handle,$contents);
printer_close($handle);
?>
Rabu, 08 Desember 2010
Fieldset CSS & Google font API
Senin, 29 November 2010
CSS Framework
http://centage.peruste.net/
Semoga bermanfaat.



Design Form CSS Online
Nih linknya, mainkan cuy !!!!
http://www.formstylegenerator.com/
Semoga bermanfaat.
Simple CSS — A Free CSS Authoring Tool
http://www.zurb.com/playground
http://www.zurb.com/playground
Semoga bermanfaat.
CSS Positioning 101
If you’re a front end developer or a designer who likes to code, CSS-based layouts are at the very core of your work. In what might be a refresher for some, or even an “a-ha!” for others, let’s look at the CSS position property to see how we can use it to create standards-compliant, table-free CSS layouts.
Position is everything
CSS positioning is often misunderstood. Sometimes, in a bug-fixing fury, we apply different position values to a given selector until we get one that works. This is a tedious process that can work for a time, but it behooves us to know why specifying something like position: relative can fix your layout bug. My hope is that we can learn the position property’s values and behaviors, and most importantly, how a value can affect your markup. The CSS specification offers us five position properties: static, relative, absolute, fixed, and inherit. Each property serves a specific purpose. Understanding that purpose is the key to mastering CSS-based layouts.
Get with the flow
First, let’s take a step back to recognize the world we’re working in. Much like our real world, in CSS, we work within boundaries. In CSS, this boundary is called the normal flow. According to the CSS 2.1 spec:
Boxes in the normal flow belong to a formatting context, which may be block or inline, but not both simultaneously. Block boxes participate in a block formatting context. Inline boxes participate in an inline formatting context.
Think of a “box,” as described by the spec as a wooden block—not unlike the ones you played with as a young whippersnapper. Now, think of the normal flow as a law similar to the law of gravity. The normal flow of the document is how your elements stack one on top of each other, from the top down, in the order in which they appear in your markup. You may remember stacking alphabet blocks into giant towers: The normal flow is no different than those wooden blocks bound by the law of gravity. As a child, you had one block on top of another; in your markup, you have one element after another. What you couldn’t do as a child, however, was give those blocks properties that could defy the law of gravity. All of the sudden, CSS seems a lot cooler than those alphabet blocks.
Static and relative—nothing new here
The static and relative position properties behave like your childhood blocks—they stack as you would expect. Note that static is the default position value of an element, should you fail to apply any other value. If you have three statically positioned elements in your code, they will stack one on top of the next, as you might expect. Let’s take a look at an example with three elements, all with a position value of static:
#box_1 {
position: static;
width: 200px;
height: 200px;
background: #ee3e64;
}
#box_2 {
position: static;
width: 200px;
height: 200px;
background: #44accf;
}
#box_3 {
position: static;
width: 200px;
height: 200px;
background: #b7d84b;
}
In example A, you can see three elements stacked like a simple tower. Fascinating, isn’t it? This is block building 101. Congratulations!
You can use the static value for simple, single-column layouts where each element must sit on top of the next one. If you want to start shifting those elements around using offset properties such as top, right, bottom, and left, you’re out of luck. These properties are unavailable to a static element. In fact, a static element can’t even create a new coordinate system for child elements. Wait. What? You lost me at coordinate system. Roger that, Roger. Let’s explain using the relative value.
Relatively positioned elements behave just like statically positioned elements; they play well with others, stack nicely, and don’t cause a ruckus. Hard to believe, right? Take a look at our previous example. This time, we’ve applied the relative value:
#box_1 {
position: relative;
width: 200px;
height: 200px;
background: #ee3e64;
}
#box_2 {
position: relative;
width: 200px;
height: 200px;
background: #44accf;
}
#box_3 {
position: relative;
width: 200px;
height: 200px;
background: #b7d84b;
}
Example B proves that relatively positioned elements behave exactly the same way as statically positioned elements. What you may not know is that elements with a relative position value are like Clark Kent—they hide far greater powers than their static siblings.
For starters, we can adjust a relatively positioned element with offset properties: top, right, bottom, and left. Using the markup from our previous example, let’s add an offset position to #box_2:
#box_2 {
position: relative;
left: 200px;
width: 200px;
height: 200px;
background: #44accf;
}
Example C shows this relative positioning in action. Our three blocks are stacked up nicely, but this time the blue block (#box_2) is pushed out 200 pixels from the left. This is where we start to bend the law of gravity to our will. The blue block is still in the flow of the document—elements are stacking one on top of the other—but notice the green block (#box_3) on the bottom. It’s sitting underneath the blue block, even though the blue block isn’t directly above it. When you use the offset property to shift a relatively positioned element, it doesn’t affect the element(s) that follow. The green box is still positioned as if the blue box were in its non-offset position. Try that with your alphabet block tower.
Creating a coordinate system for child elements is another one of the relative positioning property’s super powers. A coordinate system is a reference point for offset properties. Recall in example C, our blue block (#box_2) is not sitting inside of any other elements, so the coordinate system it’s using to offset itself 200 pixels from the left is the document itself. If we place the #box_2 element inside of #box_1, we’ll get a different result, as #box_2 will position itself relative to the coordinate system from #box_1. For the next example, we won’t change any CSS, we’ll adjust our HTML to move #box_2 inside of #box_1:
Example D shows our new markup. Because of the new coordinate system, the blue block measures its offset 200 pixels from the left of the red block (#box_1) instead of the document. This practice is more common with elements set to position: absolute—the way you wish you could have built towers when you were younger.
Absolute—anywhere, anytime
If the relative value acts like Superman, then the absolute value mirrors Inception—a place where you design your own world. Unlike the static and relative values, an absolutely positioned element is removed from the normal flow. This means you can put it anywhere, and it won’t affect or be affected by any other element in the flow. Think of it as an element with a giant strip of velcro on its back. Just tell it where to stick and it sticks. Exactly like the relative value, absolutely positioned elements respond to offset properties for positioning. You can set an element to top: 100px and left: 200px; and that element will sit exactly 100px from the top and 200px from the left of the document. Let’s look at an example using four elements:
#box_1 {
position: absolute;
top: 0;
left: 0;
width: 200px;
height: 200px;
background: #ee3e64;
}
#box_2 {
position: absolute;
top: 0;
right: 0;
width: 200px;
height: 200px;
background: #44accf;
}
#box_3 {
position: absolute;
bottom: 0;
left: 0;
width: 200px;
height: 200px;
background: #b7d84b;
}
#box_4 {
position: absolute;
bottom: 0;
right: 0;
width: 200px;
height: 200px;
background: #ebde52;
}
Example E shows four boxes, each in a corner of the browser window. Since we set each box’s position value to absolute, we’ve essentially velcroed a box to each corner of our browser window. As you resize the browser, those boxes will stay in their respective corners. If you shrink the browser window so that the boxes overlap, you’ll notice that there is no interaction at all—that’s because they’re out of the document’s normal flow.
Just like relative elements, absolute elements create a new coordinate system for child elements. Example F extends Example E, with an orange element set inside each box. Notice the offset coordinates are in respect to each parent element.
Not to be outdone by other position property values, the absolute value offers some really cool functionality using the offset property. Use two or all four offset properties, and you can stretch an element without defining any width or height—it’s bound only by its parent element or the document itself. Let’s see it in action. Consider the following code:
#box_a {
position: absolute;
top: 10px;
right: 10px;
bottom: 10px;
left: 10px;
background: red;
}
#box_b {
position: absolute;
top: 20px;
right: 20px;
bottom: 20px;
left: 20px;
background: white;
}
In example G we’ve created a border offset 10 pixels by the document, and it’s entirely fluid as the document resize—all with absolute positioning and offsets. In another example, we can create a two-column layout that fills the entire height of the document. Here is the CSS:
#box_1 {
position: absolute;
top: 0;
right: 20%;
bottom: 0;
left: 0;
background: #ee3e64;
}
#box_2 {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 80%;
background: #b7d84b;
}
Example H shows a full-screen, two-column layout. While this likely isn’t the best approach to a two-column layout, it still shows the power the absolute value holds. Using some creative thinking you can find several useful applications for position: absolute. Similar tricks use only a single offset value. For example:
#box_1 {
width: 200px;
height: 200px;
background: #ee3e64;
}
#box_2 {
position: absolute;
left: 100px;
width: 200px;
height: 200px;
background: #44accf;
}
In example H2, focus on the blue block (#box_2). Notice how I use only one offset, left: 100px;. This allows the #box_2 element to maintain its top edge and still shift 100 pixels to the left. If we applied a second offset to the top, we would see that our blue block (#box_2) is pulled to the top of the document. See that here, in example H3:
#box_2 {
position: absolute;
top: 0;
left: 100px;
width: 200px;
height: 200px;
background: #44accf;
}
Fixed—always there
An element with position: fixed shares all the rules of an absolutely positioned element, except that the viewport (browser/device window) positions the fixed element, as opposed to any parent element. Additionally, a fixed element does not scroll with the document. It stays, well...fixed. Let’s look at an example:
#box_2 {
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
Example I shows a footer with some copyright text in it as a fixed element. As you scroll, notice that it doesn’t move. Notice that the left and right offset properties are set to zero. Since the fixed value behaves similar to the absolute value, we can stretch the width of the element to fit the viewport while fixing the element to the bottom using bottom: 0;. Use caution with the fixed value: Support in older browsers is spotty at best. For example, older versions of Internet Explorer render fixed elements as static elements. And, you now know that static elements don’t behave like fixed elements, right? If you do plan to use fixed elements in a layout, there are several solutions that can help make your element behave properly in browsers that don’t support the fixed value.
Inherit—Something for nothing
As I mentioned at the beginning of this article, there are five values available to the position property. The fifth value is inherit. It works as the name implies: The element inherits the value of its parent element. Typically, position property elements do not naturally inherit their parent’s values—the static value is assigned if no position value is given. Ultimately, you can type inherit or the parent element’s value and get the same result.
In action
All this talk and no action. Let’s take a look at a real-world example website that uses all the position values. Example J shows a typical website layout with a header, navigation, content, and footer. Let’s walk through each element, discuss its position property, and why we chose that property.
Let’s start with our #container element. This is simply the containing element that I’m using to center our content within the viewport. The #nav element is the first element within our #container element. No position property is assigned to the #nav element, so by default, it’s set to static. This is fine: We don’t need to do anything to offset this element, or create any new coordinate systems with it. We will need to do that with #content on our next element, so for that element, we’ve applied a position property of relative.
Since we’re not using any offsets here, the position value has no real influence on the #content element, but we placed it there to create a new coordinate system for the #callout element. Our #callout element is set to position: absolute, and since its parent element, #content is set to relative, the offset properties we’re using on #callout are based off the coordinates created by #content. The #callout element uses a negative 80px pixel offset on the right to pull the element outside of its containing parent element. Additionally, I’ve used one of the cooler features of the absolute value on our #callout element: by setting the top and bottom offsets to 100px, I’ve stretched the #callout element to the full height of the document minus the 100px offset on top and bottom.
Since the #callout element has an absolute value, it does not affect other elements. Therefore, we need to add some padding to the #content element to keep our paragraphs from disappearing beneath it. Setting the padding on the right of #content to 250px keeps our content in full view for our users. To bring up the rear, we’ve added a footer with a fixed position to keep it fixed to the bottom of the page. As we scroll, our footer stays in place. Just as we added padding to the #content to keep our paragraphs from disappearing under it, we need to do the same for the #footer element as it is a sibling of the absolute value. Adding 60px to the #content element’s bottom padding ensures that we can scroll the entire document and not miss any text that would normally be hidden under the #footer element.
Now we have a nice, simple layout with navigation, some content, a callout area, and a footer using static, relative, absolute, and fixed elements. Since we’re using the fixed value in this layout, we should apply some techniques to make sure that older browsers still respect our design.
Conclusion
With the position property’s power, you can accomplish many a layout with confidence and success. Thankfully, 80% of the position property values have excellent support in both modern and older browsers. The fixed value is the one that you should watch out for. Understanding the core of these property values gives you a solid CSS-based layout foundation, limited only by your imagination. Hopefully, your days of guessing position values in a last-minute bug fix frenzy are now over. 
Pure CSS GUI icons (experimental)
An experiment that uses pseudo-elements to create 84 simple GUI icons using CSS and semantic HTML. Shared as an exercise in creative problem solving and working within constraints. This is not a “production ready” CSS icon set.
Demo: Pure CSS GUI icons
Known support: Firefox 3.5+, Safari 5+, Chrome 5+, Opera 10.6+.
An exercise in constraint
Several months ago I was experimenting with the creation of common GUI icons with CSS. The HTML is very simple and it relies on CSS pseudo-elements rather than extraneous HTML elements. The technical aspects of this exercise might be of interest to others, so I’ve decided to share it.
Pseudo-elements provide many possibilities to developers interested in writing semantic HTML. If you’re looking for practical uses of pseudo-elements, this experiment gave me the idea for the technique used to create Multiple Backgrounds and Borders with CSS 2.1. But these GUI icons were a technical exercise.
Example code
The technique behind this experiment is an expansion of the basic shape-creation that was used to make Pure CSS speech bubbles. Some of these GUI icons can only be created in browsers that support CSS3 transforms.
The HTML is a basic unordered list of links.
Each icon uses its own set of styles. For example, the key parts of the CSS responsible for the “expand” icon are as follows:
.expand a:before {
content:"";
position:absolute;
top:50%;
left:1px;
width:5px;
height:0;
border-width:7px 7px 0;
border-style:solid;
border-color:transparent #c55500;
margin-top:-4px;
/* css3 */
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}
.expand a:after {
content:"";
position:absolute;
top:50%;
left:5px;
width:8px;
height:8px;
border-width:3px 0 0 3px;
border-style:solid;
border-color:#c55500;
margin-top:-6px;
}
.expand a:hover:before,
.expand a:focus:before,
.expand a:active:before {
border-color:transparent #730800;
}
.expand a:hover:after,
.expand a:focus:after,
.expand a:active:after {
border-color:#730800;
} The demo page contains a full set of user interaction and media player control icons, as well as other common icons. For now, several icons actually require more than one element as CSS 2.1 only specifies 2 pseudo-elements per element that can contain generated content. The CSS3 Generated and Replaced Content Module allows for an unlimited number of pseudo-elements but has yet to be fully implemented in any modern browser.
Mozilla Confirms an App Store Is on the Way
Firefox for Android is one part of those future plans, of course, and will be released "in a few months," according to the report.
Even more intriguing, though, is the company's confirmation that it's planning what it calls an "Open Web App ecosystem"--also known, in other words, as a platform-independent app store.
Device-Independent
"The current app model has traits that threaten some of the characteristics that have made the Web so vibrant a platform, particularly in the mobile space," Mozilla explained in its report.
Specifically, "apps are often device specific and platform specific," it said. "Information we create in an application is stuck in that application and / or that platform. One doesn't join a unified whole as one can with the Web. App-related information isn't generally linkable or findable. In addition, developers often need to get permission from one or more gatekeepers to reach people--from a network operator, a device manufacturer, a ‘store' operator. Similarly, consumers must go through these filters to access new functionality."
As a way to remedy such problems, Mozilla has designed a prototype of an Open Web App ecosystem, it says, noting that "this includes a system design, technical documentation and examples of what such a system would look like and work like." A video on YouTube offers further explanation.
HTML5, CSS and Javascript
Taking inspiration from the success of Apple's App Store, of course, Google has been working on its own Chrome Web Store as well. Mozilla also mentioned similar plans back in May.
"Supporting the needs of Web developers in their efforts to develop websites and apps that aren't bound to a specific browser and work across the Web is core to Mozilla's public benefit mission," Mozilla wrote back then.
Accordingly, an open Web app store should "exclusively host web applications based upon HTML5, CSS, Javascript and other widely-implemented open standards in modern web browsers - to avoid interoperability, portability and lock-in issues," it explained.
Such a store should also "ensure that discovery, distribution and fulfillment works across all modern browsers, wherever they run (including on mobile devices)" and "set forth editorial, security and quality review guidelines and processes that are transparent and provide for a level playing field."
Finally, an open Web app store should "respect individual privacy by not profiling and tracking individual user behavior beyond what's strictly necessary for distribution and fulfillment" and it should "be open and accessible to all app producers and app consumers," Mozilla wrote in May.
Too Many Apps For That?
App stores are becoming a ubiquitous part of the Internet; in addition to Apple's longstanding offering and the planned entries from Google and Mozilla, there are also app stores from Research In Motion for the Blackberry phone and from Microsoft for Windows Phone 7.
Then, too, there's Apple's Mac App Store for desktops and Google's assortment for Google TV, among others.
Few, however, can boast Mozilla's commitment to openness and open standards like HTML, CSS and JavaScript. Google's Chrome store notwithstanding, it seems to me that amid all these platform-specific offerings, a device-agnostic store is just what we need.
Prototype of an Open Web App Ecosystem
The open Web is a great platform for rich applications. It would be even better if it had additional capabilities to ease discovery, acquisition, installation and use of apps, while also enabling monetization for developers. We designed and built a prototype of a system for open Web apps: Apps built using HTML/CSS/JavaScript that work both on computers and mobile phones, have many of the characteristics that users find compelling about native apps and provide developers with open and flexible distribution options.
Today, we are releasing technical documentation of the proposed system and a developer preview prototype that allows you to install, manage and launch Web apps in any modern desktop or mobile browser (Firefox 3.6 and later, Firefox for mobile, Internet Explorer 8, Chrome 6, Safari 5, Opera 10 and WebKit mobile). This prototype provides a simple mechanism to support paid apps and authentication features to allow apps to log users in upon launch.
The design proposed here provides the following capabilities and enables a new category of what we call “Open Web Apps” — apps that are truly of the Web.
Open Web Apps:
- Are built using HTML, CSS and JavaScript.
- Can be “installed” to a dashboard within your mobile or desktop Web browser, or to your native OS desktop or mobile home screen.
- Work in all modern Web browsers, while enabling each browser to compete on app presentation, organization and management user interfaces.
- Support paid apps by means of an authorization model that uses existing identity systems like OpenID.
- Support portable purchases: An app purchased for one browser works in other browsers, and across multiple desktop and mobile platforms without repurchase.
- Can request access to one or more advanced and/or privacy-sensitive capabilities that they would like access to (like geolocation) which the system will mediate, giving the user the ability to opt-in to them if desired.
- Can be distributed by developers directly to users without any gatekeeper, and distributed through multiple stores, allowing stores to compete on customer service, price, policies, app discoverability, ratings, reviews and other attributes.
- Can receive notifications from the cloud.
- Support deep search across apps: Apps can implement an interface that enables the app container (generally the Web browser) to provide the user with a cross-app search experience that links deeply into any app that can satisfy the search.
Check out this demo to see more about our Open Web App prototype:
type="video/mp4" />
type="video/webm" />
type="video/ogg" />
data="http://www.youtube.com/v/iBFVrmyald4">
value="http://www.youtube.com/v/iBFVrmyald4" />
Please join us in exploring this Open Web App concept. Head over to the Mozilla Labs forum, leave a comment here and follow the Mozilla Labs blog for updates. As with everything Mozilla does, we’re developing this prototype and design for the public benefit in the open and we look forward to making this concept a reality.
Phone Makers, Software Vendors Push Web-based Apps
Companies including Mozilla, Opera Software, Palm and Sony Ericsson are trying to accelerate the use of Web standards when developing applications for smartphones.
Using HTML, CSS (Cascading Style Sheets) and JavaScript to develop applications that run in the browser holds the promise of applications that work on different platforms, making life easier for both developers and users. Developers can write an application once and users can switch to a new phone based on a different OS and still keep all of their applications, according to Norwegian browser company Opera.
For this vision to become a reality, developers need easy-to-use tools, and in that space a lot of things are happening.
Sony Ericsson has made a tool called WebSDK Packager open source, it said in a blog post Tuesday. The WebSDK Packager is a good fit for developers with expertise in HTML, CSS and JavaScript who are adept at creating Web applications but are not familiar with the complexities of the mobile environment, according to Sony Ericsson.
On Saturday, Hewlett-Packard demonstrated Enyo, an upcoming framework for webOS, which is used on Palm smartphones, at its webOS Developer Day in New York. Enyo is designed to make it easier to develop applications for smartphones and tablets at the same time, according to HP.
Today, good development tools are only the first step. The ability for developers to make money off their applications is also a very important driver. Recently, Mozilla announced a prototype of what it calls "an Open Web App ecosystem", a system that aims to ease discovery, installation and use of applications based on HTML, CSS and JavaScript, while also enabling developers to make money via multiple applications stores. There is no official launch date yet, but "we look forward to making this concept a reality," Mozilla said.
It isn't just established companies that are making the Web vision a reality on smartphones. Sony Ericsson's WebSDK Packager tool is based on the PhoneGap open source framework, which was created by Nitobi.
Earlier this month, Nitobi announced the beta of PhoneGap Build, a cloud-based tool that allows developers to write applications using HTML, CSS and JavaScript, upload their apps to PhoneGap Build, and get back applications that work natively on smartphones based on Android, webOS, Symbian and the BlackBerry OS, and soon on iOS, Windows Mobile, MeeGo and Bada.
The tool will be free for open source projects; pricing details for commercial applications will be announced as the public launch nears.
However, Nitobi's hope is that what the company is doing today on PhoneGap will eventually be folded into the browser, according to Brian LeRoux, chief software architect at Nitobi, who took part in a panel discussion on cross-platform development at HP's developer day.
For the browser to take over, applications need to offer the same experience as native applications and browsers will have to be compatible with each other.
The point when that becomes a reality is close, according to Charles Jolley, creator of the SproutCore open source framework, who also took part in the panel discussion.
Ex-Apple employee Jolley has also founded Strobe, whose goal is to make SproutCore easier for developers to use.
Compatibility between different browsers is not the issue, thanks to the fact that they are all based on Webkit, and the differences that do exist are going away, according to Jolley. However, smartphones are still very memory and resource constrained and, historically, browsers have not been geared to working in that type of environment. But that is also changing, he said.
CSS in the cloud
Sabtu, 27 November 2010
Koleksi CSS Cheat
Rabu, 24 November 2010
Masukkan gambar ke web

Gitu deh coba memasukkan gambar ke web.
asd;fk a
sdf
asdf
a
sdf
as
df
as
df
as
d asldjf asldfj laskdf as
df asdflk asdf
asdf asdf aasdf asdf asdf
asdf asdf asdf asdf asdf asdfasdf
asd
fa
sd
f
as
df
as
df
as
df
as
df
asd
f
asd
f
as
d
f
asd
f
asd
f
as
df
a
sd
f
a
s
df
as
d
f
a
sdf
asdf asdf
Jumat, 12 November 2010
free template website & css
http://www.freelayoutsworld.com/free-layouts/
http://www.freecsstemplates.org/css-templates/
Menu Website
http://apycom.com/menus/7-lime.html
http://www.brothercake.com/scripts/listmenu/
Kamis, 11 November 2010
ajax dialog box
Info Website Tool
Senin, 01 November 2010
Learning Cron by Example
Now obvisouly cron is very dependent and sensitive to the time. If you want accurate results from cron you are going to want to setup your computer to sync its clock via NTP. For now if you don’t have that configured you can use this command to get up to date temporarily:
As root:
ntpdate pool.ntp.org
Editing Cron
There are more than one way to edit the cron config files; however many of them require you to restart the service. We don’t want to do that so here is a method to add a task to cron without having to restart the deamon. You will need to login to the user you wish to execute the command and type:
crontab -e
Here is the basic structure for cron.
m h dom mon dow command
m – Minutes
h – Hours (24 time)
dom – Day of the Month
mon – Month
dow – Day of the week
command – The command you want to run. This can contain spaces or point to a bash script.
Examples
Since many of you like to learn by example, I am going to give you pretty much every example I can think of. This should help you get going with cron.
*’s represent wildcards or any.
Under dow 0 and 7 are both Sunday.
10 * * * * echo “This command is run at 10 min past every hour”
22 7 * * * echo “This command is run daily at 7:22 am”
22 20 * * * echo “This command is run daily at 8:22 pm”
00 4 * * 0 echo “This command is run at 4 am every Sunday”
* 4 * * Sun echo “This is the same as the command above”
42 4 1 * * echo “This command is run 4:42 am every 1st of the month”
01 * 19 07 * echo “This command is run hourly on the 19th of July”
Using the ‘-’ allows us to specify ranges of days. I actually used the following entry recently to run a script at the end of the working day.
Execute at 5pm only on weekdays:
* 17 * * 1-5 /path/to/your/code
Using the ‘,’ allows us to specify intervals wihout having to have multiple entries in cron.
This would execute the ask on the 1st, the 10th, the 20th and on the 30th of each month, at 17:59PM.
59 17 1,10,20,30 * * /home/username/backupsite
Using the ‘/’ allows us to divide the day into chunks.
Here, the tasks is executed every 4 hours (24/6 =4).
59 */6 * * * /home/username/backupsite
Here is another example of using chunks of time and a range.
Every 20 mins between the hours or 9am and 5pm
*/20 9-17 * * * /path/to/your/code
Dealing with the Output
Sometimes when we execute a command with cron we want to see the results of our command. Other times we could care less. By default the output from cron gets mailed to the owner of the process, or the person specified in the MAILTO variable. Here are some ways we can change the handling of it.
Structure:
cmd | argument
Example of an email output. This will email the results of my command every 4 hours to user, ‘mark’.
59 */6 * * * /home/username/backupsite | mail -s "Subject of Mail" mark
If we don’t care about the output we can send it to nowhere (literally). For example purposes I will just display the cmd and not the entire cron entry.
cmd | /dev/null
Output to a text file and append it if it exists already.
cmd >> log.file
More information can be found in the man page of cron. For more information just type:
man cron
Rabu, 22 September 2010
antivirus shortcut dan Driver ACER
Akhirnya, pilihan terakhir install ulang.
Sebelum install ulang, data sempat diselamatkan ke drive lain.
But... tetap aja virus nya nyebar lagi.
Solusi menangani virus shortcut / wscript :
setelah install baru ataupun belum install,
1. gunakan AVI antivirus untuk menghapus virus ini,
2. lalu matikan fungsi autorun dengan cara ketik gpedit.msc pada run pilih user configuration, administrative template, system, pada turn off autoplay, pilih enabled.
3. jangan gunakan double click untuk buka drive C atau lainnya, tapi click kanan pada drive tersebut lalu pilih explore.
4. cari tool UTool untuk hapus semua file autorun.inf, *.lnk, dan Thumbs.db
5. Sippirilly... selesai..
next problemnya karena gw install ulang, maka semua driver perlu diinstall juga.
Mau driver acer ?
nih to the point aja linknya : http://www.acer.co.id/acer/service.do?LanguageISOCtxParam=en&miu10einu24.current.attN2B2F2EEF=3247&sp=page15e&ctx2.c2att1=159&miu10ekcond13.attN2B2F2EEF=3247&CountryISOCtxParam=ID&ctx1g.c2att92=857&ctx1.att21k=1&CRC=1730071917 selamat mendonlot.. ;)
Kamis, 02 September 2010
Windows 2003 R2 Sharing, read only from network
Arrghh shitt ! that stupid solution makes me feel happy now. I can do that fucking migration data to the new OS and configure the sharing properly. Damn !
For you people, who has a same problem with me, if you can't save your data at your excel, or word or whatever file you have. If the status still read only, you can use this stupid idea to solve your problem. don't follow microsoft support solution, install patch, etc etc. This is the correct answer I got. :D hhaha.. finally can laugh.. :D. Oh ya, I hope you can find this link at the very top of your search engine result, because that is what the key search I put at every search engine. ;)
Senin, 30 Agustus 2010
Remote Computer
Senin, 19 Juli 2010
application solution
google apps
Minggu, 18 Juli 2010
bisnis marketing
kemaren ikut acara mizan talkshow, dari buku ke film
mereka menggunakan teknik sms blasting untuk mempromosikan film yang dibuat.
mereka bekerja sama ke telkomsel
wah,, gmn itungannya tu ya, ada yang tau ga ?
bisa pilih ga mau di blast kmn aja ?
mantap.
Web site toolbar
main2 ke http://www.wibiya.com/
Rabu, 14 Juli 2010
IP Forwarding - How to make Windows XP as a Router
Jumat, 09 Juli 2010
Anti Virus 2010
http://www.av-comparatives.org/images/stories/test/ondret/avc_report26.pdf
langsung cek di pdfnya aja brot & sis ..
Mauliate.
Kamis, 08 Juli 2010
Semangat kerja
Berikut ini alasan dari saya :
1. Karena orang tersebut pertamanya sangat membutuhkan pekerjaan, biasanya dia bertekad untuk bekerja seserius dan sesemangat mungkin jika dia bekerja di perusahaan yang mau menerimanya.
2. Karena orang tersebut memiliki banyak visi dan misi yang ingin dicapainya.
3. Karena orang tersebut dikekang oleh perusahaan yang menerimanya untuk berkembang atau mengembangkan dirinya.
Memang setiap perusahaan memiliki kebijakan masing-masing dalam menjalankan perusahaannya, tetapi jika perusahaan mampu melihat potense karyawannya dan mampu mengembangkannya, maka pucuk di cinta ulam pun tiba. Perusahaan bisa mendapatkan loyalitas dan pemberian lebih dari karyawan tersebut. Disini tidak akan ada yang dirugikan, bahkan yang ada adalah saling menguntungkan antara karyawan dan perusahaan.
Melihat dari kondisi ini, kami dari jasa konsultan manajemen SDM blablablabliblibli.. ingin menawarkan kepada perusahaan dan karyawan mengenai tips dan trik bagaimana agar manajemen dan karyawan dapat saling bekerjasama dengan baik dengan saling menguntungkan antara kedua sisi. Lho, kok malah jualan ? hhahhahaa..
Buat Barcode ?
Tidak perlu beli programnya, cukup install fontnya aja.
Berikut adalah link download untuk install font-nya :
http://www.barcodesinc.com/free-barcode-font/
Silahkan di coba ..
Rabu, 02 Juni 2010
Ternyata ... First Media bisa di share
First Media bisa di share.
Kalau anda pelanggan First Media, dan coba bertanya ke First Media tentang layanan mereka, pasti mereka tidak akan memberitahu tentang bagaimana caranya menshare/membagi internet mereka. Tapi saya yakin orang Indonesia sudah pada pintar2 walaupun ada sedikit teknik hacking di artikel ini, anda pasti bisa melakukan sharing internet first media, karena ini ga sulit. Thanks om google and penulis tips ini. (gw ga tau namanya, yang pasti gw buat reference linknya).
Dikutip dari : http://cakwid.net/internet/koneksi-internet-cable-fastnet-firstmedia-dan-cara-share-internet-ke-komputer-lain.htm
FirstMedia mengeluarkan produk TV cable dan Internet cable dengan tarif relatif murah banget jika dibandingkan dengan layanan ISP lainnya di Indonesia
Saat ini untuk TV cable tersedia paket seharga Rp.99.000,- dan Rp.145.00,- perbulan (belum termasuk ppn) , sedangkan untuk koneksi internet cable unlimited tersedia paket Fastnet 384kbps Rp.99.000,- perbulan, Fastnet 512kbps Rp.195.000,- perbulan, Fastnet 768kbps Rp.295.000,- perbulan, Fastnet 1500kbps Rp.595.000,- perbulan, dan Fastnet 3000kbps Rp.1.195.000,- perbulan (semua harga tersebut belum termasuk ppn)
Coverage area saat ini baru ada di daerah daerah tertentu di Jabotabek dan Surabaya, bisa dicek di websitenya http://www.firstmedia.com
Minggu ini jaringan Firstmedia sudah mencapai di area perumahan saya di Tangerang. 2 hari yang lalu saya langsung mendaftar internet cable melalui sales yang nongkrong promosi di sekitar perumahan saya, pelayanannya cukup memuaskan, siang daftar sore langsung dipasang, langsung online, tanpa syarat macam-macam hanya dicatat identitas dan gratis tanpa biaya pendaftaran.
Saya memilih paket internet Fastnet 768kbps seharga Rp.295.000,- setelah dikenai ppn menjadi Rp.324.500,- perbulan. Untuk paket Fastnet 768kbps ke atas modem intenet kabel dipinjamkan gratis, kita cukup hanya modal komputer atau laptop saja, dan tidak diharuskan untuk berlangganan tv cable.
Sedangkan untuk paket internet Fastnet 384kbps dan Fastnet 512kbps pelanggan diharuskan membeli modem seharga Rp.500.000,-, untuk paket internet Fastnet 384 kbps pelanggan diwajibkan berlangganan TV cable seharga Rp.99.000,-
Untuk kecepatan koneksi saat saya tulis artikel ini mencapai 788 kbps download dan 123 kbps upload
Saat ini kecepatan memuaskan karena bisa lebih tinggi dari kecepatan yang dijanjikan 768 kbps
Setelah berhasil mengakses internet menggunakan laptop saya, saya mencoba untuk sharing koneksi internet ke komputer teman-teman saya satu rumah kontrakan. Saya coba gunakan switch D-Link DES-1008D ternyata gagal untuk sharing internet, kemudian saya coba gunakan Router D-Link DL -524 juga gagal. Switch dan router yang saya sebutkan tersebut selama ini sudah saya gunakan untuk sharing internet menggunakan akses internet Speedy dengan lancar tanpa setting macam-macam.
Kemudian saya coba lakukan setting ulang sharing internet menggunakan Router D-Link DL -524 dan ternyata sharing internet kabel dari fastnet bisa dilakukan, baik menggunakan jaringan kabel lan RJ-45 maupun jaringan wirelles dari router tersebut.
Account internet tv kabel Fastnet sebenarnya hanya diperuntukkan untuk personal, hanya bisa digunakan di satu komputer saat pemasangan pertama. Proteksi dilakukan berdasar MAC address. MAC (Media Access Control) adalah alamat unik di dalam ethernet card. MAC bisa dilihat menggunakan perintah ipconfig/all pada command prompt dan terlihat pada tulisan Physical Address : (misalnya: 00-16-52-EF-1A)
Dengan menggunakan Router kita bisa melewati proteksi MAC address tersebut, yaitu dengan melakukan Clone MAC Address saat menyetting router. Untuk Router D-Link DL -524 langkah setting adalah dengan membuka control panelnya melalui browser dengan alamat http://192.168.0.1/ default username:admin, password:dikosongkan saja, kemudian klik Run Wizard, dan tinggal ikuti saja langkah-langkah yang ada disitu
1. Set Your New Password
2. Choose your timezone
3. Set Intenet Connection (di langkah ini klik clone MAC Address)
4. Set Wirelles Conection
5. Restart
Setelah langkah di atas dilakukan, sharing internet kabel sudah dapat dilakukan menggunakan 4 port kabel RJ-45 dan koneksi wireless yang terdapat pada Router D-Link DL -524 tersebut.
Gambar di bawah ini adalah skema share Internet Cable Menggunakan Modem Cable Motorolla SB5101 dan Router DL-524
share_internet_cable.jpg
Untuk penggunaan switch atau hub (bukan router) misalnya switch D-Link DES-1008D , sepertinya tidak bisa dilakukan, karena tidak bisa digunakan untuk clone MAC address. Namun saya mendapat ide dari buku Seni Teknik Hacking I karangan S’to ,yang belum saya coba yaitu penggunaan software K-MAC untuk merubah MAC address masing-masing komputer, disamakan dengan MAC address komputer/laptop pertama yang dipakai saat pemasangan internet kabel. Software K-MAC bisa didapatkan di website http://www.neset.com
Sekian dulu artikel saya tentang koneksi Internet kabel Fastnet, tolong dikoreksi jika ada yang salah, karena saya bukan ahli jaringan komputer.
Cloud Computing
Tulisan ini dikutip dari http://teknoinfo.web.id/teknologi-cloud-computing/
Intinya begini : (Pake bahasa saya sendiri).
Cloud Computing itu adalah Infrastruktur di Internet. Kita bisa menggunakan infrastruktur itu sebagai dasar dari system yang akan kita kembangkan atau system yang sudah ada(dari penyedia jasa system, ex : Google Docs, Dll).
Bicara tentang infrastruktur kita butuh yang namanya resource seperti
1. hardisk untuk penyimpanan data/dokumen/file,
2. cpu untuk memproses system/data/dll
bicara cpu dicloud computing berarti ada banyak server yang disediakan technology cloud computing yang saling terhubung yang akan kita gunakan untuk system kita. banyaknya server tersebut disediakan untuk mengolah system kita, bisa jadi satu system di taruh di banyak server yang menanganinya sehingga proses di system tersebut bisa cepat.
3. network untuk menghubungkan antar server juga disediakan oleh cloud computing.
Infrastruktur itulah kata tepat yang disediakan oleh cloud computing.
Nah, kalau begitu, apa yang kita sediakan ? Good question.
Yang kita sediakan cukup system kita dan koneksi internet yang cepat.
Itu aja ? ga, kita juga perlu menyediakan duit untuk bayar jasa cloud computing.
Tentu saja harga cloud computing ini bisa dibilang murah.
Segitu aja dulu ya kesimpulannya, untuk detail silahkan baca contekan dibawah :
Cloud computing tidak lama lagi akan menjadi realita, dan ini akan memaksa para IT professional untuk cepat mengadaptasi yang dimaksud dengan teknologi ini. Akibat dari keadaan sosial ekonomi yang terus mengalami revolusi yang sangat cepat sehingga melahirkan cloud computing, dimana teknologi ini dibutuhkan untuk kecepatan dan realibilitas yang lebih dari teknology yang sebelumnya sehingga teknologi ini nantinya akan mencapai pada tingkat investasi dalam term cloud service yang cepat dan mudah.
Cloud sudah hadir di depan kita saat ini, namun apa itu cloud ? kemana tujuanya ? dan apa resikonya? dan bagaimana organisasi IT mempersiapkan ini ? itulah pertanyaan yang setidaknya akan hadir oleh beberapa praktisi ataupun peminat IT, Cloud computing pada dasaranya adalah menggunakan Internet-based service untuk meng support business process. Cloud service biasanya memiliki beberapa karakteristik, diantaranya adalah:
Sangat cepat di deploy, sehingga cepat berarti instant untuk implementasi.
* Nantinya biaya start-up teknologi ini mungkin akan sangat murah atau tidak ada dan juga tidak ada investasi kapital.
* Biaya dari service dan pemakaian akan berdasarkan komitmen yang tidak fix.
* Service ini dapat dengan mudah di upgrade atau downgrade dengan cepat tampa adanya Penalty.
* Service ini akan menggunakan metode multi-tenant (Banyak customer dalam 1 platform).
* Kemampuan untuk meng customize service akan menjadi terbatas.
Teknologi cloud akan memberikan kontrak kepada user untuk service pada 3 tingkatan:
* Infrastructure as Service, hal ini meliputi Grid untuk virtualized server, storage & network. Contohnya seperti Amazon Elastic Compute Cloud dan Simple Storage Service.
* Platform-as-a-service: hal ini memfokuskan pada aplikasi dimana dalam hal ini memungkinkan developer untuk tidak memikirkan hardware dan tetap fokus pada application development nya tampa harus mengkhawatirkan operating system, infrastructure scaling, load balancing dan lainya. Contoh nya yang telah mengimplementasikan ini adalah Force.com dan Microsoft Azure investment.
* Software-as-a-service: Hal ini memfokuskan pada aplikasi denga Web-based interface yang diakses melalui Web Service dan Web 2.0. contohnya adalah Google Apps, SalesForce.com dan social network application seperti FaceBook.
Beberapa investor saat ini masih mencoba untuk mengekplorasi adopsi teknologi cloud ini untuk dijadikan bisnis sebagaimana Amazon dan Google telah memiliki penawaran khusus pada untuk teknologi cloud, Microsoft dan IBM juga telah melakukan investasi jutaan dollar untuk ini.
Melihat dari tren ini kita dapat memprediksi masa depan, standard teknologi akan menjadi lebih sederhana karena ketersediaan dari banyak cloud service.
Lalu apa resikonya ?
Sebagaimana yang dikatakan sebagai bisnis service, dengan teknologi cloud anda sebaiknya mengetahui dan memastikan apa yang anda bayar dan apa yang anda investasikan sepenuhnya memang untuk kebutuhan anda menggunakan service ini. Anda harus memperhatikan pada beberapa bagian yaitu:
* Service level - Cloud provider mungkin tidak akan konsisten dengan performance dari application atau transaksi. Hal ini mengharuskan anda untuk memahami service level yang anda dapatkan mengenai transaction response time, data protection dan kecepatan data recovery.
* Privacy - Karena orang lain / perusahaan lain juga melakukan hosting kemungkinan data anda akan keluar atau di baca oleh pemerintah U.S. dapat terjadi tampa sepengetahuan anda atau approve dari anda.
* Compliance - Anda juga harus memperhatikan regulasi dari bisnis yang anda miliki, dalam hal ini secara teoritis cloud service provider diharapkan dapat menyamakan level compliance untuk penyimpanan data didalam cloud, namun karena service ini masih sangat muda anda diharapkan untuk berhati hati dalam hal penyimpanan data.
* Data ownership - Apakah data anda masih menjadi milik anda begitu data tersebut tersimpan didalam cloud? mungkin pertanyaan ini sedikit aneh, namun anda perlu mengetahui seperti hal nya yang terjadi pada Facebook yang mencoba untuk merubah terms of use aggrement nya yang mempertanyakan hal ini.
* Data Mobility - Apakah anda dapat melakukan share data diantara cloud service? dan jika anda terminate cloud relationship bagaimana anda mendapatkan data anda kembali? Format apa yang akan digunakan ? atau dapatkah anda memastikan kopi dari data nya telah terhapus ?
Untuk sebuah service yang masih tergolong kritis untuk perusahaan anda, saran terbaik adalah menanyakan hal ini se detail detailnya dan mendapatkan semua komitmen dalam keadaan tertulis.
Apa yang dilakukan Smart Company saat ini ?
Ada banyak kesempatan pada organisasi IT khususnya untuk mensosialisasikan cloud service. Banyak organisasi yang mencoba untuk menambahkan firut ini kepada infrastruktur yang mereka miliki sebelumnya untuk mengambil keuntungan dari “cloud bursting“; khususnya jika anda membutuhkan kapasitas ekstra atau ekstra aktifitas, anda dapat memanfaatkan cloud ketimbang melakukan investasi resource secara in-house.
Development/test dan beberapa aktifitas yang mirip juga menjadi tempat yang bagus untuk cloud, memungkinkan anda untuk mengurangi pengeleluaran perkapita dan biaya data center yang terus meingkat dari sisi kecepatan dan uptime.
Sedangkan perusahaan yang tidak segan segan untuk mengimplementasi teknologi cloud untuk data mereka dan menyimpan nya sebagai fasilitas mereka sendiri untuk memastikan kebijakan perusahaan tersimpan dengan baik tentunya akan lebih baik, sehingga memastikan proses komputerasisasi pada cloud sebagai sistem proses yang dibutuhkan akan lebih independen.
Apakah anda siap ?
Jika organisasi anda baru saja mengeksplorasi teknologi cloud ada beberapa cloud service yang sudah cukup mapan dan dapat di pertimbangkan misalnya sebagai e-mail service. Namun untuk masalah sekuriti, dengan mengembangkan internal infrastruktur anda menjadi model cloud akan lebih baik.
Dengan begini role IT kini ikut berperan dalam hal business model yang dibutuhkan untuk perekonomian saat ini. Bagaimana anda meningkatkan kecepatan dan uptime ? dan bagaimana anda dapat men support business operation dengan sedikit dan pengeluaran yang fix?
Langkah awal yang harus anda lakukan adalah mempelajari sistem kontrak dari cloud service. pastikan setiap process menjadi simple, dapat berulang ulang dan menjadi nilai tambah untuk bisnis anda.
Kedua, anda harus mengidentifikasi service apa yang dapat anda manfaatkan di dalam cloud dan mana yang seharusnya bersifat internal. Hal ini sangat penting untuk anda ketahui mengenai system dan service core yang dapat dimanfaatkan oleh bisnis anda. dan sebaiknya anda mengkategorikan beberapa elemen bisnis anda berdasarkan resiko dari penggunaan cloud service.
Langkah terakhir, anda harus melakukan strategi sourcing untuk mendapatkan biaya yang sangat murah, namun memiliki scalability dan flexibility untuk kebutuhan bisnis anda. Hal ini termasuk pertimbangan akan proteksi data ownership dan mobility, compliance dan beberapa element seperti halnya kontrak IT tradisional.
Beberapa penjelasan mengenai Cloud Computing lainya:
* Jawaban dari Tim O’Reilly, Dan Farber, Matt Mullenweg, Jay Cross, Brian Solis, Kevin Marks, Steve Gillmor, Jeremy Tanner, mengenai cloud computing pada the Web 2.0 Expo.
* Persentasi mengenai cloud computing. oleh Christopher Barnatt, pemilik dari ExplainingComputers.com
Disadur dari: David Robbins, Network World
Robbins adalah seorang CTO untuk IT pada perusahaan NetApp. Dia bertanggung jawab untuk mengidentifikasi dan memilih teknologi baru dan mengadopsi teknologi tersebut yang menjadu road map dan timing untuk NetApp IT delivery.
Selasa, 01 Juni 2010
Bagaimana mempercepat browsing network di komputer kita ?
Dikutip dari : http://www.mytechguide.com/70/how-to-speed-up-slow-network-browsing-in-windows/
Ini artikelnya :
There is a bug in MS Windows that can slow up network browsing. It can take up to 30 seconds to browse remote computer. Reason of this delay is that Windows is scanning remote computer for Scheduled tasks.
There is a simple registry tweak to fix this problem.
Speed up network browsing in Windows
1. Start Registry Editor (How to start Registry Editor)
2. Navigate to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Explorer/RemoteComputer/NameSpace/{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
3. Backup {D6277990-4C6A-11CF-8D87-00AA0060F5BF} key (Backing up part of the registry). This way you can easily restore deleted value.
4. Right click on {D6277990-4C6A-11CF-8D87-00AA0060F5BF} key and click delete
ps. Tidak semua OS Windows ada memiliki registry diatas.
Rabu, 19 Mei 2010
Mengapa jaringan LAN lambat ?
Jaringan yang sedang dibicarakan disini adalah jaringan komputer terutama LAN.
Sekarang dikantor gw jaringan suka lama, ga tau dimana salahnya. Ditambah lagi orang pawangnya yang mengurusi jaringan lagi tidak masuk, terasa bangat lambatnya. Tapi apakah pawang ga masuk pengaruh ke jaringan lambat ?
Saya coba cari2 info tentang kenapa jaringan bisa lama dan beberapa solusi.
Berikut adalah penjelasannya :
Penyebab jaringan lambat :
1. Design Infrastruktur yang tidak efficient. Hal ini bisa menyebabkan banjir paket data pada jalur tertentu sehingga terjadilah kemacetan.
2. Penggunaan device yang tidak tepat, untuk hal ini switch LAN lebih baik dari HUB
3. Beban user terhadap jaringan. Contoh : nonton movie lewat jaringan wahh.. perlu di banned tuh usernya.
4. Serangan Virus (fiuhh, capek deh)
5. Email Spam / Kebijakan perusahaan terhadap user
Solusi :
1. Ganti Hub dengan Switch
2. Ubah Infrastruktur menjadi lebih baik
3. Buat kebijakan IT yang strict
4. Implement Anti Virus yang bagus.
Sori buru2 nih, mau pulang.
Bye.
Selasa, 18 Mei 2010
YII Framework
Berikut adalah beberapa info hasil pencarian mengenai Yii Framework :
1. Yii Framework Open Source and Free (Yeee !!!)
2. Yii Framework cocok untuk applikasi besar
3. Yii Framework didukung penuh oleh komunitas
4. Yii Framework berkembang dengan pesat
5. Yii Framework menggunakan teknik OOP
6. Yii Framework menggunakan konsep MVC
7. Yii Framework mudah dipelajari (Yyyeess !!!)
8. Yii Framework punya module authentication, authorization,
9. Yii Framework support RBAC,
10. Yii Framewoek punya fungsi exception throw catch
11. Yii Framework penamaan databasenya bisa flexible,
12. Pokoknya banyak deh kemampuan Yii Framework.
Menurut analisa seorang jimmi, memilih framework pada dasarnya harus melihat akan kebutuhan dari applikasi yang akan dibangun. So, Secanggih apapun frameworknya kalau ga sesuai dengan kebutuhan sama aja mempersulit pekerjaan.
Tapi, disisi lain beberapa framework canggih dibangun untuk bisa membuat applikasi yang bagaimanapun, seperti yang diharapkan oleh kebanyakan programmer.
Mengapa programmer menginginkan seperti itu karena beberapa programmer orangnya pemalas seperti saya :) jadi cukup kuasai satu bahasa / framework, lalu buat applikasi apa aja dengan framework itu.
Memang sih, semua kembali ke programmernya lagi, kalau programmernya malas mana bisa jadi tuh program, tetap aja programmer harus rajin, setidaknya rajin baca manual book atau tutorial atau ngoprek2 framework dengan tujuan agar bisa bermalas-malasan. Pekerjaan cepat selesai, programmer bisa santai :)).
Oh ya, ngomong2 soal framework, ternyata banyak juga perusahaan yang sudah mulai menggunakan framework sebagai tool dalam pengembangan applikasi. Framework sengaja digunakan supaya bentuk pemrograman menjadi terstruktur. Programmer yang ingin mengembangkan aplikasi menggunakan framework diharuskan mengikuti cara yang ditetapkan oleh framework tersebut. Hal yang sangat membantu dan berguna dalam penggunaan framework adalah dengan dipakainya konsep MVC / Model,View, Controller. Konsep ini yang jelas memisahkan antara design dan logic program. Selain itu prosedur / alur pengembangan yang ditetapkan framework juga membuat programmer memiliki standard dalam pengembangan aplikasi.
Ayo belajar mengembangkan aplikasi menggunakan framework, semoga bisa membantu pekerjaan.
Hari ini lagi sok rajin nulis, padahal dah ngantuk n kehabisan kata2 :)
Semoga bermanfaat.
Jumat, 22 Januari 2010
perintah scp
[code]
scp -r /var/www/net/ 192.168.1.111:/root
[/code]
artinya copy folder /var/www/net ke komputer dengan ip 192.168.1.111 di folder root.
Kamis, 21 Januari 2010
test code
aku mau tulis banyak tentang kode di blog ini. *&%^*&^$&^
public function actionList()
{
$userx = $_GET[user];
if($_GET[user]!=""){
$pages=new CPagination(user::model()->cariId($userx)->count());
$pages->pageSize=1;
$pages->applyLimit();
$models=user::model()->findAll();
}
else{
$criteria = new CDbCriteria;
$pages=new CPagination(user::model()->count($criteria));
$pages->pageSize=1;
$pages->applyLimit($criteria);
$models=user::model()->findAll($criteria);
}
$this->render('list',array(
'models'=>$models,
'pages'=>$pages,
));
}
?>
Sabtu, 09 Januari 2010
Pemandangan kerja di hotel
barusan sewaktu antri naik lift, pada saat pintu lift terbuka,
terlihat seorang cewek memasang kancing bajunya ditemani seorang cowok.
Sicewek terlihat buru-buru memasang kancing bajunya, sambil keluar dari lift bersama sicowok.
Entah apa yang mereka lakukan di lift, :)
echo 'udah, ga usah dibayangin tentang tulisan diatas';
echo 'aku hanya mau test buat blockcode di blog ini';
echo 'gunakan
echo 'untuk memasang code di blog';
echo 'hehee...';
?>
btw, kok ga mau ya ? gmn cara pasang blockcode di blog google ?



