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
extends layout | |
block content | |
.container | |
.row | |
#tables.col-md-2(ng-controller="TableCtrl") | |
h2 | |
| TABLES | |
button.btn.btn-default(type="button", ng-click="createTable()") | |
span.glyphicon.glyphicon-plus |
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
public class Layout { | |
private String layoutID; | |
private String title; | |
private ArrayList<Component> components; | |
public static class Component { | |
private String type; | |
private ComponentEntity entity; | |
public static abstract class ComponentEntity { |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
RequestObject rq =new RequestObject();//Request物件 | |
string requestJson = JsonConvert.SerializeObject(rq); | |
string responseJson = ""; //回傳結果 | |
HttpWebRequest ProposalRq = (HttpWebRequest)HttpWebRequest.Create(Url); |
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
Map<String, Integer> sources = new HashMap<String, Integer>(); | |
Map<Integer, ArrayList<String>> results = new HashMap<Integer, ArrayList<String>>(); | |
sources.put("a", 1); | |
sources.put("b", 3); | |
sources.put("c", 5); | |
sources.put("d", 1); | |
sources.put("e", 3); | |
sources.put("f", 7); | |
sources.put("g", 7); |
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
// MWC1616 (multiply with carry, combining two 16-bit parts) | |
#include <stdio.h> | |
#include <inttypes.h> | |
uint32_t state0 = 1; | |
uint32_t state1 = 2; | |
uint32_t mwc1616(); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>padfone-launcher-switcher</groupId> | |
<artifactId>padfone-launcher-switcher</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>apk</packaging> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> |
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
var bcrypt = require('bcryptjs'); | |
/** | |
* Hash a passport password. | |
* | |
* @param {Object} password | |
* @param {Function} next | |
*/ | |
function hashPassword (passport, next) { | |
if (passport.password) { |
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
repositories { | |
flatDir { | |
dirs 'libs' | |
} | |
} | |
dependencies { | |
compile(name: 'map-controller', ext: 'aar') | |
} |
OlderNewer