Skip to content

Instantly share code, notes, and snippets.

View yyalim's full-sized avatar
🧙‍♂️
Thinking & Hacking

Yusuf Yalım yyalim

🧙‍♂️
Thinking & Hacking
View GitHub Profile
try {
await sendRequest("POST", "payment/validate_receipt/", {
data: {
platform: Capacitor.getPlatform(),
receipt: isPlatform(["ios"]) ? receipt : JSON.stringify(receipt),
},
});
if (localReceiptId) {
await this.removeFromLocalReceipts(localReceiptId);
@yyalim
yyalim / index.html
Created May 26, 2020 18:20
Simple Responsive Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
*,
*:before,
*:after {
@yyalim
yyalim / cloudSettings
Last active May 14, 2020 09:10
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-05-14T09:10:52.534Z","extensionVersion":"v3.4.3"}
@yyalim
yyalim / instructions.md
Created February 21, 2019 08:43
Frontend at Windows

to install c++ compiler and python

npm install --global --production windows-build-tools --vs2015

# filmler tablosunu yaratmak için
CREATE TABLE filmler (
film_id NUMBER PRIMARY KEY,
film_ismi VARCHAR2(140) NOT NULL,
yili NUMBER(4) NOT NULL,
yonetmen VARCHAR2(140) NOT NULL,
turu VARCHAR2(140) NOT NULL,
imdb_puani NUMBER(2, 1) NOT NULL
);
@yyalim
yyalim / androind-on-debian.md
Created October 2, 2016 22:28
Enable Android phones on Debian based OSs

sudo add-apt-repository ppa:langdalepl/gvfs-mtp && sudo apt-get update && sudo apt-get upgrade

then restart :)

{
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme",
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"node_modules"
],
@yyalim
yyalim / git_aliases.md
Created January 5, 2016 08:31
Git aliases

Pretty logging

git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"