-
Kinesis Freestyle (Terrible key switches. Mushy and un-lovable)
-
Kinesis Freestyle Edge (Traditional layout with too many keys, mech switches, proably too big to be tented easily/properly)
-
Matias Ergo Pro (Looks pretty great. Have not tried.)
-
ErgoDox Kit (Currently, my everyday keyboard. Can buy pre-assembled on eBay.)
-
ErgoDox EZ (Prolly the best option for most people.)
This file contains hidden or 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
class ContextValidation(private val validator: FormValidator) : DefaultValidation(validator) { | |
fun whenBrazil(conditions: BrazilValidations.() -> Unit) { | |
if (isBrazilApp()) BrazilValidations(validator).conditions() | |
} | |
fun whenColombia(conditions: ColombiaValidations.() -> Unit) { | |
if (isColombiaApp()) ColombiaValidations(validator).conditions() | |
} |
This file contains hidden or 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 br.com.ngi.ginga.business.util.seq; | |
/** | |
* Copyright (C) 2015 - NG Informática | |
* | |
* @author Marcelo Camargo | |
* @since 08/12/2015 | |
*/ | |
public interface Function<Ret, Arg> { | |
Ret call(Arg arg); |
This file contains hidden or 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/ruby | |
require 'rubygems' | |
require 'open-uri' | |
require 'nokogiri' | |
SEARCH_URL = 'http://www.ofertaesperta.com/?ContentViewMode=Search&Search=ps4' | |
doc = Nokogiri::HTML(open(SEARCH_URL)) | |
rows = doc.css('.oferta-title h4').select { |h4| h4.text =~ /Console/ } |
This file contains hidden or 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 take the simplest example possible... our beloved `ArrayAdapter`. | |
*/ | |
adapter = new ArrayAdapter<>(context, android.R.layout.simple_list_item_1, arrayOrList); | |
listView.setAdapter(adapter); | |
// becomes | |
Adapt.with(context, android.R.layout.simple_list_item_1) | |
.load(arrayOrList) | |
.into(listView); // or `.build()` when we need to store the adapter for later use |
This file contains hidden or 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 class MainActivity extends FragmentActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
View header = getLayoutInflater().inflate(R.layout.sections, null); | |
assert header != null; |