For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt:
| " vim.rc by Thomas Steinholz | |
| " ------------------------------------------------------------------------------ | |
| " ViM! | |
| " <Leader> : Space Key | |
| " F2 : Toggle Paste Mode | |
| " F3 : Undo Tree | |
| " F4 : Toggle Spell Check | |
| " F8 : New Tab | |
| " F9 : Previous Tab | |
| " F10 : Next Tab |
| # Locate Steamworks library | |
| # This module defines | |
| # STEAMWORKS_LIBRARY, the name of the library to link against | |
| # STEAMWORKS_INCLUDE_DIR, the directory containing steam/steam_api.h | |
| # STEAMWORKS_FOUND, if false, do not try to link to Steamworks | |
| # | |
| # If a path is set in the SteamworksDIR environment variable it will check there | |
| # | |
| # This has been tested on OS X | |
| # This may or may not with Linux - it should, but i think it could be broken easily |
My notes from implementing Job Vranish's excellent guide.
Follow along with the guide above, getting rustc from rustup or similar:
rustc 1.0.0-nightly (dcaeb6aa2 2015-01-18 11:28:53 +0000)
binary: rustc
commit-hash: dcaeb6aa23ecba2dc2af870668a9239136d20fa3
commit-date: 2015-01-18 11:28:53 +0000
| # Find the include directory which contains SDL.h | |
| FIND_PATH(SDL2_INCLUDE_DIR SDL.h HINTS $ENV{SDL2} PATH_SUFFIXES include/SDL2) | |
| # Find the library libSDL2.a | |
| FIND_LIBRARY(SDL2_LIBRARY SDL2 HINTS $ENV{SDL2} PATH_SUFFIXES lib) | |
| # Find the library libSDL2main.a | |
| FIND_LIBRARY(SDL2MAIN_LIBRARY SDL2main HINTS $ENV{SDL2} PATH_SUFFIXES lib) | |
| INCLUDE(FindPackageHandleStandardArgs) |
To remove a submodule you need to:
| /*-----------------------------------------------------------. | |
| / ColorBlind correction / | |
| '-----------------------------------------------------------*/ | |
| // Daltonize (source http://www.daltonize.org/search/label/Daltonize) | |
| // Modified to simulate color blindness. | |
| float4 Daltonize( float4 input, float2 tex ) | |
| { | |
| // RGB to LMS matrix conversion | |
| float3 L = (17.8824f * input.r) + (43.5161f * input.g) + (4.11935f * input.b); | |
| float3 M = (3.45565f * input.r) + (27.1554f * input.g) + (3.86714f * input.b); |
deprecated
for_window [class="^.*"] border pixel 1
new_window 1pixel
thanks to deviatorslegacy's comment
Document here:
https://i3wm.org/docs/userguide.html#_default_border_style_for_new_windows
| #!/bin/bash | |
| version=1.0.1 | |
| versionDate="2014-02-14" | |
| function showHelp() { | |
| echo "watchfile - monitor file(s)/command and perform action when changed | |
| Possible ways of usage | |
| ---------------------------------------- |
| // Converts degrees to radians. | |
| #define degreesToRadians(angleDegrees) (angleDegrees * M_PI / 180.0) | |
| // Converts radians to degrees. | |
| #define radiansToDegrees(angleRadians) (angleRadians * 180.0 / M_PI) |