Skip to content

Instantly share code, notes, and snippets.

View ubaltaci's full-sized avatar

Ugur Baltaci ubaltaci

View GitHub Profile
@ubaltaci
ubaltaci / three_3d_text.js
Created September 17, 2014 12:27
three.js 3d text
var text3d = new THREE.TextGeometry("123123123131", {
size: 0.2,
height: 0.1,
font: 12
});
text3d.computeBoundingBox();
var material = new THREE.MeshFaceMaterial([
new THREE.MeshPhongMaterial({color: 0xffffff, shading: THREE.FlatShading}), // front
new THREE.MeshPhongMaterial({color: 0xffffff, shading: THREE.SmoothShading}) // side
@ubaltaci
ubaltaci / mongo.js
Last active June 25, 2022 02:06
mongo
// Tracker document can only be created/edited/deleted by admins.
var Tracker = {
tracker_imei: {
type: String,
required: true,
unique: true
},
/**
@ubaltaci
ubaltaci / errorCodes
Last active August 29, 2015 14:21
errorCodes
{
error: ...
}
500 ->
Internal Server Error
Yapacak bişi yok, "Şu anda işleminizi gerçekleştiremiyoruz vs. vs."
401 ->
Invalid or Expired Token
@ubaltaci
ubaltaci / kz.js
Last active November 5, 2015 12:22
module.exports = {
"Download": "Скачать",
// HOME
"SPECIAL OFFERS": "АРНАЙЫ ҰСЫНЫСТАР",
"EXPLORE": "ЗЕРТТЕП БІЛ",
"GIFT CARD": "СЫЙЛЫҚ КАРТАСЫ",
"MAGAZINE": "ЖУРНАЛДАР",
"PHOTO GALLERY": "ФОТОГАЛЕРЕЯ",
module.exports = {
"Download": "Скачать",
// HOME
"SPECIAL OFFERS": "СПЕЦИАЛЬНЫЕ ПРЕДЛОЖЕНИЯ",
"EXPLORE": "ИЗУЧИ",
"GIFT CARD": "ПОДАРОЧНАЯ КАРТА",
"MAGAZINE": "ЖУРНАЛ",
"PHOTO GALLERY": "ФОТОГАЛЕРЕЯ",
[{
"SourceFile": "../Downloads/big_buck_bunny-ece3c1c0-1a39-4fad-9987-72f43e8f6d2c.mp4",
"ExifToolVersion": 10.11,
"FileName": "big_buck_bunny-ece3c1c0-1a39-4fad-9987-72f43e8f6d2c.mp4",
"Directory": "../Downloads",
"FileSize": "5.3 MB",
"FileModifyDate": "2016:03:18 04:14:39+02:00",
"FileAccessDate": "2016:03:19 04:46:50+02:00",
"FileInodeChangeDate": "2016:03:18 04:14:39+02:00",
"FilePermissions": "rw-r--r--",
@ubaltaci
ubaltaci / .eslintrc
Last active April 25, 2018 11:42
KNS Eslint
{
"env": {
"browser": true,
"node": true,
"jquery": true,
"mocha": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017,