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
var oWindow = $(window); | |
var minus = 120; | |
if(oWindow.height() < 720) { | |
if (oWindow.height() > 540) { | |
$('#zahirunitlistmain-panel').height(oWindow.height() - minus); | |
grid.setHeight(oWindow.height() - (minus + 80)); | |
} else { | |
$('#zahirunitlistmain-panel').height(541 - minus); | |
grid.setHeight(541 - (minus + 80)); | |
} |
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
$result = array(); | |
foreach($sql as $key => $value){ | |
$result[$key] = $this->db->query($value); | |
} | |
/** same with */ | |
$result = array(); | |
for ($i = 0; $i < count($sql); $i++) { | |
$key = $i; |
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
SET TERM ^ ; | |
create or alter procedure POSTINGPENJUALAN ( | |
INDEXJURNAL integer, | |
ISFITURSERIAL varchar(1), | |
ISFITURLOT varchar(1), | |
ISUSEBIAYAANTAR varchar(1), | |
ISPINDAHGUDANG varchar(1), | |
INVTRANSFER varchar(1)) | |
returns ( |
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
# /hellorails2/db/migrate/20121103061219_create_users.rb | |
class CreateUsers < ActiveRecord::Migration | |
def up | |
create_table :users do |t| | |
t.string "nama", :limit => 25 | |
end | |
end | |
def down |
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
user = new User #membuat objek baru bernama user dari Model User | |
user.name = "noval ganteng" #set nama objek tersebut | |
user.save #simpan ke database |
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
form { | |
position: fixed !important; | |
bottom: 0px !important; | |
margin: 0px !important; | |
opacity: 0.2 !important; | |
-webkit-transition: opacity 200ms linear; | |
-moz-transition: opacity 200ms linear; | |
-o-transition: opacity 200ms linear; | |
transition: opacity 200ms linear; | |
width: 100% !important; |
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
<div class="fb-like-box" data-href="http://www.facebook.com/pages/Blog-dot-noval-agung-dot-com/502123836484095" data-width="250" data-show-faces="true" data-stream="true" data-header="true"></div> |
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
listeners: { | |
click: function() { | |
if (filterCount != 1) { | |
$('#cbFilterCondition').click(); | |
filterCount = 1; | |
} else { | |
$('#cbFilterCondition').blur(); | |
filterCount = 0; | |
} | |
} |
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
gem 'pg' |
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
http://comluv.com/ | |
http://www.w3blog.dk | |
http://kikolani.com | |
http://blondish.net | |
http://www.bizchickblogs.com | |
http://blog.2createawebsite.com | |
http://savedelete.com | |
http://netchunks.com | |
http://basicblogtips.com | |
http://weblogbetter.com |
OlderNewer