This file contains hidden or 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
#Load keyboard layout. | |
loadkeys trq | |
#Establish internet connection through wifi. | |
wifi-menu | |
#Establish internet connection through ethernet. | |
dhcpcd | |
#Test internet connection. |
This file contains hidden or 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
<scheme name="Material Solarized Darker" version="142" parent_scheme="Darcula"> | |
<option name="FONT_SCALE" value="1.0" /> | |
<metaInfo> | |
<property name="created">2018-11-23T22:01:58</property> | |
<property name="ide">idea</property> | |
<property name="ideVersion">2018.3.0.0</property> | |
<property name="modified">2018-11-23T22:02:00</property> | |
<property name="originalScheme">Material Solarized Darker</property> | |
</metaInfo> | |
<option name="CONSOLE_FONT_NAME" value="Source Code Pro Semibold" /> |
This file contains hidden or 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/sh | |
find . -type f -printf "%f\n" | xargs -I@ sh -c "mv @ file-@" |
This file contains hidden or 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 | |
date +"%B, %d, %Y" |
This file contains hidden or 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 | |
function print_spinner { | |
for item in "$@" | |
do | |
echo -n "$item" # Print without newline. | |
sleep 0.2 # Wait 0.2 seconds. | |
echo -ne "\b" # Erase previous character. | |
done | |
} |
This file contains hidden or 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 | |
col=0 | |
line=0 | |
# $1 -> Count | |
# $2 -> Char | |
function put_n_chars { | |
# Read $1 amount of characters from /dev/zero | |
# Replace them with $2 |
This file contains hidden or 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 | |
# Exit when any command fails | |
set -e | |
function log() { | |
echo "$(tput setaf 2)==> $(tput setaf 7)$@" | |
} | |
log 'Checking for SSH key.' |
This file contains hidden or 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
{ | |
"basics": { | |
"email": "[email protected]", | |
"label": "DevOps Engineer", | |
"location": { | |
"city": "İzmir", | |
"countryCode": "TR" | |
}, | |
"name": "Ahmetcan Güvendiren", | |
"profiles": [ |