Skip to content

Instantly share code, notes, and snippets.

View kiquetal's full-sized avatar
🎯
Focusing

Enrique\m/Talavera kiquetal

🎯
Focusing
  • <)
  • Paraguay
View GitHub Profile
git mergetool --tool=kdiff3
public static final int SC_CONTINUE = 100;
public static final int SC_SWITCHING_PROTOCOLS = 101;
public static final int SC_OK = 200;
public static final int SC_CREATED = 201;
public static final int SC_ACCEPTED = 202;
public static final int SC_NON_AUTHORITATIVE_INFORMATION = 203;
public static final int SC_NO_CONTENT = 204;
public static final int SC_RESET_CONTENT = 205;
public static final int SC_PARTIAL_CONTENT = 206;
public static final int SC_MULTIPLE_CHOICES = 300;
https://tr.opensuse.org/SDB:Access_to_Windows_Shares
@kiquetal
kiquetal / gist:9379a92684e43a178370529772f22fb6
Created February 20, 2017 13:38
swagger2 example definitions
swagger: '2.0'
paths:
/clientes:
get:
summary: Lista de clientes
responses:
'200':
description: Retorna todos los clientes.
schema:
type: array
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

Keybase proof

I hereby claim:

  • I am kiquetal on github.
  • I am kiquetal (https://keybase.io/kiquetal) on keybase.
  • I have a public key whose fingerprint is D813 DB40 42F3 4F1D 65ED EF10 B2C9 AD2F 1476 A554

To claim this, I am signing this object:

git rm -r --cached .
kotlinc hello.kt -include-runtime -d hello.jar
java -jar hello.jar
@kiquetal
kiquetal / DesignSupport.kt
Created October 10, 2017 12:19 — forked from mgranberry/DesignSupport.kt
A set of Anko-compatible extensions for Google's Material Design Support Library
fun ViewManager.appBarLayout(init: AppBarLayout.() -> Unit = {}) =
__dslAddView({ AppBarLayout(it) }, init, this)
fun ViewManager.collapsingToolbarLayout(init: CollapsingToolbarLayout.() -> Unit = {}) =
__dslAddView({ CollapsingToolbarLayout(it) }, init, this)
fun ViewManager.coordinatorLayout(init: CoordinatorLayout.() -> Unit = {}) =
__dslAddView({ CoordinatorLayout(it) }, init, this)
fun ViewManager.floatingActionButton(init: FloatingActionButton.() -> Unit = {}) =
openssl rsa -in server.key -text > private.pem
openssl x509 -inform PEM -in server.crt > public.pem
cat certificate cat > combined.pem