This file contains 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.fmpwizard.xyz.code | |
package lib | |
package search | |
import net.liftweb.common.{Loggable, Full, Box, Logger} | |
import com.twitter.finagle.ServiceFactory | |
import org.jboss.netty.handler.codec.http._ | |
import com.twitter.finagle.builder.ClientBuilder | |
import com.twitter.finagle.http.Http |
This file contains 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
(function(){ | |
'use strict'; | |
var app, dependencies; | |
dependencies = ['ngResource', 'ngRoute','myApp.services','myApp.controllers']; | |
app = angular.module('myApp', dependencies); | |
app.config( function( $routeProvider ){ |
This file contains 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
function MyController($scope, $resource) { | |
} | |
MyController.$inject = ['$scope', '$resource']; | |
myAppModule.controller('MyController', ['$scope','$resource', function($scope, $resource) { | |
}]); |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Panel de Administración</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
</head> | |
<body> |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>galleria.io</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> |
This file contains 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/local/bin/perl | |
use utf8; | |
use MongoDB; | |
use MongoDB::OID; | |
my %meses = ( | |
'01'=>'Enero', | |
'02'=>'Febrero', | |
'03'=>'Marzo', |
This file contains 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 code | |
package snippet | |
import net.liftweb._ | |
import common._ | |
import common.Full | |
import http._ | |
import http.RequestVar | |
import http.S._ |
This file contains 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 gspread | |
# Login with your Google account | |
gc = gspread.login('', '') | |
#You can open a spreadsheet by its title as it appears in Google Docs | |
sh = gc.open("Santix Loc") # <-- Look ma, no keys! | |
# By title | |
worksheet = sh.worksheet("Locs") |
This file contains 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 code.snippet | |
import net.liftweb.sitemap.Menu | |
import net.liftweb.util.Helpers._ | |
import net.liftweb.common._ | |
import code.model.User | |
import net.liftweb.sitemap._ | |
import scala.xml.Text | |
import net.liftweb.sitemap.Loc.LocGroup | |
import code.model.UserPost |
OlderNewer