Skip to content

Instantly share code, notes, and snippets.

View huseyin's full-sized avatar

Hüseyin Tekinaslan huseyin

View GitHub Profile
@huseyin
huseyin / dart-report.json
Last active August 6, 2016 11:00
"dart" projesi rapor değişkenleri
{
"id": "<container-id>",
"container": "<name>",
"status": "<fail|success>",
"start_time": "<time>",
"end_time": "<time>",
"elapsed_time": "<time>",
"sources": [
"used_source_0",
"used_source_1",
@huseyin
huseyin / coffee.yaml
Last active August 6, 2016 22:12
dart coffee example
container: "debian"
name: "coffee"
tag: "americano"
workdir: "/root/coffee"
deps:
lang: "deb"
packages:
- coffee
- milk
- glass
@huseyin
huseyin / go.yaml
Last active August 6, 2016 22:34
dart go example
image: ubuntu:latest
name: main-go
directives:
- ["mkdir", "/root/gopath"]
env: ["GOPATH=/root/gopath"]
deps:
lang: "deb"
packages:
- golang
@huseyin
huseyin / bbb-api.rb
Last active December 29, 2016 20:48
BigBlueButton API test
require 'bigbluebutton_api'
require 'json'
BBB_URL = ENV['BBB_URL']
BBB_SECRET = ENV['BBB_SECRET']
bbb_api = BigBlueButton::BigBlueButtonApi.new(BBB_URL, BBB_SECRET)
puts JSON.pretty_generate(bbb_api.get_meetings)
@huseyin
huseyin / README.md
Created January 5, 2017 13:21 — forked from dergachev/README.md
Vagrant tutorial

Vagrant Setup

This tutorial guides you through creating your first Vagrant project.

We start with a generic Ubuntu VM, and use the Chef provisioning tool to:

  • install packages for vim, git
  • create user accounts, as specified in included JSON config files
  • install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository

Afterwards, we'll see how easy it is to package our newly provisioned VM

@huseyin
huseyin / TODO.md
Last active January 9, 2017 20:21
  • a task list item
  • list syntax required
  • normal formatting, @mentions, #1234 refs
  • incomplete
  • completed
#compdef scripts
#autoload
declare base_command
base_command=`SCRIPTS=scripts scripts help 2>/dev/null`
declare -A task_list
_tasks() {
_describe -t commands 'commands' task_list && return 0
#!/bin/sh
#
# Fork depolarda master dalında değişiklik yapmayı engelle.
if [ "$(git rev-parse --abbrev-ref HEAD)" = master ]; then
if git config remote.upstream.url >/dev/null; then
cat >&2 <<-EOF
Üst geliştirici depo referansı "upstream" belirlendi.
Alt geliştirici olarak çalıştığınız depolarda "master" dalında
@huseyin
huseyin / config
Created April 7, 2017 23:51 — forked from roktas/config
Genel git config dosyası (~/.config/git/config)
[alias]
a = add
ap = add --patch
b = branch
c = commit
co = checkout
d = diff
f = fetch
la = log --graph --decorate --pretty=oneline --abbrev-commit --all
l = log --pretty=format:'%Cred%h%Creset - %<|(60)%C(bold)%s%Creset %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
@huseyin
huseyin / ignore
Created April 7, 2017 23:51 — forked from roktas/ignore
Genel gitignore dosyası (~/.config/git/ignore)
.\#*
*~
\#*
*.bak
.*.d
*.orig
*.rej
*.sw
.*.sw[a-z]
*.swp