This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JALE | |
ALİ | |
MAHMUT | |
MANSUR KÜRŞAD | |
GAMZE | |
MİRAÇ | |
YÜCEL | |
KUBİLAY | |
HAYATİ | |
BEDRİYE MÜGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Sometimes my mac's fans run loud because CMFSyncAgent and sharingd processes are consuming high amount of CPU. | |
# This script watches the processes and kills them. Stop this script if you want to use AirDrop | |
# Kill CMFSyncAgent if it consumes more than 70% cpu | |
# Kill sharingd if it consumes more than 30% cpu | |
# | |
while true | |
do | |
ps aux | grep CMFSyncAgent | awk '$3>70 {print $2}' | xargs kill -9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ -z "$1" ] | |
then | |
echo "No argument supplied. Usage: add-requirement Django" | |
fi | |
FILE="requirements.txt" | |
if [ -f $FILE ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fish_prompt --description 'Write out the prompt' | |
set -l laststatus $status | |
set -l git_info | |
if set -l git_branch (command git symbolic-ref HEAD 2>/dev/null | string replace refs/heads/ '') | |
set git_branch (set_color -o blue)"$git_branch" | |
set -l git_status | |
if not command git diff-index --quiet HEAD -- | |
if set -l count (command git rev-list --count --left-right $upstream...HEAD 2>/dev/null) |
OlderNewer