Skip to content

Instantly share code, notes, and snippets.

View mertkahyaoglu's full-sized avatar
👾

Mert Kahyaoğlu mertkahyaoglu

👾
View GitHub Profile
Sub UpdateProjectIDs()
Dim ws1 As Worksheet, ws2 As Worksheet
Dim lastRow1 As Long, lastRow2 As Long
Dim i As Long, j As Long
Dim lookupValue As String, projectID As String
Dim cellValue As String
Dim found As Boolean
' Sheet1 ve Sheet2'yi ayarla
Set ws1 = ThisWorkbook.Sheets("Sheet1")
@mertkahyaoglu
mertkahyaoglu / gh-pages.md
Created February 23, 2020 10:19 — forked from ramnathv/gh-pages.md
Creating a clean gh-pages branch

Creating a clean gh-pages branch

This is the sequence of steps to follow to create a root gh-pages branch. It is based on a question at [SO]

cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html

Privacy Policy

built the Booklines app as a Commercial app. This SERVICE is provided by and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Booklines unless otherwise defined in this Privacy Policy.

<iframe width="980" height="410" src="https://mars.nasa.gov/layout/embed/send-your-name/mars2020/certificate/?cn=645190970685" frameborder="0"></iframe>
@mertkahyaoglu
mertkahyaoglu / dapply
Created February 6, 2019 10:47 — forked from cam8001/dapply
Apply a patch directly from a URL without downloading it first.
#!/bin/bash
# Downloads and applies a patch from Drupal.org.
if [ -z "$1" ]
then
echo "You need to supply a URL to a patch file."
exit
fi
URL=$1;
#!/usr/bin/env bash
set -e
# allow being run from somewhere other than the git rootdir
gitroot=$(git rev-parse --show-cdup)
# default gitroot to . if we're already at the rootdir
gitroot=${gitroot:-.};
nm_bin=$gitroot/node_modules/.bin
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 15,
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"workbench.colorTheme": "Atom One Dark",
"prettier.singleQuote": true,
"prettier.trailingComma": "es5",
def flatten(S):
if S == []:
return S
if isinstance(S[0], list):
return flatten(S[0]) + flatten(S[1:])
return S[:1] + flatten(S[1:])
arr = [1, [2,[3],4,5], [6],7]
print flatten(arr)
const usernameClassname = 'zsYNt';
const modal = document.getElementsByClassName('j6cq2')[0]
const followingButton = document.getElementsByClassName('-nal3')[0]
let x = 0;
let followingOn = false;
setInterval(() => {
modal.scrollTo(0, modal.scrollHeight);
}, 2000);
var jwtTimeout = pm.environment.get("jwtTimeout") || 0;
if(new Date().getTime() > jwtTimeout) {
pm.sendRequest({
url: pm.environment.get("baseUrl") + '/api/v1/merchants/login',
method: 'POST',
header: {
'content-type': 'application/json',
},
body: {