Her komut ile ilgili yardımı komut satırından alabilirsiniz:
git help
git help add # git-add hakkında yardım
git help merge # git-merge hakkında yardım
on run | |
tell application "Finder" | |
set DesktopSize to bounds of window of desktop | |
set DesktopWidth to item 3 of DesktopSize | |
set DesktopHeight to item 4 of DesktopSize | |
end tell | |
tell application "TextMate" | |
activate | |
set WindowsList to (every window where visible is true) |
VERSION = \"1.0.0\" | |
PREFIX ?= out | |
INCDIR = inc | |
SRCDIR = src | |
LANG = c | |
OBJDIR = .obj | |
MODULE = binary_name | |
CC = gcc |
# ######################################################################### | |
# This bash script adds tab-completion feature to django-admin.py and | |
# manage.py. | |
# | |
# Testing it out without installing | |
# ================================= | |
# | |
# To test out the completion without "installing" this, just run this file | |
# directly, like so: | |
# |
task :default => [:menemen_yap] | |
task :menemen_yap => [:tereyag_al, :yumurta_al, :domates_al, :sivri_biber_al, :sahani_isit, :sebzeleri_pisir, :yumartayi_kir] do | |
puts "Menemen yapıyıyoruz" | |
end | |
task :tereyag_al => [:bakkala_git] do | |
puts "Tereyağı alıyoruz" | |
end |
#!/usr/bin/env bash | |
# | |
# Created by Uğur "vigo" Özyılmazel on 2017-04-26. | |
# Copyright (c) 2017 VB YAZILIM. All rights reserved. | |
set -e | |
set -o pipefail | |
usage() { | |
cat <<EOF |
I hereby claim:
To claim this, I am signing this object:
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
class PubSub(object): | |
""" | |
Very simple Pub/Sub pattern wrapper | |
using simplified Redis Pub/Sub functionality. | |
Usage (publisher):: | |
import redis | |
r = redis.Redis() |
#!/usr/bin/env python | |
import sys | |
import time | |
import argparse | |
import os | |
import json | |
import socketserver | |
from http.server import BaseHTTPRequestHandler |