This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@localhost infinite4evr]# /usr/bin/vmplayer %u | |
Stopping vmware (via systemctl): [ OK ] | |
make: Entering directory '/tmp/modconfig-1fJKHM/vmmon-only' | |
Using kernel build system. | |
/usr/bin/make -C /lib/modules/4.17.14-202.fc28.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ | |
MODULEBUILDDIR= modules | |
make[1]: Entering directory '/usr/src/kernels/4.17.14-202.fc28.x86_64' | |
Makefile:974: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop. | |
make[1]: Leaving directory '/usr/src/kernels/4.17.14-202.fc28.x86_64' | |
make: *** [Makefile:110: vmmon.ko] Error 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.MODEL TINY ; ADD TWO ARRAYS | |
.CODE | |
.386 | |
.STARTUP | |
.DATA | |
ARRAY1 DB 30H,31H,32H,33H,34H,35H,36H,37H,39H,40H,41H | |
ARRAY2 DB 15H,14H,13H,12H,11H,10H,9H,8H,7H,6H,5H,4H | |
.CODE | |
MOV SI, OFFSET ARRAY1 | |
MOV DI, OFFSET ARRAY2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Q14: | |
<html> | |
<head> | |
<title>sort</title> | |
</head> | |
<body> | |
<form id="sort_form"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
No license used, You can copy this beautiful code for free | |
*/ | |
package it_practicals; | |
import java.sql.*; | |
public class it_practicals { | |
static ResultSet r; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//stack | |
package it_practicals; | |
import java.util.*; | |
abstract class stack { | |
abstract int push(int element); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
<!DOCTYPE html> | |
<!-- | |
To change this license header, choose License Headers in Project Properties. | |
To change this template file, choose Tools | Templates | |
and open the template in the editor. | |
--> | |
<html> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Post at : https://medium.com/code01/hamming-code-implementation-in-c-c16f3d038ba1 | |
#include <iostream> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <math.h> | |
using namespace std; | |
int | |
main () | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
Below is the process to reset the root user password, when we forgot the root user password or missed to recollect the password provided during installation. | |
OS - Ubuntu 16.04 | |
MySQL - 5.7 | |
Stop Mysql Server sudo /etc/init.d/mysql stop | |
To avoid the error, mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists , run below commands: sudo mkdir -p /var/run/mysqld |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$bot_token = "980569822:AAGmatHbU5tMQoAN9hNNP5P3SGOqibfatVI"; // token by botfather | |
$bot_api_url = "https://api.telegram.org"; //api url to request | |
$request_updates_url = $bot_api_url."/bot".$bot_token."/getUpdates"; // final request url ( see telegram api documentation ) | |
$send_message_url = $bot_api_url."/bot".$bot_token."/sendMessage"; // method for sending message is sendMessage | |
/* | |
$request url now is : "https://api.telegram.org/bot980569822:AAGmatHbU5tMQoAN9hNNP5P3SGOqibfatVI/getUpdates" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<button>Start Scan</button> | |
<video id="video" width="100%" height="100%" style="border: 1px solid gray"></video> | |
</body> | |
</html> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | |
<script type="text/javascript" src="https://unpkg.com/@zxing/library@latest"></script> | |
<script> | |
let selectedDeviceId; |
OlderNewer