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
let mapleader = " " | |
" Fast saving with leader w | |
nmap <leader>w :w!<cr> | |
" Disable highlight when <leader><cr> is pressed | |
map <silent> <leader><cr> :noh<cr> | |
" Smart way to move between windows | |
map <C-j> <C-W>j |
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
" When started as "evim", evim.vim will already have done these settings. | |
if v:progname =~? "evim" | |
finish | |
endif | |
" Bail out if something that ran earlier, e.g. a system wide vimrc, does not | |
" want Vim to use these default values. | |
if exists('skip_defaults_vim') | |
finish | |
endif |
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
source ~/.vimrc_base | |
source ~/.vimrc_remaps_common | |
set easymotion | |
set nerdtree | |
set commentary | |
set ideajoin | |
set ideastatusicon=gray | |
set idearefactormode=keep | |
set highlightedyank |
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
source ~/.vimrc_base | |
source ~/.vimrc_remaps_common | |
" ----- Ideavim specific | |
set easymotion | |
set nerdtree | |
set commentary | |
set ideajoin | |
set ideastatusicon=gray | |
set idearefactormode=keep |
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
#!/usr/bin/env python3 | |
import subprocess | |
import paramiko | |
FIREWALL_IPS = [IPs DA(S) FIREWALL(S)] | |
SSH_USERNAME = "user" | |
SSH_PASSWORD = "password" | |
ADDRESS_GROUP_NAME = "BLACKLIST" | |
FIREWALL_RULESET_NAME = "BLACKLIST-RULESET" |
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
Package_name: | |
pt.pingodoce | |
Allow_backup: | |
false | |
Debuggable: | |
None | |
Test_only: |
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 xml.etree.ElementTree as ET | |
import sys | |
def parse(file_path): | |
tree = ET.parse(file_path) | |
root = tree.getroot() | |
ns = {"android": "http://schemas.android.com/apk/res/android"} | |
package_name = root.attrib["package"] |
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
using System; | |
using System.Runtime.InteropServices; | |
namespace RotateScreen { | |
internal static class Program { | |
public static void Main(string[] args) { | |
Rotate(2, DisplayOrientation.DEG0); | |
} | |
private enum DisplayOrientation { |
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
package drawing; | |
public abstract class BaseChart implements IChart { | |
ColorImage chart; | |
Color entryColor; | |
int entryWidth; | |
int gapBetweenEntries; | |
BaseChart(int chartWidth, int chartHeight) { | |
this.chart = new ColorImage(chartWidth, chartHeight); |