- css
- flexbox, online - https://flexboxfroggy.com/
- selectors, online - https://flukeout.github.io/
- concurrency, c#, online - https://deadlockempire.github.io/
- git
- offline - https://ohmygit.org/
- online - https://learngitbranching.js.org/
- regex
- online - https://regexcrossword.com/
- online - https://alf.nu/RegexGolf
View tool-games.md
View bash-prompt.sh
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 | |
if [[ ! -f $(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh ]]; then | |
echo "installing first time bash-git-prompt" | |
brew install bash-git-prompt | |
fi | |
if [[ -f $(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh ]]; then | |
__GIT_PROMPT_DIR=$(brew --prefix)/opt/bash-git-prompt/share |
View convert-pdf-ocr.sh
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 | |
set -ex | |
function convertPdf(){ | |
local file=$1 | |
set -e | |
echo $file |
View anonymize.pl
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
#!perl | |
use strict; | |
use warnings; | |
$| = 1; | |
# use module | |
use XML::Simple; | |
use Data::Dumper; |
View keybase.md
Keybase proof
I hereby claim:
- I am lkwg82 on github.
- I am lkwg82 (https://keybase.io/lkwg82) on keybase.
- I have a public key ASBl04qbPsRW33q1X66G9v8NXX7ILxphWXuhkU5ZY7Dxvgo
To claim this, I am signing this object:
View Readme.md
Summary:
Have developer friendly wrapper for openshift with an application-centric perspective.
Rationale:
Avoid steep learning curve to initial learn oc ....
commands and concepts. Enable self-service by design.
Goals:
View SimplestEmbeddedKafkaIT.java
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 static java.util.concurrent.TimeUnit.MILLISECONDS; | |
import static org.assertj.core.api.Assertions.assertThat; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.concurrent.ExecutionException; | |
import org.junit.ClassRule; |
View AccessLogAutoConfiguration.java
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 org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer; | |
import org.springframework.boot.context.embedded.tomcat.TomcatContextCustomizer; | |
import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory; | |
import org.springframework.cloud.sleuth.Tracer; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import ch.qos.logback.access.tomcat.LogbackValve; | |
import ch.qos.logback.core.util.ContextUtil; | |
import lombok.extern.slf4j.Slf4j; |
View gist:9c8a86f16a89fa657ac5
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
$ npm install | |
npm http GET http://registry.npmjs.org/grunt-contrib-concat | |
npm http GET http://registry.npmjs.org/grunt-contrib-clean | |
npm http GET http://registry.npmjs.org/grunt-contrib-copy | |
npm http GET http://registry.npmjs.org/grunt | |
npm http GET http://registry.npmjs.org/grunt-contrib-cssmin | |
npm http GET http://registry.npmjs.org/grunt-contrib-watch | |
npm http GET http://registry.npmjs.org/grunt-filerev | |
npm http GET http://registry.npmjs.org/grunt-contrib-htmlmin | |
npm http GET http://registry.npmjs.org/grunt-filerev-replace |
View gist:5846675
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 | |
g=gphoto2 | |
function cap(){ | |
$g --capture-image-and-download | |
} | |
function config() | |
{ |