Skip to content

Instantly share code, notes, and snippets.

View dev1lsconf's full-sized avatar
😈

dev1ls dev1lsconf

😈
View GitHub Profile

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@dev1lsconf
dev1lsconf / redirect.html
Created April 7, 2022 07:05 — forked from fuzzmz/redirect.html
HTML redirect
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com">
</head>
<body>
Optional page text here.
</body>
</html>
@dev1lsconf
dev1lsconf / index.html
Created March 20, 2022 07:47
Netflix Intro Animation Pure CSS
<div id="container">
<!-- Edit the letter attr to: N, E, T, F, L, I or X -->
<netflixintro letter="D">
<div class="helper-1">
<div class="effect-brush">
<span class="fur-31"></span>
<span class="fur-30"></span>
<span class="fur-29"></span>
<span class="fur-28"></span>
<span class="fur-27"></span>
@dev1lsconf
dev1lsconf / gist:8521db1fac54cdce1a3b83b1557d1b33
Created February 4, 2022 22:23 — forked from taigetco/gist:7446001
17 Command Line Tools to Monitor Linux Performance
17 Command Line Tools to Monitor Linux Performance
1. Top – Linux Process Monitoring
used to dipslay all the running and active real-time processes in ordered list and updates it regularly. It display CPU usage, Memory usage, Swap Memory, Cache Size, Buffer Size, Process PID, User, Commands and much more. It also shows high memory and cpu utilization of a running processess.
2. VmStat – Virtual Memory Statistics
used to display statistics of virtual memory, kernerl threads, disks, system processes, I/O blocks, interrupts, CPU activity and much more.
3. Lsof – List Open Files
used to display list of all the open files and the processes.
@dev1lsconf
dev1lsconf / gist:aa37f38de29645293387a3d61d3a3c70
Created January 22, 2022 12:27 — forked from fduran/gist:4271967
Apache Redirect Subdomain to port
# www.fduran.com
# redirect from apache port (:8080 for ex for tomcat etc) to subdomain
# in apache config:
<VirtualHost *:80>
ServerName subdomain.example.com
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>