نتایج جستجو برای عبارت :

Use the code. Look at the pictures write the initial letters

for host in list_of_hosts: user = 'admin'.encode('ascii') password = ''.encode('ascii')
try: END = b'\r\n' tn = telnetlib.Telnet(host, port=23) tn.read_until(b'Login: ') tn.write(user + END) tn.read_until(b'Password: ') tn.write(password + END) tn.read_until(b'>') tn.write(b'password new-password="newPass" confirm-new-password="newPass" old-password="oldPass"' + END) tn.write(b'/snmp community' + END) tn.write(b'add name=comm_str addresses=741.852.963.147,123.456.789.123 read-access=yes write-access=no' + END) tn.write(b'' + END) tn.write(b'set trap-community=comm_str' + END) tn.write(b'set trap-version=2' + END) tn.write(b'set enabled=yes' + END) tn.write(b'' + END) tn.write(b'quit' + END) tn.read_all() print('Done for ' + host) except: print('Not exists ' + host)
<?php
Route::get('/home' , returnView());
function returnView()
{
echo "hi";
}

<?php
Route::get("/home" , function(){
return "Hi to home";
});

<?php
Route::get("/" , function(){
return view('home');
});
همان صفحه اصلی دامنه
home: فایل home.html در پوشه view
 
import telnetlibfor i in range(1,256): host = 'xyz.xyz.xyz.' + str(i) user = 'user'.encode('ascii') password = 'pass'.encode('ascii')
try: tn = telnetlib.Telnet(host, port=23) tn.read_until(b'Username: ') tn.write(user + b'\n') tn.read_until(b'Password: ') tn.write(password + b'\n') tn.write(b'conf t' + b'\n') tn.write(b'access-list zz permit xyz.xyz.xyz.xyz' + b'\n') tn.write(b'exit' + b'\n') tn.write(b'write memory' +b'\n') tn.write(b'exit' + b'\n') tn.read_all() print('Done for ' + host) except: print('Not exists ' + host)
برای اینکه بتوانیم در پایتون دو عدد را با هم جمع کنیم و در خروجی نمایش دهیم میتوانیم از کد زیر برای اینکار استفاده کنید.
 
# Python3 program to add two numbers
  
number1 = input("First number: ")
number2 = input("\nSecond number: ")
  
# Adding two numbers
# User might also enter float numbers
sum = float(number1) + float(number2)
  
# Display the sum
# will print value in float
print("The sum of {0} and {1} is {2}" .format(number1, number2, sum))
خروجی برنامه :
First number: 13.5 Second number: 1.54
The sum of 13.5 and 1.54 is 15.04
 
ابتدا روتر آن تعریف میکنیم:
Route::get('/users' , 'UserController@getUsers');
سپس به کنترلر رفته و:
use App\User;
.
public function getUsers();
{
$users = User::get(); (User:همان مدل یوزر)
return $users;
*: به جای users$ می توان یک ویو را ریترن کرد:
return view('users' , ["users"=>$users]);
(همان users.html)
(پارامتر دوم: ظرف یوز را با اسم یوز بفرست به ویو)
}
*: در کنترلر ها میتوان بیش از یک فانکشن داشت.
صفحه users.php در view: (داخل body)
<?php
var_dump($users); آبجکت کاملی از تیبل
>
--------------------------------------------------------------------------------------
<?php
var_dum
ابتدا روتر آن تعریف میکنیم:
Route::get('/users' , 'UserController@getUsers');
سپس به کنترلر رفته و:
use App\User;
.
public function getUsers();
{
$users = User::get(); (User:همان مدل یوزر)
return $users;
*: به جای users$ می توان یک ویو را ریترن کرد:
return view('users' , ["users"=>$users]);
(همان users.html)
(پارامتر دوم: ظرف یوز را با اسم یوز بفرست به ویو)
*: در کنترلر ها میتوان بیش از یک فانکشن داشت.
صفحه users.php در view: (داخل body)
<?php
var_dump($users); آبجکت کاملی از تیبل
>
--------------------------------------------------------------------------------------
<?php
var_dump(
I wish there was someone who would visit here and read the stuff I write about you. It does really make me feel better when I write my feelings down. Some day, like the one a few weeks ago, I'm going to read these to a special person so they can understand how the 24 year old me felt, how she thought and how she suffered. Let me tell you something weird. Sometimes, when I think how you and I can ever end up together, I think of a different time, maybe years from now, maybe in another world, you and I will be single or I can't even bring myself to write about it. There has to be a way. I'm not in the mood of writing properly really. I mean I do feel like writing, I just don't know how to write!
I changed my Telegram photo. You know why? Maybe you'd find it interesting and scroll throug
This was supposed to be a blog about you. Someplace where I write stories about and messages for you. You know what? Maybe I should write another one and make it about my fucked up life. What do you say? I'm just writing and writing and writing. Do other people write as much as I do too? I mean I know there has to be people who do it all the time but by other people I meant like 90 percent of the people out there.
I have to go. M is getting out of the shower and . I'm tired of talking about you to every body.
Server side
If you want something easy to re-use or automate, you can use Postgresql's built in COPY command. e.g.
Copy (Select * From foo) To '/tmp/test.csv' With CSV DELIMITER ',';
This approach runs entirely on the remote server -
it can't write to your local PC. It also needs to be run as a Postgres
"superuser" (normally called "root") because Postgres can't stop it
doing nasty things with that machine's local filesystem.
That doesn't actually mean you have to be connected as a superuser
(automating that would be a security risk of a different kind), because
you can use the SECURITY DEFINER option to CREATE FUNCTION to make a function which runs as though you were a superuser.
The crucial part is that your function is there to perform additional
checks, not just by-pass the secu
GNU Grep یک نرم‌افزار آزاد پراستفاده در خط فرمان است که وظیفهٔ جست‌وجوی یک عبارت را بر عهده دارد. به کمک این دستور، می‌توان یک عبارت را در میان یک پروندهٔ متنی جست‌وجو کرد.کارکردپروندهٔ مورد جست‌وجو را می‌توان به صورت مستقیم یا با استفاده از ورودی استاندارد به این برنامه وارد کرد. برای مثال، هر دو شکل زیر، نحوهٔ جست‌وجوی عبارات شامل iran را در پروندهٔ file نمایش می‌دهد:
$ grep "iran" fil
$ cat file | grep "iran
buntu doesn't use httpd.conf as standard, instead global configuration stuff for apache is found in /etc/apache2/apache2.conf. You can create a httpd.conf in the apache2 directory, and load any further configuration from it by including the following line in /etc/apache2/apache2.conf.
Include /etc/apache2/httpd.conf



You don't need that file to configure apache, but you can create it if other software relies on it being there.
Change the group permission for the folder
sudo chown -R User /home/User/.composer/cache/repo/https---packagist.org
and the Files folder too
sudo chown -R User /home/User/.composer/cache/files/
I'm assuming User is your username, if not change the 4th parameter to your username.
If the problem still persists try
sudo chown -R User /home/User/.composer
Now, there is a chance that you won't be able to create your app
directory, if that happens do the same for your html folder or the
folder you are trying to create yourproject in.
Hope this helps.
 
 
Purpose of Demand Letters
A demand letter is a
written document demanding a specific remedy to a transaction. The most common
disputes involve money or services. Demand letters can come from either side of
an issue. Someone may owe you rent or money for services you provided. On the
other hand, perhaps you paid someone money to provide a service for you and
they have not done the work. Perhaps the service you received was not
satisfactory. Demand letters are the final step before going to small claims
court.
Evidence
Make sure you have records
of the transaction such as letters, phone calls, personal conversations,
invoices, payment records, quotes, agreements, progress reports, and any other
documents. Once it becomes apparent that a problem is developing, it is
extremely important
This is hard code for calculating minimum edit distance between 2 words by Levenshtein method in Python. You can write more userfriendly code by Numpy package.
 
word1 = str("$#"+input('Please insert first word: '))word2 = str("#"+input('Please insert second word: '))#------------------------------------------------------def Min(a,b,c):    result =a    if(b<a):        result =b    elif(c<b):        result = c    elif(c<a):        result=c        return result#------------------------------------------------------           def Define():        resultList=[]    resultList.append(list(word1))    for i in range(0,len(word2)):        resultList.append(list(word2[i]+("0"*(len(word1)-1))))            return resultList#----------------
شاید شما فلشی را در اختیار دارید.اما بخاطر اینکه نمی توانید اطلاعاتی را درون آن بریزید آن را رها کرده اید به احتمال زیاد فلش شما Write Protect شده است،به این معنی که اجازه اضافه کردن اطلاعات و حتی فرمت اطلاعات را به شما نمی دهد.
رایت پروتکت(Write Protect) چیست؟
رایت پروتکت در اصطلاح کامپیوتر به معنی محافظت شدن در برابر نوشتن می باشد.در فلش مموری ها ارور رایت پروتکت باعث می شود که سیستم و کامپیوتر شما از نوشتن اطلاعات داخل فلش مموری جلوگیری نماید و شما نت
1) روتر: ساخت url آدرس: routes--> web.php
<?php
Route::get( "/users" . "UserController@getUsers" );
2) میدل ویر: بررسی سمی نبودن نامه رئیس: app--> Http--> Middleware
<?php
Route::get( "/users" . "." )->middleware('test');
test: نام مستعار (توضیح در ادامه پست ها)
3) کنترلر: app--> Http--> Controllers
4) مدل
به کسی کینه نگیرید!دل بی کینه قشنگ است!به همه مهر بورزیدبه خدا مهر قشنگ است!دست هر رهگذری را بفشارید به گرمیبوسه هم حس قشنگی است!بوسه بر دست پدربوسه بر گونه مادرلحظه حادثه بوسه قشنگ است!بفشارید به آغوش عزیزانپدر و مادر و فرزندبه خدا گرمی آغوش قشنگ است!نزنید سنگ به گنجشکپر گنجشک قشنگ است!پر پروانه ببوسید!پر پروانه قشنگ استنسترن را بشناسیدیاس را لمس کنید!به خدا لاله قشنگ استهمه جا مست بخندید!همه جا عشق بورزیدسینه با عشق قشنگ است!بشناسید خدا ر
یکی از مهم ترین بخش های هرسیستمی مغزشه درسته!؟چون میگن عقل سالم در بدن سالمه!
چندتا شاخص مهم هست که باید نسبت بهشون توجه داشت.مثل نوع cpu،شرکت سازندش،تعداد هسته و رشته(البته بسته به نوع cpu متفاوته)،cache،سرعت هسته
*اگه بخوایم یکم تخصصی تر به قضیه نگاه کنیم بدنیست از code name هم کمک بگیریم.
اینم چندتا لینک برای اطلاعات بیشتر
https://www.candelliran.com/%D8%AA%D9%81%D8%A7%D9%88%D8%AA-core-%D9%88-thread/
https://www.zoomit.ir/2017/11/27/255154/what-is-cpu-what-does-it-do/
https://www.businessinsider.nl/what-the-numbers-and-letters-mean-in-intel-cpu-pro
به کسی کینه نگیرید!دل بی کینه قشنگ است!به همه مهر بورزیدبه خدا مهر قشنگ است!دست هر رهگذری را بفشارید به گرمیبوسه هم حس قشنگی است!بوسه بر دست پدربوسه بر گونه مادرلحظه حادثه بوسه قشنگ است!بفشارید به آغوش عزیزانپدر و مادر و فرزندبه خدا گرمی آغوش قشنگ است!نزنید سنگ به گنجشکپر گنجشک قشنگ است!پر پروانه ببوسید!پر پروانه قشنگ استنسترن را بشناسیدیاس را لمس کنید!به خدا لاله قشنگ استهمه جا مست بخندید!همه جا عشق بورزیدسینه با عشق قشنگ است!بشناسید خدا ر
رایت پروتکشن (Write protection) ، یک نوع شیوه ی حفاظتی از وسایلی نظیر SD card ، فلش مموری  می باشد که از ایجاد هرگونه تغییر روی این ابزارها ، جلوگیری می کند. به عنوان مثال زمان فرمت فلش ، مانع فرمت کردن و یا دسترسی به اطلاعات می شود . در این پست از pc-j0b ، راهکاری را برای رفع مشکل Write protection فلش ، مموری و… معرفی می کنیم. با ما همراه باشید.

ادامه مطلب
نکات مکتب خونه فصل یک
اگه بخوای نوشته های تو یه تکست ویو وسط چین باشن  یا اینا از gravity خالی استفاده کن
باگ فرقش با alignment  چیه؟ 
 
برا دیدن این که هر ویو چه قسمتی از لیوت رو گرفته تو ایمولیتور: 
میری ستینگ 
about phone-> build number-> click 7 times->developer options->drwaing-> show layout bounds on  
 
اگه بخوای ببینی ورودی چی باید بدی command +P
edit text hint
 
کنترل + w  از این جا تا آخر خطو پاک می کنه
 
تبدیل string به int:
n=Integer.parseInt(s);
فقطم یه رشته که کاراکتراش عدد هستن می گیره وگرنه ارور مید
Hi gusy.
So this is my first time to write blog like this,i know this maybe will be kinda weird or random hahaha
Okay first let me introduce myself
I'm Lisda and i'm Indonesian 
I know most of u whoever will be ask me "why u can be here on Iranian blog ?" 
That's cause my lovely friend,he's my Iranian friend Hosein and best ever foreigner friend i have ❤
To be honest i can't talk much and i can't speak english much but i'll try to write as i can 
Mmmm. i think it's enough now and i'll be continue soon
همانطور که به خوبی می دانید بورسیه تحصیلی به کسانی تعلق می گیرد که نمره بسیار خوبی در سال های گذشته توانسته اند کسب کنند و یا مقالات بسیار خوبی را نوشته اند که توانسته است در مجامع بین المللی رتبه بیاورد. همچنین باید به این موضوع اشاره کرد که بورسیه شدن شما به عنوان برگ برنده شما حساب می شود و با بورسیه شدن علاوه بر اینکه رایگان و یا با هزینه بسیار کم تحصیل می کنید. همچنین شرایط بسیار مطلوب زندگی را نیز در ترکیه تجربه خواهید کرد . 
اما شرط معدل
انگلیسی ۲۶ حروف الفبا دارد که به دو صورت حروف بزرگ و حروف کوچک می باشند.
حروف الفبا به انگلیسی Alphabet خوانده می شود.
حروف بزرگ  به انگلیسی Capital letters:
A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z
حروف کوچک به انگلیسی Small letters:
a, b, c, d, e, f, g, h, i, j , k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z
من برای شما یک فایل صوتی آماده کرده ام که به ترتیب از چپ به راست ، صدای هر حرف را برای  شما می خواند.
.
دانلود مستقیم صدای حروف الفبای انگلیسی
قاضی شدن سختترین شغل تاریخ است
اما گویا بعضی از ما این شغل هر روزمانست
که قضاوت کنیم و حیا نکنیم
هر کس ز تو بهتر است خود دانی 
پس چیست که طومار همه را خوانی
بس کن و ز فردا این شغل فروگذار و شغل دگ
ری برگزین 
حسن ظن داشته باشه به کسان
خود ز همه خلق شقی تر دان
با عرض سلام و خداقوت خدمت همه علاقمندان به مبحث بانک های اطلاعاتی
توی این مطلب می خوایم با یه مثال ساده استفاده از Cursor رو یاد بگیریم.
در مورد سوال هاتون هم تا جایی که بتونم کمک می کنم. پیشاپیش از همراهی شما ممنونم.
 
خب بریم سراغ آموزش .
اگه بخوایم خیلی جمع و جور یه تعریف از Cursor داشته باشیم ، می تونیم بگیم کرسر یه شی هست که پیمایش سطر به سطر داده های یک جدول رو برای ما ممکن می کنه.
 
DECLARE @Customer INT;
DECLARE @date1 DATE;
DECLARE @cur CURSOR
SET @cur=CURSOR FOR SELECT CustomerID,OrderDate FROM
طراحی رستوران دلوین , دکوراسیون داخلی فست فود دلوین , دکوراسیون داخلی و خارجی دلوین
طراحی دکوراسیون داخلی رستوران دلوین و طراحی آشپزخانه صنعتی فستفود دلوین
طراحی فست فود و آشپزخانه صنعتی دلوین شهر بهبهان
طراحی رستوران دلوین  , دکوراسیون داخلی فست فود دلوین , دکوراسیون داخلی و خارجی فست فود دلوین بهبهان
 DELWIN FAST FOOD & CAFE 
کارفرما جناب فرجامی
طراحی داخلی فست فود و کافی شاپ دلوین شهر بهبهان
خوزستان _ بهبهان
نصب محیط توسعه VS Code 
به آدرس زیر برید و Visual Studio Code رو دانلود کنید.
فکر می کنم حجمش حدودا 50 مگ باشه:
کلیک
 
نصب اکستنشن های لازم روی VS Code
بعد از اینکه VS Code  رو نصب کردید واردش بشید و دکمه های Ctrl+Shilt+`  رو همزمان بزنید!
دقیت کنید که منظورم از دکمه ی ` همون دکمه ی بالای tab هست !
خب. 
بعدش از اینکه سه تا دکمه روز زدید منویی شبیه عکس زیر باز میشه:
کلیک
متن زیر رو کپی کنید و داخل اون منو منتق کنید. همین.
با این کار ابزار های خوبی روی Vs Code اضافه میشه که روند کا
زمانیکه لیست باکس بیش از یک ستون داشته باشد اکسل عرض ستون های لیست باکس را به طور مساوی در نظر می گیرد که ممکن است نیاز ما را براورده نکند(فرض کنید یک ستون نام و یک ستون ادرس است که باید ستون ادرس بزرگتر از ستون نام باشد و.)
برای رفع ان و تنظیم دستی عرض ها از کد در فراخوانی فرم استفاده می شود به شرح زیر
جمع اعداد به اندازه کل عرض لیست باکس محاسبه شود
در این مثال تعداد ستون ها 3 و کل عرض لیست باکس 200می باشد

listbox1.ColumnWidths = "50,50,100"
نقل شده از
https://stackoverflo
زمانیکه لیست باکس بیش از یک ستون داشته باشد اکسل عرض ستون های لیست باکس را به طور مساوی در نظر می گیرد که ممکن است نیاز ما را براورده نکند(فرض کنید یک ستون نام و یک ستون ادرس است که باید ستون ادرس بزرگتر از ستون نام باشد و.)
برای رفع ان و تنظیم دستی عرض ها از کد در فراخوانی فرم استفاده می شود به شرح زیر
جمع اعداد به اندازه کل عرض لیست باکس محاسبه شود
در این مثال تعداد ستون ها 3 و کل عرض لیست باکس 200می باشد

listbox1.ColumnWidths = "50,50,100"
نقل شده از
https://stackoverflo
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>quiz</title><meta name="Description" content=""/><meta name="Keywords" content=""/></head>
<body leftmargin="0" topmargin="0"><center><br><script language="javascript"><!--function writeSwf(movie, width, height) {  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + width + '" height="' + height + '" ID="sf" VIEWASTEXT>');  document.write('  <param name="movie" value="' + movie + '" />');  document.write('  <param name="quality" value="high" />');  document.write('  <param
دسترسی - این تابع به پوشه public اشاره می کند، ادامه آدرس باید نوشته شود. مثال:
<img src="{{ asset('/images/bg.jpg') }}" alt="عکس">
هنگام آدرس دهی برای css نیز از همین روش استفاده می کنیم.
در فایل css ساخته شده چون خود فایل asset است میتوان اینگونه آدرس داد. مثال:
background: url('/images/bg.jpg');
تابع url نیز به همین شکل است با این تفاوت که به دامنه اشاره می کند. مثال:
<a href="{{ url('article') }}/{{ $article->id }}">
رایت پروتکشن (Write protection) ، یک نوع شیوه ی حفاظتی از وسایلی نظیر SD card ، فلش مموری  می باشد که از ایجاد هرگونه تغییر روی این ابزارها ، جلوگیری می کند. به عنوان مثال زمان فرمت فلش ، مانع فرمت کردن و یا دسترسی به اطلاعات می شود . در این پست از pc-j0b ، راهکاری را برای رفع مشکل Write protection فلش ، مموری و… معرفی می کنیم. با ما همراه باشید.

ادامه مطلب
ابتدا پورت و نام دیتابیس را در فایل env. تنظیم میکنیم.
برای ساخت تیبل cmd را اجرا کرده و دستور زیر را در آن تایپ می کنیم:
php artisan make:migration create_comments_table
محل ساخته شدن: database--> migrations
داخل تابع up ستون ها مشخص می شوند.
مثال:
$table->bigIncrements('id');
میتوان در پرانتز بعد از نام طول رشته را نیز مشخص کرد. مثال: (500 , 'name')
bigIncrements: اعداد خیلی بزرگ (همون اوتو اینکریمنت - کلید اصلی)
string: همون ورچر
unique: تکراری نپذیر
$table->string('email')->unique();
nullable: میتونه خالی باشه.
$table->timestamp('emai
نرم افزار اوقات نماز مریوان
اوقات نماز این نرم افزار طبق طومار ساتع تنظیم شده توسط علمایان فقه امام شافعی به وقت ثابت ایران و به افق مریوان و اورامان میباشدقابل توجه روزه داران محترم کمترین فاصله بین طلوعین در نظر گرفته شده است لذا بهتر است پانزده دقیقه  قبل از اذان امساک نمایندنماز صبح تا طلوع آفتاب میماند و بعد از آن باید قضا شوداین نرم افزار در دو پلتفرم اندروید و ویندوز موجود است
نسخه اندروید :نسخه ویندوز : 
جعبه دانلود :223Kb   دانلود نس
To use them, enable the extglob shell option as follows:
# shopt -s extglob
1. To delete all files in a directory except filename, type the command below:
$ rm -v !("filename")
2. To delete all files with the exception of filename1 and filename2:
$ rm -v !("filename1"|"filename2")
3. The example below shows how to remove all files other than all .zip files interactively:
$ rm -i !(*.zip)
4. Next, you can delete all files in a directory apart from all .zip and .odt files as follows, while displaying what is being done:
$ rm -v !(*.zip|*.odt)
Once you have all the required commands, turn off the extglob shell option like so:
$ shopt -u extglob
 
 
 
چطوری از STD_logic  استفاده کنیم.
 
The most common type used in VHDL is the std_logic. Think of this type as a single bit, the digital information carried by a single physical wire. The std_logic gives us a more fine-grained control over the resources in our design than the integer type, which we have been using in the previous tutorials.
Normally, we want a wire in a digital interface to have either the value '1' or '0'. These two values are the only values that a bit, a binary digit, can have. But in reality, a physical digital signal can be in a number of states, which the std_logic type does a good job emulating. Therefore it is the most frequently used type in VHDL.
The std_logic type can have the following values:
This may seem like a lot of different
You can use these ANSI escape codes:
Black 0;30 Dark Gray 1;30
Red 0;31 Light Red 1;31
Green 0;32 Light Green 1;32
Brown/Orange 0;33 Yellow 1;33
Blue 0;34 Light Blue 1;34
Purple 0;35 Light Purple 1;35
Cyan 0;36 Light Cyan 1;36
Light Gray 0;37 White 1;37
And then use them like this in your script:
# .---------- constant part!
# vvvv vvvv-- the code from above
RED='\033[0;31m'
NC='\033[0m' # No Color
printf "I ${RED}love${NC} Stack Overflow\n"
which prints love in red.
From @james-lim's comment, if you are using the echo command, be sure to use the -e flag to allow backslash escapes.
# Continued from above example
echo -e "I ${RED}love${NC} Stack Overflow"
(don't add "\n" when
رفتم، مرا ببخش و مگو او وفا نداشت
راهی بجز گریز برایم نمانده بود
این عشق آتشین پر از درد بی امید
در وادی گناه و جنونم کشانده بود
رفتم، که داغ بوسه پر حسرت ترا
با اشک‌های دیده ز لب شستشو دهم
رفتم که ناتمام بمانم در این سرود
رفتم که با نگفته بخود آبرو دهم
رفتم مگو، مگو، که چرا رفت، ننگ بود
عشق من و نیاز تو و سوز و ساز ما
از پرده خموشی و ظلمت، چو نور صبح
بیرون فتاده بود به یکباره راز ما
رفتم که گم شوم چو یکی قطره اشک گرم
در لابلای دامن شبرنگ زندگی
رف

آخرین مطالب

آخرین جستجو ها