Skip to content

Instantly share code, notes, and snippets.

@ArloL
ArloL / Questions.markdown
Created Dec 20, 2016
Effortful Retrieval Questions for Allison Kaptur - Effective Learning for Programmers
View Questions.markdown

Effective Learning for Programmers

https://www.youtube.com/watch?v=Mcc6JEhDSpo

  1. What are the two mindsets towards intelligence?
  2. What is the problem with praise for being smart?
  3. What are the responses to confusion with the two mindsets?
  4. What mindset does the concept of a 10x engineer typically follow?
  5. How do you identify a fixed mindset?
  6. How do you change a fixed mindset?
@ArloL
ArloL / DemoApplication.java
Last active Nov 24, 2015
Demonstrate how to pass parameters to Spring Boot Application via Servlet Context Parameters
View DemoApplication.java
package com.example;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.web.SpringBootServletInitializer;
@ArloL
ArloL / Questions.markdown
Created Oct 25, 2015
Effortful Retrieval Questions on The CAP FAQ
View Questions.markdown

The CAP FAQ

https://github.com/henryr/cap-faq

  • What's the relationship between CAP and performance?
  • What does CAP mean to me as an engineer?
  • What's the relationship between CAP and ACID?
  • What does CAP stand for?
  • What does Availability in CAP stand for?
  • What does Consistency in CAP stand for?
View gist:ba77b0d4208c7fea1a4e
Oct 23 08:57:12 server2.dev.rz.evosec.de java[6411]: Oct 23, 2015 8:57:12 AM hudson.model.UpdateSite updateData
Oct 23 08:57:12 server2.dev.rz.evosec.de java[6411]: SEVERE: ERROR: Signature verification failed in update site &#039;default&#039; <a href='#' class='showDetail>(show details)</a><pre style='display:none'>java.security.cert.CertPathValidatorException: Algorithm constraints check failed: MD5withRSA<br> at sun.secury.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)<br> at sun.security.provider.certpath.PKIXCertPathValidator.lidate(PKIXCertPathValidator.java:219)<br> at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)<br> at s.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)<br> at java.security.cert.CertPathValidator.validate(CertPaValidator.java:292)<br> at org.jvnet.hudson.crypto.CertificateUtil.validatePath(CertificateUtil
@ArloL
ArloL / gist:69d40f1fd21cf1749986
Created Oct 23, 2015
Diff of jre/lib/security/java.security in Oracle JDK 8u60 and 8u66
View gist:69d40f1fd21cf1749986
server2:/opt # diff jdk1.8.0_60/jre/lib/security/java.security jdk1.8.0_66/jre/lib/security/java.security
591a592,648
>
> # The pre-defined default finite field Diffie-Hellman ephemeral (DHE)
> # parameters for Transport Layer Security (SSL/TLS/DTLS) processing.
> #
> # In traditional SSL/TLS/DTLS connections where finite field DHE parameters
> # negotiation mechanism is not used, the server offers the client group
> # parameters, base generator g and prime modulus p, for DHE key exchange.
> # It is recommended to use dynamic group parameters. This property defines
@ArloL
ArloL / Questions.markdown
Last active Jul 24, 2016
Effortful Retrieval Questions for Where Next? Building a Career as a Technologist
View Questions.markdown

Where Next? Building a Career as a Technologist

http://www.infoq.com/presentations/career-ideal-job

  1. What are possible dimensions of an ideal job?
  2. What are possible dimensions of an ideal job culture?
  3. After what time does a commute influence happiness?
  4. What are different "tracks" that you can follow?
  5. What are some interesting alternatives to a "job" career?
  6. What are ways to get better?
@ArloL
ArloL / Questions.markdown
Last active Nov 22, 2015
Effortful Retrieval Questions for Clojure for the Brave and True
View Questions.markdown

Clojure for the Brave and True

http://www.braveclojure.com/

Building, Running, and The REPL

  • What is Clojure?
  • What is Leiningen?
  • What is a lisp?
  • How to create a project layout with Leiningen?
@ArloL
ArloL / Questions.markdown
Last active Jul 24, 2016
Effortful Retrieval Questions for Julie Pagano's It's Dangerous to Go Alone
View Questions.markdown
@ArloL
ArloL / Questions.markdown
Last active Jul 24, 2016
Effortful Retrieval Questions for Writing Robust Bash Shell Scripts
View Questions.markdown

Writing Robust Bash Shell Scripts

http://www.davidpashley.com/articles/writing-robust-shell-scripts/

  1. How can you tell bash to exit when a variable is unitialised?
  2. How can you tell bash to exit when a command fails?
  3. How can you execute a command that fails in that scenario?
  4. How can you tell bash to exit when a pipe command fails?
  5. How do you create a directory?
  6. How do you delete a file?
@ArloL
ArloL / gist:2c22f68f8d63bb4497f6
Created Jun 30, 2015
Oomph proxy error message
View gist:2c22f68f8d63bb4497f6
!SESSION 2015-06-30 13:46:11.327 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @none
!ENTRY org.eclipse.oomph.base 2 0 2015-06-30 13:49:28.495
!MESSAGE org.eclipse.oomph.util.IOExceptionWithCause: HttpComponents connection error response code 503.
!STACK 0