Boot up with an Fedora Live USB stick.
- Run
vgsto check if there's any space:
$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
fedora 1 3 0 wz--n- <237.28g 0 | #!/bin/sh | |
| # Cleanup | |
| rm list.txt | |
| rm output.mp4 | |
| # Rename files with spaces | |
| find . -type f -name "* *.mp4" -exec bash -c 'mv "$0" "${0// /_}"' {} \; | |
| # First we need to get an MP4 files with Video and Audio combiled |
| https://github.com/mathiasbynens/dotfiles/commit/398496c2372d65c0e6770d02b0c5b49c0d636f31 |
| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| ) | |
| var ( | |
| EARTH_RADIUS = 6378100.0 | |
| ) |
If you are looking for a basic WiFi scanner for macOS then the command line airport utility may fit your needs.
The utility is located at:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport
Typing the above command path can be avoided by creating a symbolic link to the command in /user/sbin/ by copying and pasting below into a terminal window.
`sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport`
This will allow you to simply type airport in the terminal window to execute the command.
| First, install need stuff | |
| $ apt-get install php5-cgi autoconf automake autotools-dev curl libapr1 libtool curl libcurl4-openssl-dev php-pear php-xml-parser php5 php5-cli php5-common php5-curl php5-dev php5-gd php5-sqlite php5-fpm | |
| To generate private (dummy) certificates you can perform the following list of openssl commands. | |
| First change directory to where you want to create the certificate and private key, for example: | |
| $ cd /usr/local/nginx/conf | |
| Now create the server private key, you'll be asked for a passphrase: | |
| $ openssl genrsa -des3 -out server.key 1024 |
| # This is the complete example of nginx configuration file for ownCloud 5 | |
| # This config file configures proper rewrite rules for the new release of ownCloud | |
| # Also, this config file configures nginx to listen on both IPv4 and IPv6 addresses | |
| # If you want it to listen to IPv4 address only, use listen 80; instead of listen [::]:80 | |
| # First, we configure redirection to HTTPS (substitue owncloud.example.com with the proper address of your OC instance) | |
| server { | |
| listen 80; | |
| server_name bla-bla; |
| echo "Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)" | |
| defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 | |
| echo "Enable subpixel font rendering on non-Apple LCDs" | |
| defaults write NSGlobalDomain AppleFontSmoothing -int 2 | |
| echo "Make Dock icons of hidden applications translucent" | |
| defaults write com.apple.dock showhidden -bool true | |
| echo "Enable highlight hover effect for the grid view of a stack (Dock)" |