#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
| import akka.actor.Actor | |
| // defining messages -- Object = singleton, case class = DTO (sorta, generally) | |
| object Born | |
| case class Evolve(numberOfNeighbors: Int) | |
| object Status | |
| // receive is the method that handles incoming messages. | |
| // alive: Receive and dead: Receive are defining alternative ways to respond to messages | |
| // these will be switched on during runtime |
| function onOpen() { | |
| var menuEntries = [ {name: "Create Diary Doc from Sheet", functionName: "createDocFromSheet"}]; | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| ss.addMenu("Fitness Diaries", menuEntries); | |
| } | |
| function createDocFromSheet(){ | |
| var templateid = "1O4afl8SZmMxMFpAiN16VZIddJDaFdeRBbFyBtJvepwM"; // get template file id | |
| var FOLDER_NAME = "Fitness Diaries"; // folder name of where to put completed diaries | |
| // get the data from an individual user |
| diff --git a/ext/bluecloth.h b/ext/bluecloth.h | |
| index 230618b..97053b5 100644 | |
| --- a/ext/bluecloth.h | |
| +++ b/ext/bluecloth.h | |
| @@ -7,20 +7,21 @@ | |
| #ifndef BLUECLOTH_H | |
| #define BLUECLOTH_H | |
| +#include "ruby.h" | |
| + |
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
| /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ | |
| /** | |
| * This program will demonstrate how to use "aes128-cbc". | |
| * | |
| */ | |
| import com.jcraft.jsch.*; | |
| import java.awt.*; | |
| import javax.swing.*; | |
| public class AES{ |
| MIT License | |
| Copyright (c) 2012 endolith | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| ;; Datomic example code | |
| ;; demonstrates various update scenarios, using a news database | |
| ;; that contains stories, users, and upvotes | |
| ;; grab an in memory database | |
| (use '[datomic.api :only (q db) :as d]) | |
| (def uri "datomic:mem://foo") | |
| (d/create-database uri) | |
| (def conn (d/connect uri)) |
| # simple match all query with term facet | |
| ejs.Request() | |
| .indices("myindex") | |
| .types("mytype") | |
| .query(ejs.MatchAllQuery()) | |
| .facet( | |
| ejs.TermsFacet('url') | |
| .field('url') | |
| .size(20)) |
| import java.util.*; | |
| import java.io.*; | |
| import java.security.*; | |
| public class ChangePassword | |
| { | |
| private final static JKS j = new JKS(); | |
| public static void main(String[] args) throws Exception | |
| { |