This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fill(cols){ | |
new Array(cols.length).fill(null).forEach(()=>document.querySelector('.actions button').click()) | |
document.querySelector('.actions button').click() | |
document.querySelectorAll('.nsn-i-delete').forEach((elm)=>elm.click()) | |
new Array(cols.length).fill(null).forEach((_,index)=>{ | |
cols[index].forEach((number)=>{ | |
document.querySelectorAll('.cs-body > .column-number:nth-of-type('+number+')')[index].click() | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var getNightClubs = function(done){ | |
console.log('%c Klüplere bakılıyor.','background: black; color: white') | |
$.ajax({ | |
type: "GET", | |
url: 'https://www.thecrims.com/api/v1/nightclubs', | |
success: function(res){ | |
done(res.favorites.length > 0 ? res.favorites : res.nightclubs) | |
} | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var getRobberies = function(done){ | |
console.log('%c Soygun seçiliyor.','background: black; color: white') | |
$.ajax({ | |
type: "GET", | |
url: 'https://www.thecrims.com/api/v1/robberies', | |
success: function(res){ | |
done(res.single_robberies | |
.filter(robbery => robbery.successprobability == 100) | |
.sort((a, b) => b.difficulty - a.difficulty) | |
.find((x, index) => index == 0)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by gokselpirnal on 23/08/16. | |
*/ | |
public class FlatColors { | |
public static final int SOFT_RED_10 = 0x10EC644B; | |
public static final int SOFT_RED_20 = 0x20EC644B; | |
public static final int SOFT_RED_30 = 0x30EC644B; | |
public static final int SOFT_RED_40 = 0x40EC644B; | |
public static final int SOFT_RED_50 = 0x50EC644B; | |
public static final int SOFT_RED_60 = 0x60EC644B; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.graphics.RectF; | |
import android.util.AttributeSet; | |
import android.view.View; | |
// Göksel Pırnal | |
// result screenshot: http://i.hizliresim.com/jn7YY9.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.graphics.RectF; | |
import android.util.AttributeSet; | |
import android.view.View; | |
public class CircularPercentView extends View { | |
private Paint backgroundPaint; |