Skip to content

Instantly share code, notes, and snippets.

View Mashpy's full-sized avatar

Akhlasur Rahman (Mashpy) Mashpy

View GitHub Profile
সি এরজন্য এই দুইটা টিউটো ফলো করেন =>
http://url.mashpy.me/ctuto (শরীফ আহমেদ ১০১ টা টিউটরিয়াল)
http://url.mashpy.me/ctamim (তামিম শাহরিয়ার সুবিন)
প্রথম লিঙ্কে সি প্রোগ্রামিং এর বেসিক থেকে এডভান্স+প্রোগ্রামিং কনটেস্ট সম্পর্কে আলোচনা করা হয়েছে।
আর পরের লিঙ্কটা সি প্রোগ্রামিং এর একেবারে বেসিক জানতে সাহায্য করবে।
ভিডিও টিউটরিয়ালের পাশাপাশি নিটনের সবার জন্য সি বইটাও যদি কিনে পড়া শুরু করেন তাহলে অনেক ভাল হবে।
আর সি প্লাস প্লাসের জন্য বাংলাতে ভিডিও টিউটরিয়াল তেমন নাই without Bdgeeks.
http://url.mashpy.me/164 (বিডিগিকস ৪৫ টিউটরিয়াল)
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a, b,c;
while(1==1){
printf("please input number a=");
scanf("%d",&a);
printf("please input number b=");
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" <?php language_attributes();?>> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" <?php language_attributes();?>> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" <?php language_attributes();?>> <![endif]-->
<!--[if IE 9 ]><html class="ie ie9" <?php language_attributes();?>> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html <?php language_attributes();?>> <!--<![endif]-->
<head>
<meta name="robots" content="INDEX,FOLLOW" />
<meta name="author" content="stem cells">
<title><?php if ( is_category() ) {
#include<stdio.h>
int main()
{
float cel,far;
int ch; printf("Enter ur celcious value1: \n");
scanf("%f",&cel);
far=(cel*1.8)+32;
printf("Fahrenheit: %0.2f",far); switch(ch)
{
<?php
/*
* Class Name: class.mashsharer.php
* Author: Rene Hermenau
* @version 1.0.9
* @scince 1.1.1
* Description: main class for mashsharer
*/
// Exit if accessed directly
mashpy@mashpy-desktop:~$ ssh -i /home/mashpy/viralcamel.pem ec2-user@54.187.2.41 -v
OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 54.187.2.41 [54.187.2.41] port 22.
debug1: Connection established.
debug1: identity file /home/mashpy/viralcamel.pem type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/mashpy/viralcamel.pem-cert type -1
১০ । এখন আমাদের www-data এর পারমিশন ঠিক করতে হবে । কমান্ড লিখুন -
sudo chown username:www-data /var/www -R
sudo chmod g+w /var/www -R
এখানে আপনার পিসির বর্তমান লগিন থাকা অবস্থার ইউজার নেম লিখবেন। আমার ইউজার নেম poly তাই আমার কমান্ড -
sudo chown poly:www-data /var/www -R
sudo chmod g+w /var/www -R
if ( current_user_can( 'manage_options' ) ) {
echo "do something";
}
প্লাগিনে wp_current_user নিয়ে সমস্যা হতে পারে। সে জন্য এটা ব্যবহার করা যেতে পারে।
if(!function_exists('wp_get_current_user')) {
include(ABSPATH . "wp-includes/pluggable.php");
}
@Mashpy
Mashpy / nitrous
Last active August 29, 2015 14:02
https://www.nitrous.io/join/SgphmYOSgV0?utm_source=nitrous.io&utm_medium=copypaste&utm_campaign=referral
a5608710@drdrb.net
a6393421@drdrb.net
1.git init
2.git config user.name "someone"
3.git config user.email "someone@someplace.com"
4.git add *
5.git commit -m "some init msg"