−1
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
includelib C:\Irvine\User32.Lib
includelib C:\Irvine\Kernel32.Lib
includelib D:\masm32\lib\Irvine32.lib
include \masm32\include\Irvine32.inc
.data
data_1 dword 45
data_2 dword 29
msg byte ?
.code
main PROC
xor ebx, ebx
xor eax, eax
xor edx, edx
xor esi, esi
mov cl ,31
mov eax, data_1
mov esi , data_2
lm:
shl esi, 1
jnc one
cmp msg, 1
je two
shl eax, cl
mov msg, 1
mov ebx, data_1
jmp one
two:
shl ebx, cl
mov msg, 0
add eax, ebx
add edx , eax
mov eax, data_1
one:
loop lm
mov eax , edx
call WriteInt
Call CrLf
exit
main ENDP
END main
Hey, Mr. Tambourine Man, play a song for me
I'm not sleepy and there is no place I'm going to
Hey, Mr. Tambourine Man, play a song for me
In the jingle jangle morning I'll come following you
Though I know that evening's empire has returned into sand
Vanished from my hand
Left me blindly here to stand, but still not sleeping
My weariness amazes me, I'm branded on my feet
I have no one to meet
And the ancient empty street's too dead for dreaming
Hey, Mr. Tambourine Man, play a song for me
I'm not sleepy and there is no place I'm going to
Hey, Mr. Tambourine Man, play a song for me
In the jingle jangle morning I'll come following you
Take me on a trip upon your magic swirling ship
My senses have been stripped
My hands can't feel to grip
My toes too numb to step
Wait only for my boot heels to be wandering
I'm ready to go anywhere, I'm ready for to fade
Into my own parade
Cast your dancing spell my way, I promise to go under it
Hey, Mr. Tambourine Man, play a song for me
I'm not sleepy and there is no place I'm going to
Hey, Mr. Tambourine Man, play a song for me
In the jingle jangle morning I'll come following you
Madhouse_camomile,
14 Января 2021
−3
- 001
- 002
- 003
- 004
- 005
- 006
- 007
- 008
- 009
- 010
- 011
- 012
- 013
- 014
- 015
- 016
- 017
- 018
- 019
- 020
- 021
- 022
- 023
- 024
- 025
- 026
- 027
- 028
- 029
- 030
- 031
- 032
- 033
- 034
- 035
- 036
- 037
- 038
- 039
- 040
- 041
- 042
- 043
- 044
- 045
- 046
- 047
- 048
- 049
- 050
- 051
- 052
- 053
- 054
- 055
- 056
- 057
- 058
- 059
- 060
- 061
- 062
- 063
- 064
- 065
- 066
- 067
- 068
- 069
- 070
- 071
- 072
- 073
- 074
- 075
- 076
- 077
- 078
- 079
- 080
- 081
- 082
- 083
- 084
- 085
- 086
- 087
- 088
- 089
- 090
- 091
- 092
- 093
- 094
- 095
- 096
- 097
- 098
- 099
- 100
int hlp_fix(char data[] , char dump_alpha[] ){
int run = 0;
char prev = '0';
int count_bracket = 0 ;
puts(dump_alpha);
if(my_isdigit(data[0]) || my_isalpha(data[0]) ){
prev = data[0];
}
else if (data[0] == '('){
count_bracket++;
prev = data[0];
}
else{
puts("!!! first error !!!");
exit(1);
}
for(run = 1;data[run] != '\0' ;run++){
if ( data[run + 1] == '\0' && isOperator(prev ) ){
puts("!!! error isOperator !!!");
exit(1);
}
if(isgraph(data[run] )){
if( secure_1(data[run], dump_alpha ) ) {
printf("!!! error this no list = %c !!!", data[run] );
exit(1);
}
if(prev == '.' ){
if( data[run - 1 ] == '.' && my_isdigit(data[run]) ) {
prev = data[run];
}
else{
puts(" !!! error point !!!");
exit(1);
}
}
else if(my_isdigit(prev) ){
if( data[run] == ')' ) {
prev = data[run];
--count_bracket;
}
else if( ( my_isdigit(data[ run - 1 ]) || data[run - 1 ] == '.' ||
isOperator(data[run]) ) ){
prev = data[run];
}
else{
puts("error isdigit");
exit(1);
}
}
else if(isOperator(prev)){
if( (my_isdigit(data[run]) || my_isalpha(data[run] ) ) ){
prev = data[run];
}
else if ( data[run] == '(' ){
prev = data[run];
count_bracket++;
}
else{
puts("error isOperator");
exit(1);
}
}
else if(prev == '(' ){
if( (my_isdigit(data[run] ) || my_isalpha(data[run] ) ) ){
prev = data[run];
}
else if ( data[run] == '('){
count_bracket++;
prev = data[run];
}
else{
Ни что так не вдохновляет на бейсджампинг без парашюта как "отлов ошибок" который не работает ))))
https://ideone.com/rjrwMQ
Oh-my-God-my-leg,
07 Января 2021
0
- 1
jQuery( this ).parent().parent().parent().parent().parent().parent().parent().parent().find(".crate_bottle").html(product_crate_price_final);
arkasha,
13 Октября 2020
0
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
$output_desc_name_num= $output;
$desc_name_ar = array(
"1" => "<a href='http:\\test.com'>link</a>",
"2" => "Описание.. 2",
"3" => "Описание.. 3",
);
if($output_desc_name_num == 1){
$desc_name = $desc_name_ar[1];
}
elseif($output_desc_name_num == 2){
$desc_name = $desc_name_ar[2];
}
elseif($output_desc_name_num == 3)
$desc_name = $desc_name_ar[3];
else
$desc_name ='';
............
return $response;
Слишком мало переменных для каждого действия... + условии
MouseZver,
04 Октября 2020
−1
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
$(document).on('click','.head__loginw a',function() {
//реачгоал и гугл для клика по ссылке кабинете
return true;
})
$(document).on('click','.prc__it__bt openModal',function() {
id = $(this).attr('tid');
if(id == 387) {
//мир - 30
}
if(id == 388) {
//мир - 60
}
if(id == 389) {
//мир - 100
}
if(id == 391) {
//МИР-ДОМ-30
}
if(id == 392) {
//мМИР-ДОМ-60
}
if(id == 393) {
//мМИР-ДОМ-100
}
return true;
})
snegoviktlt,
20 Августа 2020
0
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
//
// Нахождение наибольшего общего делителя
//
Первое число = 57;
Второе число = 1332;
while (Первое число <> 0 and Второе число <> 0)
{
if (Первое число > Второе число)
Первое число = Первое число % Второе число;
else
Второе число = Второе число % Первое число;
}
print(Первое число + Второе число);
Язык программирования "Эбал". Совершенно не ясно, развивать язык или нет. Поэтому прошу высказать все что думаете.
https://ebal-language.appspot.com/
EbalVas,
31 Июля 2020
−2
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
Беглый клиент (рассказ старого брадобрея).
Странная таки оказия приключилась со мной.
В полдевятого я, как обычно, пришел в свою цирюльню и принял первого клиента - пожилого китайца, с косичками за спиной и на подбородке.
-Пожалуйте, господин, - я усадил его в кресло, гладко выбрил, поправил косичку и пошел за одеколоном.
Когда я принес пульверизатор то увидел, что кресло опустело; хитрый китаец воспользовался моим отсутствием и вероломно
ускользнул.
-Ай, мерзавец, а платить?..
Я кое-как выскочил - сил нет в старых ногах, но скоро догнал беглеца (он не очень-то и спешил), поравнялся с ним и тронул за рукав.
Китаец остановился и спокойно обернулся. На лице у него была широкая улыбка. Я потребовал платы.
Тогда китаец перестал улыбаться и взвизгнул на ломаном немецком языке: "не нарушай дистанцию!", - и поднял руки.
Тут же заверещал свисток... Ко мне подошел полицай и велел отойти от китайца.
Пришлось мне уйти ни с чем... Ненавижу узкоглазых!..
Мда. Пиздец, что уж тут скажешь.
pdro119,
08 Июня 2020
0
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
$openTab.on('click', function () {
$('.c-header__nav__level-1').hide();
$('.c-header__nav__level-back').show();
$tabContent.show();
});
//показываем меню 1 уровня когда нажимаем на бургер
$('.c-header__toggler--burger').on('click', function () {
$('.c-header__toggler').toggle();
$('.c-header__nav__level-1').fadeIn();
$('body').addClass('body-no-scroll');
});
//скрытие на кнопку закрытие
$('.c-header__toggler--close').on('click', function () {
$('.c-header__toggler').toggle(); //сама кнопка
$('.c-header__nav__level-1').fadeOut(); //закрываем первый уровень
$tabContent.fadeOut(); //закрываем второй уровень
setTimeout(function () { //тайм-аут для восстановления 2 уровня по умолчанию
$('.c-header__nav__level-2-item--show').removeClass('c-header__nav__level-2-item--show');
$('.c-header__nav__level-2-item').show();
}, 800);
$('.c-header__nav__level-3').fadeOut(); //закрываем 3 уровень
$('.c-header__nav__back').fadeOut(); // закрываем все кнопки 'назад'
$('body').removeClass('body-no-scroll');
});
//кнопка "назад" со 2 на 1 уровень
$('.c-header__nav__level-back').on('click', function () {
$(this).hide().parent().hide().prev().show();
});
$('.c-header__nav__level-2-back').on('click', function () {
$(this).hide();
$(this).prev().show();
$('.c-header__nav__level-2').removeClass('is-active');
});
//кнопка "назад" с 3 на 2 уровень
$('.c-header__nav__level-3-back').on('click', function () {
$(this).hide()
.parent().find('.c-header__nav__level-2-item--show').removeClass('c-header__nav__level-2-item--show'); // восстановления 2 уровня по умолчанию
$('.c-header__nav__level-2-item').show(); // восстановления 2 уровня по умолчанию
$('.c-header__nav__level-2-back').show(); //восстанавливаем кнопку "назад" 2 уровня
$('.c-header__nav__level-3').hide(); //закрываем 3 уровень
});
//переход с 2 на 3 уровень
$('.c-header__nav__level-2-item').on('click', function () {
$('.c-header__nav__level-2-item').not($(this)).hide(); //закрываем весь 2 уровень кроме нажатого
$(this).addClass('c-header__nav__level-2-item--show'); //стили для нажатого 2 уровня
$('.c-header__nav__level-2-back').hide(); //скрываем кнопку "назад" 2 уровня
$('.c-header__nav__level-3').show(); // показываем кнопку "назад" 3 уровня
$('.c-header__nav__level-3-back').show(); //показываем 3 уровень
});
//новое меню
$('body').on('click', '.c-header__nav__level-left__link.parent', function (e) {
e.preventDefault();
$(this).next('ul').addClass('is-active');
$('.c-header__nav__level-2-back').show();
$('.c-header__nav__level-back').hide();
});
Главное, что задокументировано
phpBidlokoder2,
21 Мая 2020
+5
- 1
- 2
- 3
- 4
function reclstr($txt1) {//утилизировать текст
$util = sha1( $txt1 . rand(0,54424456));
return $util;
}
govnokoduser2000,
28 Апреля 2020
−1
- 1
- 2
- 3
Вас заметили
капча pa9e
Part of the challenge of programming (and for some people, the reason why programming is fun in the first place) is looking at the building blocks provided to you and deciding how to assemble them to build something new. After all, if everything you wanted a program to do already existed ready-made, it wouldn't be called programming any more. It would be called shopping.
>> Is there an API or a quick way to find out which window the mouse is in?
I replied, "The LEGO Group does not make a piece for every possible object. Sometimes you just have to take two LEGO blocks and click them together. Here are some interesting blocks: GetCursorPos, WindowFromPoint."
>> Thanks for your reply. But WindowFromPoint gives me the window of the object at the location of the cursor. But I'm looking for the top level window containing the cursor.
Fine, then use a different block.
I wonder how it is these people manage to write programs at all. I get the impression they write code by asking a million tiny questions and cutting and pasting together all the replies.
No wait, pasting together the replies counts as snapping blocks together. Maybe they just ask for completed programs.
kak,
12 Марта 2020