Skip to content

Instantly share code, notes, and snippets.

Avatar
🇹🇷
The mind is superior to the mind.

Avare Kodcu abdurrahmanekr

🇹🇷
The mind is superior to the mind.
View GitHub Profile
View ToCapitalizeCase.java
//*******************************************************************
// Welcome to CompileJava!
// If you experience any issues, please contact us ('More Info') -->
// Also, sorry that the "Paste" feature no longer works! GitHub broke
// this (so we'll switch to a new provider): https://blog.github.com\
// /2018-02-18-deprecation-notice-removing-anonymous-gist-creation/
//*******************************************************************
import java.lang.Math; // headers MUST be above the first class
import java.util.Locale;
@abdurrahmanekr
abdurrahmanekr / promise.js
Created Jan 2, 2018
promise ile ilgili bir soru
View promise.js
// En basit şekilde cache mantığı ile çalışan bir vCard servisi
// get methodu ile servisten aldığı değeri vCards'a ekliyor
// o listede de varsa geri döndürüyor
class vCard {
constructor() {
// hazırda inmiş vCard listesi
this.vCards = [];
}
get(id) {
@abdurrahmanekr
abdurrahmanekr / e-r-a.sh
Last active Nov 4, 2017
Electron React app install
View e-r-a.sh
git clone https://github.com/abdurrahmanekr/electron-react-example.git
cd electron-react-example
npm i
npm start
@abdurrahmanekr
abdurrahmanekr / enjoyable-git.md
Created Nov 1, 2017
enjoyable git commit messages
View enjoyable-git.md

༼ つ ◕_◕ ༽つ

View strophe-tester.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src='https://cdnjs.cloudflare.com/ajax/libs/strophe.js/1.2.14/strophe.js'></script>
<script>
var config = {
uri: 'http://atomic.detaysoft.com/http-bind/'
};
View gist:8ec79b04226af6da78fc4105152b9e07
function versionCompare(v1, v2, options) {
var lexicographical = options && options.lexicographical,
zeroExtend = options && options.zeroExtend,
v1parts = v1.split('.'),
v2parts = v2.split('.');
function isValidPart(x) {
return (lexicographical ? /^\d+[A-Za-z]*$/ : /^\d+$/).test(x);
}
@abdurrahmanekr
abdurrahmanekr / react-native-animasyonlar-7.js
Last active Jun 11, 2017 — forked from dabit3/Animated.stagger()
javascript,react-native,animation,animated
View react-native-animasyonlar-7.js
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Animated
} from 'react-native'
const dizi = []
@abdurrahmanekr
abdurrahmanekr / react-native-animasyonlar-6.js
Last active Jun 11, 2017 — forked from dabit3/Animated.sequence()
javascript,react-native,animation,animated
View react-native-animasyonlar-6.js
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Animated
} from 'react-native'
const dizi = []