Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Egehan Gündoğdu EgehanGundogdu

🎯
Focusing
View GitHub Profile
View soap-request-blog.py
import requests
import xmltodict
country_code = input("Country code? : ").upper()
country_service_data = {
"soap:Envelope": {
"@xmlns:soap": "http://schemas.xmlsoap.org/soap/envelope/",
"soap:Body": {
@EgehanGundogdu
EgehanGundogdu / degerlendir.js
Created Jun 18, 2021
sakarya universitesi degerlendirme
View degerlendir.js
(() => {
for (let i = 1; i <= 30; i++) {
let radioClassName = `S${i}`
if (radioClassName === "S29" || radioClassName === "S30") {
$(`input:radio[name=${radioClassName}]`).last().prop('checked', true)
}
else {
$(`input:radio[name=${radioClassName}]`).first().prop('checked', true)
}
@EgehanGundogdu
EgehanGundogdu / hello.py
Last active Oct 17, 2020
Python hello world.
View hello.py
print('Hello wild world!')
@EgehanGundogdu
EgehanGundogdu / client.js
Created Sep 20, 2020
axios interceptors usage
View client.js
import axios from "axios";
const client = axios.create({
baseURL: process.env.BACKEND_API_URL || "hardcoded backend app url",
headers: {
"Content-Type": "application/json",
},
});
client.interceptors.request.use(