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
" Required packages: vim-syntastic flake8 | |
syntax on | |
filetype plugin on | |
filetype indent on | |
set hlsearch | |
set nowrap | |
set number | |
" save file as root |
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
public java.lang.String toString() { | |
#if ( $members.size() > 0 ) | |
#set ( $i = 0 ) | |
return "{\"_class\":\"$classname\", " + | |
#foreach( $member in $members ) | |
#set ( $i = $i + 1 ) | |
#if ( $i == $members.size() ) | |
#set ( $postfix = "+" ) | |
#else | |
#set ( $postfix = "+ "", "" + " ) |
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
scoop install git | |
scoop bucket add java | |
scoop bucket add extras | |
:: essentials | |
scoop install 7zip \ | |
openjdk11 \ | |
maven \ | |
vscode \ |
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 | |
function mvn() { | |
if [ "$1" = "i" ]; then | |
command mvn install | |
else | |
command mvn $@ | |
fi | |
} |
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
{ | |
"homepage": "https://prnt.sc", | |
"license": { | |
"identifier": "Freeware", | |
"url": "https://app.prntscr.com/en/license.html" | |
}, | |
"url": "https://app.prntscr.com/build/setup-lightshot.exe", | |
"hash": "455b17124a474bfa512580ba9bcd275dc8e1119482ad604b83b3cb5611a6f73f", | |
"version": "5.4.0.35", | |
"extract_dir": "lightshot", |
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
:: chocolatey install | |
powershell -c "Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" | |
:: scoop install | |
powershell -c "Set-ExecutionPolicy RemoteSigned -scope CurrentUser; iex (new-object net.webclient).downloadstring('https://get.scoop.sh')" | |
choco feature enable -n allowGlobalConfirmation | |
:: essentials | |
choco install openjdk |
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
@Configuration | |
@ConditionalOnClass(ObjectMapper.class) | |
public class SquigglyAutoconfigure { | |
@Bean | |
public FilterRegistrationBean squigglyRequestFilter(ObjectMapper objectMapper) { | |
Squiggly.init(objectMapper, new RequestSquigglyContextProvider()); | |
FilterRegistrationBean<SquigglyRequestFilter> filter = new FilterRegistrationBean<>(); |
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
setx LC_ALL C.UTF-8 |
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/sh - | |
# idiomatic parameter and option handling in sh | |
while test $# -gt 0 | |
do | |
case "$1" in | |
--opt1) echo "option 1" | |
;; | |
--opt2) echo "option 2" | |
;; |
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
ln /c/dev/repos/vv-jornada-core-ngx/dist/ ./ | |
link /c/dev/repos/vv-jornada-core-ngx/package.json ./package.json | |
mklink "package.json" "C:\dev\repos\vv-jornada-core-ngx\package.json" | |
mklink /d "dist" "C:\dev\repos\vv-jornada-core-ngx\dist\" |
NewerOlder