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
# | |
# Install Docker Oracle Linux 7 | |
# based on https://blogs.oracle.com/hlsu/install-docker-on-oracle-linux-7 | |
# | |
# Preparation | |
sudo yum install -y vim | |
# cd /etc/yum.repos.d/ | |
# curl -O http://yum.oracle.com/public-yum-ol7.repo |
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 | |
# prepare envirionment | |
sudo apt-get install tmux vim sudo | |
add `username` to `sudo` group | |
usermod -aG sudo `username` | |
# compiled from https://docs.docker.com/engine/installation/linux/debian/#/debian-jessie-80-64-bit |
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
-bash-4.1$ gdb | |
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-75.el6) | |
Copyright (C) 2010 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-redhat-linux-gnu". | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>. |
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
set CLASSPATH=%CLASSPATH;fop\fop-2.2.jar;fop\avalon-framework-api-4.3.1.jar;fop\avalon-framework-impl-4.3.1.jar;fop\commons-logging-1.0.4.jar;fop\commons-io-1.3.1.jar;fop\fontbox-2.0.4.jar;fop\xmlgraphics-commons-2.2.jar | |
java org.apache.fop.fonts.apps.TTFReader arial.ttf arial.xml | |
java org.apache.fop.fonts.apps.TTFReader DejaVuSans.ttf DejaVuSans.xml | |
java org.apache.fop.fonts.apps.TTFReader DejaVuSans-Bold.ttf DejaVuSans-Bold.xml | |
java org.apache.fop.fonts.apps.TTFReader DejaVuSans-BoldOblique.ttf DejaVuSans-BoldOblique.xml | |
java org.apache.fop.fonts.apps.TTFReader DejaVuSans-Oblique.ttf DejaVuSans-Oblique.xml |
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
# Oracle Linux 6.* there is no support for the tmux, but I really like tmux. | |
# | |
# based on https://gist.github.com/jelsas/864090 | |
#remap Ctrl+A to Ctrl+B | |
escape ^Bb | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' |
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
// | |
// main.cpp | |
// luxoft quiz application | |
// | |
// Created by Yaroslav Fedorov on 24/02/2017. | |
// Copyright © 2017 Yaroslav Fedorov. All rights reserved. | |
// | |
// | |
// LUXOFT task for C++ Russia 2017 contest |
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
Ctrl + a : move to start | |
Ctrl + e : move to end | |
Ctrl + xx : switch to start and back | |
Ctrl + w : cut left word to clipboard | |
Ctrl + k : cut from cursor to right to clipboard | |
Ctrl + u : cut from cursor to left to clipboard | |
Ctrl + y : paste | |
Ctrl + _ : undo |
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
-- | |
-- Yaroslav Fedorov <[email protected]> | |
-- 11/14/2016 | |
-- URL (http://indy-world.net/2016/11/cisco-anyconnect-secure-mobility-client-on-macos-autofill-password-and-connect-apple-script-version-2-0/) | |
set userLoginName to "<<user_login>>" | |
set keychainRecordName to "cisco_any_connect_auth" | |
set serverUri to "vpn.company.com" | |
on getPassword(keychainItemName) |
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
-- | |
-- for command line osascript ./vpn_run.scpt and add permission to "security & privacy" | |
-- | |
activate application "Cisco AnyConnect Secure Mobility Client" | |
tell application "System Events" | |
repeat until window 1 of process "Cisco AnyConnect Secure Mobility Client" exists | |
end repeat | |
tell process "Cisco AnyConnect Secure Mobility Client" | |
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
Homebrew build logs for tesseract on Mac OS X 10.11.6 | |
Build date: 2016-09-13 10:13:25 |