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 | |
############################################################ | |
# Usage # | |
############################################################ | |
usage() | |
{ | |
# Display Help | |
echo "" |
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
// Default Preferences.sublime-settings | |
{ | |
"ignored_packages": | |
[ | |
"Vintage", | |
], | |
"font_face": "Consolas", | |
"font_size": 16, | |
"match_brackets_angle": true, | |
"save_on_focus_lost": true, |
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
<?php | |
/** | |
* WordPress basically doesn't support how many views a post has. Therefore, we need to undertake our own implementation. | |
* | |
**/ | |
require_once get_stylesheet_directory() . '/postview_log.php'; | |
PostViewLog::get_instance(); |
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
ffmpeg -i input.mov -c:v libx264 -profile:v main -vf format=yuv420p -c:a aac -movflags +faststart output.mp4 | |
ffmpeg -i input.mov -acodec libvorbis -b:a 96k -ac 2 -vcodec libvpx -b:v 400k -f webm output.webm |
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
docker container rm -f $(docker ps -aq) && docker volume prune | |
docker-compose down && docker-compose up | |
docker-compose up --build |
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
kubectl get pods -n your_namespace | grep Evicted | awk '{print $1}' | xargs kubectl delete pod -n your_namespace | |
kubectl describe service ingress-nginx-controller -n ingress-nginx | |
kubectl get ingress --all-namespaces | |
kubectl get svc --all-namespaces | |
kubectl get deployment --all-namespaces |
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
<html> | |
<head> | |
<style> | |
.thumbnail{ | |
position: relative; | |
overflow: hidden; | |
padding-bottom: 56%; | |
} | |
.thumbnail img{ | |
position: absolute; |