Skip to content

Instantly share code, notes, and snippets.

View metehankasapp's full-sized avatar
chill

Metehan Kasap metehankasapp

chill
View GitHub Profile
@ozdemirburak
ozdemirburak / cities_of_turkey.json
Last active April 24, 2024 16:02
List of cities in Turkey presented in JSON format with the information of name, latitude, longitude, population and region.
[
{
"id": 1,
"name": "Adana",
"latitude": "37.0000",
"longitude": "35.3213",
"population": 2183167,
"region": "Akdeniz"
},
{
@saumitra2810
saumitra2810 / Hex ColorPicker using Shopify Polaris Colorpicker
Last active March 27, 2023 09:52
Wraps around Polaris colorpicker component with data exchange in HEX.
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import {Button, ColorPicker, TextField, Popover} from '@shopify/polaris';
import {hsbToHex, rgbToHsb} from '@shopify/polaris';
// interchange will always be hex
export default class HexColorPicker extends Component {
static propTypes = {
color: PropTypes.string,
@samilkahraman
samilkahraman / gist:fff61d2a7586002db6412948c4cecf11
Last active December 6, 2022 12:43
NodeJS ile Aras Kargo API'lerinin Kullanımı
const soap = require("soap");
const url =
"http://customerservices.araskargo.com.tr/ArasCargoCustomerIntegrationService/ArasCargoIntegrationService.svc?wsdl";
//Esasweb uzerinden alinan bilgiler
const loginInfo =
"<LoginInfo>" +
"<UserName>samilkahraman</UserName>" +
"<Password>sifre</Password>" +
"<CustomerCode>123456789musterino</CustomerCode>" +