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
here is the list of my work in python ecosystem | |
https://malik-aqib-mehmood.netlify.app/# |
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
fetch("https://api.proxyscrape.com/v2/order/get_details.php", { | |
method: "POST", | |
body: JSON.stringify(price_urls) | |
}).then(function(res) { | |
return res.json(); | |
}).then(function(data) { | |
console.log(data, 'data'); | |
const keys = Object.keys(data); | |
keys.forEach((key, index) => { |
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 | |
$pagetitle = "Shared proxies " . $_GET["id"]; # how did you get id. | |
$pagedescription = "Shared proxies " . $_GET["id"]; | |
$pagekeywords = "Shared proxies " . $_GET["id"]; | |
$header_html = '<meta name="robots" content="noindex, follow">'; | |
include "assets/inc/header.inc.php"; | |
?> | |
<script type='text/javascript' | |
src='https://platform-api.sharethis.com/js/sharethis.js#property=5ea8732e81693d0012e58a78&product=sop' | |
async='async'></script> |
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
/* eslint-disable comma-dangle */ | |
/* eslint-disable quotes */ | |
/* eslint-disable class-methods-use-this */ | |
/* eslint-disable @typescript-eslint/no-explicit-any */ | |
import http from '@/services/http-common'; | |
class HproxyService { | |
getHttpProxies( | |
getproxies: string, | |
type: string, |
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
=> testcase-0 => success | |
test-case-1 => failed | |
process.stdin.resume(); | |
process.stdin.setEncoding('ascii'); | |
var input_stdin = ""; | |
var input_stdin_array = ""; | |
var input_currentline = 0; |
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
// all test 0 => failed, test [1,2,3] => passed | |
'use strict'; | |
process.stdin.resume(); | |
process.stdin.setEncoding('utf-8'); | |
let inputString = ''; | |
let currentLine = 0; |
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
// question | |
Task | |
Given an integer, , perform the following conditional actions: | |
If is odd, print Weird | |
If is even and in the inclusive range of to , print Not Weird | |
If is even and in the inclusive range of to , print Weird | |
If is even and greater than , print Not Weird | |
Complete the stub code provided in your editor to print whether or not is weird. |
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
Objective | |
In this challenge, we're going to learn about the difference between a class and an instance; because this is an Object Oriented concept, it's only enabled in certain languages. Check out the Tutorial tab for learning materials and an instructional video! | |
Task | |
Write a Person class with an instance variable, , and a constructor that takes an integer, , as a parameter. The constructor must assign to after confirming the argument passed as is not negative; if a negative argument is passed as , the constructor should set to and print Age is not valid, setting age to 0.. In addition, you must write the following instance methods: | |
yearPasses() should increase the instance variable by . | |
amIOld() should perform the following conditional actions: | |
If , print You are young.. | |
If and , print You are a teenager.. |
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
Objective | |
In this challenge, we will use loops to do some math. Check out the Tutorial tab to learn more. | |
Task | |
Given an integer, , print its first multiples. Each multiple (where ) should be printed on a new line in the form: n x i = result. | |
Example | |
The printout should look like this: |
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
// problem | |
Objective | |
Today, we will learn about the Array data structure. Check out the Tutorial tab for learning materials and an instructional video. | |
Task | |
Given an array, , of integers, print 's elements in reverse order as a single line of space-separated numbers. | |
Example | |
OlderNewer