Skip to content

Instantly share code, notes, and snippets.

View ljcp's full-sized avatar
🎯
Focusing

Luis ljcp

🎯
Focusing
  • Canada|Costa Rica
View GitHub Profile
@ljcp
ljcp / Test.java
Last active June 19, 2019 21:31
Programa simple para conectarse a Mongo DB
import com.mongodb.Mongo;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import com.mongodb.DBCursor;
import com.mongodb.WriteConcern;
public class Test {
Verifying my Blockstack ID is secured with the address 1BAp4gnyr9qqD3qF9MHy642FfPJD2xs5s3 https://explorer.blockstack.org/address/1BAp4gnyr9qqD3qF9MHy642FfPJD2xs5s3
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update
object UserService extends RestHelper with Logger {
def init(){
LiftRules.statelessDispatch.append(UserService)
}
serve {
case "user" :: Nil JsonPost json -> _ => {
@ljcp
ljcp / testgits1
Created January 24, 2013 16:13
Test Gist 1
holalaa sda sd
dfgasd
sdf