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
willyaguirre at MacBook-Pro-de-Willy in ~/Documents/reaction on master | |
$ reaction | |
Using settings file at settings/dev.settings.json | |
Setting up plugin imports... | |
Setting up style imports... |
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
netstat -nlp|grep 8080 | |
kill -9 {PID} |
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
import com.fasterxml.jackson.databind.ObjectMapper; | |
import okhttp3.HttpUrl; | |
import okhttp3.OkHttpClient; | |
import okhttp3.Request; | |
import okhttp3.Response; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map; | |
import java.util.concurrent.TimeUnit; |
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 com.culqi.util; | |
import com.culqi.Culqi; | |
import com.culqi.model.Config; | |
import okhttp3.*; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map; | |
import java.util.concurrent.TimeUnit; |
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
http://doc.scalingo.com/languages/scala/scalatra/getting-started-with-scalatra/ | |
http://stackoverflow.com/questions/13955230/scala-build-with-sbt-cannot-import-java-classes | |
http://www.smartjava.org/content/tutorial-getting-started-scala-and-scalatra-part-ii | |
https://gist.github.com/lstoll/1209277 | |
http://scalatra.org/2.4/guides/deployment/heroku.html |
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
python -c 'import platform; print(platform.linux_distribution())' | |
('"elementary"', '0.4', 'loki') | |
/mozilla-central/python/mozboot/mozboot/bootstrap.py | |
DEBIAN_DISTROS = ( | |
'Debian', | |
'debian', | |
'Ubuntu', | |
# Most Linux Mint editions are based on Ubuntu. One is based on Debian. |
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
<?php | |
require 'vendor/autoload.php'; | |
use Culqi\Culqi; | |
$SECRET_API_KEY = '{LLAVE SECRETA}'; | |
$culqi = new Culqi(array('api_key' => $SECRET_API_KEY)); | |
$csv = fopen('cargos.csv', 'w'); |
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
<?php | |
$applicationKey = '5F5C418A0F914BBC8234A9BF5EDDAD97'; | |
$applicationSecret = 'JViE5vDor0Sw3WllZka15Q=='; | |
$ts = '2014-06-04T13:41:58Z'; | |
$resource = '/v1/sms/+46700000000'; | |
$timestamp = new DateTime($ts); | |
$body = [ |
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
cd /usr/share/applications | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Android Studio | |
Comment=Android IDE | |
Exec=/home/culqi/android-studio/bin/studio.sh | |
Icon=/home/culqi/android-studio/bin/studio.png | |
Terminal=false | |
Type=Application |
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
/* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |