Skip to content

Instantly share code, notes, and snippets.

View sahin's full-sized avatar
🎯
Focusing

Sahin Boydas sahin

🎯
Focusing
View GitHub Profile
@sahin
sahin / output.csv
Last active October 8, 2018 17:25
output.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 7.
issue_id,url,title,assignee,weight,labels,time_estimate,time_spent,milestone,sprint,drivers,components
129,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/129,Support vertical surfaces,Baris Sencan,,"[""Camera"", ""Soon""]",0,0,,Soon,None,Camera
281,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/281,Migrate to Unity 2018,Halil İbrahim Kayım,8,"[""General"", ""Soon""]",8,0,,Soon,None,None
309,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/309,Allow app to be used without an internet connection,Alican Çubukçuoğlu,,"[""General"", ""Soon""]",0,0,,Soon,None,None
317,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/317,Index app for ASO/SEO,"",,"[""General"", ""Soon""]",0,0,,Soon,None,None
331,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/331,Check for and use Java 8 in scripts,Baris Sencan,2,"[""General"", ""Soon""]",2,0,,Soon,None,None
336,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/336,Add music to videos,Ahmet Ardal,,"[""
@sahin
sahin / issues.csv
Created October 3, 2018 17:46
issues.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
Issue ID,URL,Title,State,Description,Author,Author Username,Assignee,Assignee Username,Confidential,Locked,Due Date,Created At (UTC),Updated At (UTC),Closed At (UTC),Milestone,Weight,Labels,Time Estimate,Time Spent
129,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/129,Support vertical surfaces,Open,"",Leo Bot,leobot,Baris Sencan,isair,No,No,,2018-03-16 16:23:55,2018-09-16 23:12:54,,,,"Camera,Soon",0,0
281,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/281,Migrate to Unity 2018,Open,"",Leo Bot,leobot,Halil İbrahim Kayım,halilkayim,No,No,,2018-05-30 15:27:05,2018-09-24 10:16:02,,,8,"General,Soon",28800,0
309,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/309,Allow app to be used without an internet connection,Open,Remove the check in splash screen.,Leo Bot,leobot,Alican Çubukçuoğlu,AlicanC,No,No,,2018-06-11 21:52:16,2018-07-26 16:04:50,,,,"General,Soon",0,0
317,https://gitlab.com/mojilala-mobile/leo-mobile-main-app/issues/317,Index app for ASO/SEO,Open,"https://fire
/*!
* jQuery JavaScript Library v1.11.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
// await sleep(1000)
window.sleep = function (time) {
console.log("sleeping for" + time)
return new Promise((resolve) => setTimeout(resolve, time));
}
console.log("sleep");
async function parseFind(className, identifyingValue, identifyingKey = 'id') {
const ParseObject = Parse.Object.extend(className);
const query = new Parse.Query(ParseObject);
query.equalTo(identifyingKey, identifyingValue);
const result = await query.first();;
return result;
}
async function parseSave(className, objectAttributes) {
const ParseObject = Parse.Object.extend(className);
#!/bin/bash
#
# Usage
# curl rawfile > wordpress
# For Ubuntu 14.04.
#
# Installation of prerequisites for a LAMP WordPress 4.* server.
#
# Configure Before Running
# ------------------------
@sahin
sahin / my utils
Last active March 10, 2017 13:19
//Load jQuery library using plain JavaScript
(function(){
var newscript = document.createElement('script');
newscript.type = 'text/javascript';
newscript.async = true;
newscript.src = 'https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(newscript);
})();
function next_page_or_close(selector){