Skip to content

Instantly share code, notes, and snippets.

View goldalworming's full-sized avatar

arief nur andono goldalworming

View GitHub Profile
http://codecanyon.net/item/material-news/10337045?WT.oss_phrase=&WT.oss_rank=13&WT.z_author=dmbTeam&WT.trending=trending&WT.ac=search_list
http://codecanyon.net/item/complete-app-based-cab-booking-business-solution/9817439?WT.oss_phrase=calculator&WT.oss_rank=58&WT.z_author=EPBITSERVICESDELHI&WT.trending=trending&WT.ac=search_list
http://codecanyon.net/item/conference-app/10303355?WT.oss_phrase=&WT.oss_rank=16&WT.z_author=Appliccon&WT.trending=trending&WT.ac=search_list
<?php
$active_group = 'default';
$active_record = FALSE;
$db['default']['hostname'] = 'Driver={SQL Server};Server=127.0.0.1;Database=databasenya; Uid=sa;Pwd=sa;';
$db['default']['username'] = 'sa';
$db['default']['password'] = 'sa';
$db['default']['database'] = 'databasenya';
$db['default']['dbdriver'] = 'odbc';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = FALSE;
@goldalworming
goldalworming / odbc-setting-url
Created February 25, 2015 12:10
odbc setting url
http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/installing_configuring_odbc.html
@goldalworming
goldalworming / openclosenewwindow.js
Created March 1, 2015 07:09
open new window then close
function closeOnLoad(myLink)
{
var newWindow = window.open(myLink);
setTimeout(
function()
{
newWindow.close();
},
5000
);
@goldalworming
goldalworming / destroy-scope.js
Created March 1, 2015 23:29
destroy scope example
var newScope = scope.$new(); // create a new scope from the current scope
var content = $compile(template)(newScope); // compile and link to the new scope
element.append(content); // add to the DOM
// .. then later, we want to update the content of the element ...
newScope.$destroy(); // destroy the scope and all child scopes
var newScope2 = scope.$new(); // create a new scope
var content2 = $compile(template2)(newScope2); // compile and link
content.replaceWith(content2); // replace the html content with the new content
@goldalworming
goldalworming / rerendertpl
Last active August 29, 2015 14:16
re render angular
http://jsfiddle.net/3J25M/2/
ostrali http://www.seek.com.au/job
html {
background: url(src/images/bg5.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
@goldalworming
goldalworming / urlpdo
Created March 18, 2015 09:48
url pdo
http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers
sudo apt-get update
sudo apt-get install git-core gcc autoconf make
sudo apt-get install php5-dev php5-mysql
#http://stackoverflow.com/questions/22555561/error-building-fatal-error-pcre-h-no-such-file-or-directory
sudo apt-get install libpcre3-dev
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install