Skip to content

Instantly share code, notes, and snippets.

View ahmetabdi's full-sized avatar
:shipit:

Ahmet ahmetabdi

:shipit:
View GitHub Profile
{ Game : Tabletop Simulator.exe
Version:
Date : 2017-11-20
Author : Green
This script gives access to all DLC
}
[ENABLE]
git config --global push.default current
def zero(method = nil)
calculate(method, 0)
end
def one(method = nil)
calculate(method, 1)
end
def two(method = nil)
calculate(method, 2)
end
def three(method = nil)
value_matrix = { "zero" => 0,
"one" => 1,
"two" => 2,
"three" => 3,
"four" => 4,
"five" => 5,
"six" => 6,
"seven" => 7,
"eight" => 8,
"nine" => 9 }
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "cmd+t", "command": "workbench.action.quickOpen" },
{ "key": "cmd+r", "command": "workbench.action.quickOpen" },
{ "key": "cmd+e", "command": "editor.action.goToDeclaration", "when": "editorTextFocus" },
{ "key": "cmd+shift+e", "command": "editor.action.previewDeclaration" },
{ "key": "cmd+y", "command": "redo", "when": "editorTextFocus" },
{ "key": "cmd+1", "command": "workbench.action.openEditorAtIndex1" },
{ "key": "cmd+2", "command": "workbench.action.openEditorAtIndex2" },
{ "key": "cmd+3", "command": "workbench.action.openEditorAtIndex3" },
// Place your settings in this file to overwrite the default settings
{
"editor.tabSize": 2,
"editor.rulers": [80],
"editor.fontSize": 12,
"files.trimTrailingWhitespace": true,
"telemetry.enableCrashReporter": false,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
https://www.npmjs.com/package/mongoosastic
https://www.npmjs.com/package/elasticsearch
https://www.npmjs.com/package/mongoose
https://github.com/sahat/hackathon-starter
https://github.com/scotchfield/elasticsearch-react-example
http://expressjs.com/
@ahmetabdi
ahmetabdi / gems.rb
Last active October 24, 2016 10:27
Top gems
group :development do
# Help to kill N+1 queries and unused eager loading
gem 'bullet' # https://github.com/flyerhzm/bullet
# Better error page for Rack apps
gem 'better_errors' # https://github.com/charliesome/better_errors
gem 'binding_of_caller'
# A sampling call-stack profiler for ruby 2.1+
gem 'stackprof' # https://github.com/tmm1/stackprof
# Debugging
gem 'byebug' # https://github.com/deivid-rodriguez/byebug
@ahmetabdi
ahmetabdi / gist:ef007035f116df80bc9c52e3fd07583b
Created September 27, 2016 08:15
Spawn Elixir Process against all cores
spawn(fn -> IO.puts "hello from process" end)
for _ <- 1..10 do IO.puts "hello" end
// Step9LetsGo.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Includes.h"
#include "Process.h"
int main()
{