Add executable file github
to local/bin PATH.
ln -s "/Applications/Github Desktop.app/Contents/MacOS/GitHub Desktop" /usr/local/bin/github
ln -s "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" /usr/local/bin/code
@echo off | |
echo Temizleniyor... | |
rd /s /q %userprofile%\AppData\Local\Temp\ | |
del /f /s /q %systemdrive%\*.tmp | |
del /f /s /q %systemdrive%\*._mp | |
del /f /s /q %systemdrive%\*.log | |
del /f /s /q %systemdrive%\*.gid | |
del /f /s /q %systemdrive%\*.chk | |
del /f /s /q %systemdrive%\*.old | |
del /f /s /q %systemdrive%\recycled\*.* |
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#003543", | |
"foreground": "#fff", | |
"powerline_symbol": "\ue0b0", |
aws ec2 describe-spot-price-history --start-time 2022-05-11T12:00:00 \
--filters "Name=instance-type,Values='t3.medium','t4g.medium','t3a.medium','t2.medium','c3.large','m4.large'" \
--product-description "Linux/UNIX" --query 'SpotPriceHistory[*].[AvailabilityZone,InstanceType,SpotPrice,Timestamp]' \
--output table --region us-east-1|sort -r +4
node: Platform built on V8 to build network applications | |
git: Distributed revision control system | |
wget: Internet file retriever | |
yarn: JavaScript package manager | |
python3: Interpreted, interactive, object-oriented programming language | |
coreutils: GNU File, Shell, and Text utilities | |
pkg-config: Manage compile and link flags for libraries | |
chromedriver: Tool for automated testing of webapps across many browsers | |
awscli: Official Amazon AWS command-line interface | |
automake: Tool for generating GNU Standards-compliant Makefiles |
curl -H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token <YOUR_GITHUB_TOKEN>" \
-H "Content-Length: 0" \
-X PUT \
https://api.github.com/orgs/EpicGames/public_members/devenes
A summary of what you need to know for the exam can be found here
IAAS
if [ $(cat /etc/os-release | awk -F '=' '/^ID=/ {print $2}' | cut -d '"' -f 2) = "amzn" ]; then | |
echo "Amazon Linux" | |
elif [ $(cat /etc/os-release | awk -F '=' '/^ID=/ {print $2}' | cut -d '"' -f 2) = "ubuntu" ]; then | |
echo "Ubuntu" | |
else | |
echo "Unsupported OS" | |
exit 1 | |
fi |
package main | |
import ( | |
"fmt" | |
"github.com/pbnjay/memory" | |
) | |
func main() { | |
fmt.Printf("Total system memory: %d GB\n", memory.TotalMemory()/1024/1024/1024) |
print('Happy Engineer\'s Day! 2022') | |
print('\n'.join | |
([''.join | |
([('Engineer'[(x-y) % 8] | |
if ((x*0.05)**2+(y*0.1)**2-1) | |
** 3-(x*0.05)**2*(y*0.1) | |
** 3 <= 0 else ' ') | |
for x in range(-30, 30)]) | |
for y in range(15, -15, -1)])) |