Skip to content

Instantly share code, notes, and snippets.

Onur Yıldırım onury

Block or report user

Report or block onury

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
onury / export-github-labels.js
Last active Nov 14, 2017 — forked from MoOx/index.js
Export github labels
View export-github-labels.js
// go on you labels pages
// eg
// paste this script in your console
// copy the output and now you can import it using !
var labels = [];
.forEach(function(element) {
name: element.textContent.trim(),
onury / import-github-labels.js
Last active Nov 14, 2017 — forked from Isaddo/import-github-labels.js
import github labels via console command (my personal label colors)
View import-github-labels.js
Go on your labels page (
Edit the following label array
Use this snippet to export github labels (
and replace it
Paste this script in your console
Press Enter!!
onury / tcno.js
Last active Nov 30, 2018
Turkish Identity Number validation (TC Kimlik No)
View tcno.js
tcno(value) {
value = String(value);
// T.C. identity number should have 11 digits and first should be non-zero.
if (!(/^[1-9]\d{10}$/).test(value)) return false;
var digits = value.split(''),
// store last 2 digits (10th and 11th) which are actually used for validation
d10 = Number(digits[9]),
d11 = Number(digits[10]),
// we'll also need the sum of first 10 digits for validation
sumOf10 = 0,
You can’t perform that action at this time.