Shortcut | Description |
---|---|
ranger |
Start Ranger |
Q |
Quit Ranger |
R |
Reload current directory |
? |
Ranger Manpages / Shortcuts |
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 | |
# Simple script to handle a DIY shutdown menu. When run you should see a bunch of options (shutdown, reboot etc.) | |
# | |
# Requirements: | |
# - rofi | |
# - systemd, but you can replace the commands for OpenRC or anything else | |
# | |
# Instructions: | |
# - Save this file as power.sh or anything |
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 | |
#Downlaod .bash_colors (Ensure File Exists And Has Expected Content) | |
wget http://raw.github.com/maxtsepkov/bash_colors/master/bash_colors.sh -O .bash_colors | |
#Import Colors Script | |
#See Here For More Info - https://github.com/mercuriev/bash_colors | |
source .bash_colors | |
#Set Authentication Device (SD-Card) | |
MyDevice="/dev/mmcblk0" |
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
import pprint | |
import requests | |
import os | |
from urllib.request import urlopen | |
accessToken = "xxxxxxxxxx" | |
boardId = "0000000000" | |
folderPath = "./images" | |
response = requests.get( |
#My Notes on My First Snap Building Experience
Hi, I wanted to try building a Snap package, so from my experiment thought on leave what my wandering left me, lot's of this content is from the Ubuntu Desktop Developer website . The website has a nice getting started too! .
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
// This is meant to go along with Coder Radio Episode 204 | |
// Optional types in Swift 101 | |
struct JarJar { | |
var senateSpeach: String? // the '?' means messa might be nil and makes me an Optional type | |
func voteOfNoConfidence() { | |
// attempting to use the senateSpeach var but not setting it's value | |
let isSith = senateSpeach?.containsString("something something darkside") // senateSpeach is nil |
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
# -------------------------------------------------- | |
# Conky configuration | |
# Author: Leszek Pietrzak <smutnyleszek@gmail.com> | |
# Web: http://leszekpietrzak.com | |
# -------------------------------------------------- | |
# -------------------------------------------------- | |
# Settings | |
# -------------------------------------------------- |
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 | |
# play YUV444 FULL HD file | |
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ | |
videoparse width=1920 height=1080 framerate=25/1 format=GST_VIDEO_FORMAT_Y444 ! \ | |
videoconvert ! \ | |
autovideosink | |
# play YUV422 FULL HD file | |
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ |
:q[uit]