এই মডিউল টি অ্যাপ্লিকেশনের ইউনিট টেস্ট লেখার জন্য ইউজ করা হয়। এটিকে অ্যাকসেস করা হয়:
require('assert')
Buffer:
//রিড ফাইল | |
var fs = require('fs'); // Node module er file system ta k include korese | |
fs.readFile('/Users/Shaad/Desktop/Node/node.rtf', 'utf8', function(err, data){ //fs.readFile diye file read option initate korese, then convert it into utf8 format | |
if (err) { | |
console.log(err); //if kono error thake tahole console a err msg show korbe | |
} | |
console.log(data) // otherwise data read kore file content show korbe | |
}); | |
// ফাইল রাইট করা |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script> | |
<script src="http://www.parsecdn.com/js/parse-1.2.12.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>Example</title> | |
</head> | |
<body ng-app="AuthApp"> | |
<div ng-hide="currentUser"> |
Follow these steps that in the link | |
http://www.macworld.co.uk/how-to/mac/make-bootable-mac-os-x-1010-yosemite-install-drive-3575875/ |
<!doctype html> | |
<html ng-app> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script> | |
<script src="http://www.parsecdn.com/js/parse-1.2.7.min.js"></script> | |
<script src="todo.js"></script> | |
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="container" ng-controller="Todo"> |
<?php | |
/* | |
Register Fonts | |
*/ | |
function studio_fonts_url() { | |
$font_url = ''; | |
/* | |
Translators: If there are characters in your language that are not supported | |
by chosen font(s), translate this to 'off'. Do not translate into your own language. |
Copy and paste this code on functions.php file in wordpress theme.... | |
add_action( 'woocommerce_add_to_cart' , 'repair_woocommerce_session_add_to_cart'); | |
function repair_woocommerce_session_add_to_cart( ){ | |
if ( defined( 'DOING_AJAX' ) ) { | |
wc_setcookie( 'woocommerce_items_in_cart', 1 ); | |
do_action( 'woocommerce_set_cart_cookies', true ); | |
} | |
} |
{ | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 2, | |
"caret_extra_top": 2, | |
"caret_extra_width": 3, | |
"caret_style": "phase", | |
"color_scheme": "Packages/User/SublimeLinter/Oceanic Next (SL).tmTheme", | |
"font_size": 14, | |
"tab_size": 2, | |
"highlight_line": true, |
`class Custom_Pages_Widgets extends WP_Widget{ | |
public function __construct(){ | |
$widget_ops = array( | |
'description' => __( "A list of your site’s Pages." ) | |
); | |
parent::__construct( 'custom_widget_pages', __( 'Widget Pages' ), $widget_ops ); | |
} | |
public function widget( $args, $instance ){ | |
extract($args); | |
$select = empty( $instance['select'] ) ? '' : $instance['select']; |