This file contains hidden or 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
{ | |
"editor.fontFamily": "\"Cartograph CF\"", | |
"editor.fontLigatures": true, | |
"editor.lineHeight": 2, | |
"editor.fontSize": 24, | |
"editor.fontWeight": "500", | |
"terminal.integrated.fontFamily": "Consola, Liberation Mono", | |
"terminal.integrated.fontSize": 22, | |
"workbench.activityBar.iconClickBehavior": "focus", | |
"workbench.activityBar.location": "default", |
This file contains hidden or 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
from opentelemetry import trace | |
from opentelemetry.sdk.trace import TracerProvider | |
from opentelemetry.sdk.trace.export import BatchSpanExporter | |
class TracerSingleton: | |
""" | |
Singleton class to provide the OpenTelemetry tracer object. | |
""" | |
_instance = None |
This file contains hidden or 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
import yt_dlp | |
url = input("Enter the URL of the video: ") | |
URLS = [] | |
URLS.append(url) | |
ydl_opts = { | |
'format': 'mp3/bestaudio/best', | |
'postprocessors': [{ | |
'key': 'FFmpegExtractAudio', |
This file contains hidden or 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
import os | |
try: | |
video_link = input("Enter video path: ") | |
format = input("Enter [mp3] - Audio, [mp4] - Best Video: ") | |
string_param = "" | |
home = os.path.expanduser("~") | |
if format == "mp3": | |
string_param = "-x --audio-format='mp3' -o " + \ | |
home + "'/Music/%(title)s.%(ext)s' " + video_link |
This file contains hidden or 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
Apr 27 17:07:04 rajendra systemd-fsck[746]: fsck.fat 4.1 (2017-01-24) | |
Apr 27 17:07:04 rajendra systemd-fsck[746]: /dev/sda2: 190 files, 33320/98304 clusters | |
Apr 27 17:07:04 rajendra systemd-fsck[747]: /dev/sda8: clean, 147547/6250496 files, 10804434/24999936 blocks | |
Apr 27 17:07:04 rajendra kernel: [ 15.301708] systemd[1]: Created slice system-systemd\x2dfsck.slice. | |
Apr 27 17:07:04 rajendra kernel: [ 15.303413] systemd[1]: Listening on fsck to fsckd communication Socket. | |
Apr 27 17:07:32 rajendra systemd[1]: systemd-fsckd.service: Succeeded. |
This file contains hidden or 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
-Language: Cpp | |
AccessModifierOffset: -1 | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveAssignments: true | |
AlignConsecutiveDeclarations: true | |
AlignEscapedNewlines: Left | |
AlignOperands: true | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: true | |
AllowShortBlocksOnASingleLine: false |
This file contains hidden or 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
import java.util.Scanner; | |
public class Amstrong { | |
public static void main(String args[]) { | |
int number = 0, remainder, temp_copy, sum = 0; | |
System.out.print("Enter a Integer : "); | |
Scanner scanner = new Scanner(System.in); | |
number = scanner.nextInt(); | |
temp_copy = number; | |
if(number == 0) { | |
System.out.println("Input is zero."); |
This file contains hidden or 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
package in.co.dreamsdoor.beans; | |
public class Teacher { | |
private int id; | |
private String name; | |
private double salary; | |
public Teacher(int id, String name, double salary) { | |
this.id = id; | |
this.name = name; |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>in.co.dreamsdoor</groupId> | |
<artifactId>PDFReporting</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> |
This file contains hidden or 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
package in.co.dreamsdoor.beans; | |
public class Student { | |
private int id; | |
private String name; | |
private String std; | |
public Student(int id, String name, String std) { | |
super(); | |
this.id = id; |
NewerOlder