Skip to content

Instantly share code, notes, and snippets.

View gkmngrgn's full-sized avatar
🎮
Can you hear me?

Gökmen Görgen gkmngrgn

🎮
Can you hear me?
View GitHub Profile
diff --git a/python/PKGBUILD b/python/PKGBUILD
index 7c25ff2..00f60de 100644
--- a/python/PKGBUILD
+++ b/python/PKGBUILD
@@ -11,7 +11,8 @@ license=('PSF')
url="http://www.python.org"
depends=('db>=4.8' 'bzip2' 'gdbm' 'openssl>=0.9.8d' 'zlib' 'expat' 'sqlite3>=3.6.15-2')
#makedepends=('tk>=8.5.0')
-optdepends=('tk: for IDLE, pynche and modulator')
+optdepends=('tk: for IDLE, pynche and modulator'
@gkmngrgn
gkmngrgn / fibonacci.erl
Created September 22, 2011 23:24
fibonacci in erlang & python
-module(fibonacci).
-export([calculate/1]).
fibonacci(_, _, Count, Count) ->
ok;
fibonacci(A, B, Num, Count) ->
io:format("~w~n", [A]),
fibonacci(B, A + B, Num, Count + 1).
calculate(Number) ->
@gkmngrgn
gkmngrgn / gist:1239328
Created September 24, 2011 13:33
jitsu error
[gokmen ~ gMac] [alageek]> jitsu deploy
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Authenticated as gokmen
info: Analyzing your application dependencies in app.js
warn: Local version appears to be old.
warn: Your package.json version will be incremented for you automatically.
warn: About to write /Users/gokmen/Repositories/github/alageek/alageek/package.json
data:
@gkmngrgn
gkmngrgn / gist:1239333
Created September 24, 2011 13:35
macosx information
Hardware Overview:
Model Name: iMac
Model Identifier: iMac10,1
Processor Name: Intel Core 2 Duo
Processor Speed: 3.06 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 3 MB
Memory: 4 GB
@gkmngrgn
gkmngrgn / HelloCoffeeTest.coffee
Created October 11, 2011 08:28
Coffee Compilation
# Copyright (c) 2011, the <your_company> project authors. Please don't see the
# AUTHORS file for details. All rights reserved. Use of this source code is
# governed by a BSD-style license that can be found in the LICENSE file.
# Simple test program invoked with an option to eagerly
# compile all code that is loaded in the isolate.
# VMOptions=--fuu_dart
class HelloCoffeeTest
test_main: ->
console.log "Hello, Coffee man!"
data = dict(document=document)
if share:
data.update(dict(share=share))
else:
data.update(dict(user=request.user))
gokmen@rodosto advimage % git st
?? img/
gokmen@rodosto advimage % touch img/hede
gokmen@rodosto advimage % git add img/hede
gokmen@rodosto advimage % git st
A img/hede
?? img/
gokmen@rodosto advimage % rm -rf img
gokmen@rodosto advimage % git st
AD img/hede
(venv)gokmen@rodosto advimage % git status
# On branch feature/github-197
# Your branch is ahead of 'origin/feature/github-197' by 1 commit.
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# img/
nothing added to commit but untracked files present (use "git add" to track)
(venv)gokmen@rodosto advimage % git status img/sample.gif
# On branch feature/github-197
# Your branch is ahead of 'origin/feature/github-197' by 1 commit.
#
nothing to commit (working directory clean)
(venv)gokmen@rodosto advimage % git diff img/sample.gif
(venv)gokmen@rodosto advimage % git diff --cached img/sample.gif
(venv)gokmen@rodosto advimage % git fsck
dangling blob cf2d7699c6f20728bf126c8af08e7874a84b8696
dangling blob d3984ca1d5e1fa04404305b55f51a7a73ee2e0a4
(venv)gokmen@rodosto advimage % git show cf2d7699c6f20728bf126c8af08e7874a84b8696
img
(venv)gokmen@rodosto advimage % git show d3984ca1d5e1fa04404305b55f51a7a73ee2e0a4
img/