Thank you for purchasing our product. We want your experience to be the best possible. If you have any questions or problems, don't hesitate to contact us.
<EMAIL_ADDRESS>or Support Forum -- j3dlab team.
If you like our work, remember to rate it on themeforest.net
Floro is based on Gridalicius grid system.
The responsive system, is divided on 3 levels, from smartphones, normal desktops and big desktops (2000px and more).
Image post, are really special, with special CSS3 effects in order to stand out images.
The menu is configured like RSS reader. The menu reads automatically the latest posts from your own blog.
The menu and content, are animated sequentially with only CSS3.
1 - Copy Floro theme on folder YourGhostDir/content/themes/
2 - You have to restart Ghost in order to refresh the theme list.
3 - Go to settings Ghost admin/settings and set "theme" = "floro" and save it to activate.
4 - Reload your web to see your new theme.
1 - For starting, you have to create an account on Ghost.org, just clicking on "Sign in", or if you have an account, just login.
2 - When you are log in, click on "My blogs".
3 - To create a new blog, click on "New Blog", fill the data and click on "Create New Blog".
4 - To apply Floro template to a blog, go to "My blogs" and click on "Edit" blog's button.
5 - Go to "Custom Theme" input, you can upload the template there. Template is located on folder _Documentation/floro[INSTALL FOR GHOST.ORG].zip.
NOTE: If your Ghost is located on any other platform, maybe this installation does not work for you. You should read documentation from your own hosting services.
Images are configured to mask post content:
![Tittle image](image.jpg) Lorem ipsum dolor sit amet, consectetur adipisicing elit...
Lorem ipsum dolor sit amet, consectetur adipisicing elit...
Lorem ipsum dolor sit amet, consectetur adipisicing elit...
Lorem ipsum dolor sit amet, consectetur adipisicing elit...
Lorem ipsum dolor sit amet, consectetur adipisicing elit...
To add a feature post, select star located on admin panel.
1. Uncompress folder "floro".
2. Apply modifications on files.
3. After you prepare the template to apply on a design, be sure that all works well. You can test it on your own computer by installing NodeJs and Ghost. You can read the official Install guide for Ghost.
4. Finally, install your template and publish it.
Need Help? There is a lot of info about how to code ghost easily Ghost Documentation
Favicon is located on "floro/assets/"
Replace favicon.png and put your own image (NOTE: Image has to be PNG format and 32px 32px)
Favicon is also a part of sidebar menu:
You can select your favorite color. Go to demo and select it. Copy the color code.
To apply your fav color, go to "floro/assets/css/main.css" and go to last block, "19.Color"
All colors are separated from the other styles. Just only change it here and all is ready.
/*Font color*/ h1 *,h2 *,h3 *,h4 *,h5 *,h6 *,h1,h2,h3,h4,h5,h6, ul > li:before, ul > li > ul > li:before, ol > li:before, #menu a[class*="fa-"],a, a:hover,#menu a[class*="fa-"]:hover {color:#39CFAA; } /*Backgroud selection color*/ ::-moz-selection, ::-webkit-selection, ::selection {background:#39CFAA ;} /*Background color*/ .button:hover, .post.featured:before, .post-footer a[class*='fa-']:hover, #menu {background:#39CFAA ;} /*Borders*/ blockquote{ border-left: 2px solid #39CFAA; border-right: 2px solid #39CFAA; } input:focus, textarea:focus,select:focus{ border:1px solid #39CFAA;} #disqus_thread, .post{ border-bottom: 15px solid #39CFAA; }
NOTE: The default color are set by default on #39CFAA
Floro use Gridalicius to create columns. This columns are set width=450px and gutter=30px.
You can to change this values on file "floro/assets/js/main.js", "2.Gridalicious" block.
var MyGridWidth = 450; var MyGridMargin = 30;
NOTE: Here is a full documentation of Gridalicius.
NOTE: Gridalicius is disabled for Smarthphones to improve performance.
We use Jquery Custom scrool to get the preset scrooll nicer.
If you want to change colors, go to floro/assets/js/main.js on block "1.Nice Scrooll"
var MyNSFrontColor = "#333333"; var MyNSBackgroundColor = '#989898';
NOTE: Here is a full documentation of NiceScroll.
NOTE: This plugin is disable for Smarthphones to improve performance.
Social media are present on two files: default.hbs (menu) and post.hbs (author).
You can use Font Awesome for it. There is a complete list of social media icons from Font Awesome.
Sample
{{! BEGUIN SOCIAL MEDIA ICONS /////////////////////////////////////////////////////////////////////////////////////////////}} {{! END SOCIAL MEDIA ICONS ////////////////////////////////////////////////////////////////////////////////////////////////}}
You can add a comments block by using Disqus.
1 - Create an account on Disqus.com
2 - On step "Install Instructions", select "Universal Code". Copy the installation code.
3 - Paste the installation code on file floro/partials/disqus.hbs like this:
comments powered by Disqus
Floro is ready for Google Analitycs
1. First, you must to register on Google Analitycs HERE
2. Enter your blog url, like http://www.myblog.com
3. Google Analitycs creates an ID for your web, it looks like this UA-111111-1. Copy this ID.
4. Go to "main.js" file, located on "floro/assets/js/main.js" and go to "9. Google Analytics" block.
5. Paste here your Analitycs code and your URL. The code looks like this:
var MyGoogleAnalyticsID = 'UA-111111-1'; var MyBlogURL = 'myblog.com'
Menu loads a quik post links from RSS.
The URL from RSS is auto-detected only when the Web is on final server.
To customize it, open file "floro/assets/js/main.js" and go to "4.RSS Loader" block.
You can change url by your RSS and number of post to load.
var MyRSSURL = 'http://myblog.com/rss/'; var MyPoststoLoad = '6';
NOTE: The URL from RSS is auto-detected only when the Web is on final server. Meanwhile, you can try it using a manual configuration.
The error page is integrated on design. You can change it on "error.hbs"
Forum Support http://j3dlab.freshdesk.com/support/home
Email contact Support<EMAIL_ADDRESS>All images used on theme are from unsplash under CC license.
YouTube video, "Contagion - Epic Rocktronica" from Scott Buckley.
SoundCloud theme "Lost Hrizon" by ISS
Vimeo video, "Kill Me Laser - Blood - Official Music Video" by Jovan Todorovic
Framework Jquery
Jquery Nice Scrooll
Grid system Gridalicius
Device detection device.js
Color Picker Farbtastic
Google Fonts Oswald
Google Fonts Droid Serif
Icons Font Awesome
#000000
#333333
#7e7e7e
#a5a5a7
#cccccc
#dadada
#f6f6f6
#ffffff
#a8d6d2
#39cfaa
#d44600
#ff9900
Read envato license for our template.
1.1.1 (4 April 14)
Autodetect RSS URL.
1.1 (18 March 14)
Color picker on demo.
Updated CSS for easy color changes.
Updated documentation.
1.0 (10 March 14)
* First release.


{% load i18n %} {% load l10n %}
{% blocktrans trimmed %} Please print out this page and bring it with you when paying. {% endblocktrans %}


This example shows how to use "autoShow" mode activated by setting the attribute "autoShow" to true.
Another feature is the "event" attribute which specifies which events should be listen.
Skipping "event" means we are not interested in any events. That means all events of the source component
cause a blocking of the target component(s). Only events specified by p:ajax are supported.
PrimeFaces components can also send ajax requests without p:ajax, but such events are internal and not exposed.
BlockUI don't support such events. The "target" attribute allows to specify several target components and HTML elements to be blocked.
The syntax of the "target" attribute is the same as e.g. for "process" and "update" attributes in p:ajax.
Try to expand, select, unselect a tree node on the left side or click on any checkbox on the right side.
${showcase:getFileContent('/sections/blockui/example-blockUIAutoShow.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/blockui/FileSystemController.java')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/blockui/AccessRightsController.java')}


Module tiles
Compositing API for Terminal Glasses.
The Tiles API offers a new fundamental way of interacting with the Terminal Glasses drawing surface by allowing one to draw to subsurfaces called "Tiles". This allows for the modular and composable creation of graphical elements from smaller constituent parts, and to treat such compositions as a single entity in a rational manner.
Info:
- Copyright: Blunty666
- License: MIT
- Author: Blunty666 (code),Fizzixnerd (docs)
Functions
| getStringWidth (str) | Return the on-screen width of a string. |
| getMaxStringLength (str, width, startPos) | Return the longest length of a substring of `str' starting at `startPos' which will fit within a line of length `width'. |
Tables
| checkProperty | Contains functions for type-checking arguments. |
Class Object
| Object:Delete () | Delete the Object and remove it from its parent Tile. |
| Object:GetID () | Return ID of Object. |
| Object:GetType () | Return type of Object. |
| Object:GetTile () | Return parent Tile of Object. |
| Object:GetName () | Return name of Object or nil if not named. |
| Object:SetName (name) | Sets name of Object and return true, or return false if name was not set. |
| Object:GetUserdata () | Return the arbitrary userdata associated with the Object. |
| Object:SetUserdata (data) | Set the arbitrary userdata associated with the Object. |
| Object:SetObjectAnchor (horizontal, vertical) | Set the anchoring of the Object. |
| Object:GetObjectAnchor () | Return the anchoring of the Object. |
| Object:SetClickable (isClickable) | Set whether the Object can receive OnClick events. |
| Object:GetClickable () | Return whether the Object can receive OnClick events. |
| Object:SetRotation (angle) | Set the rotation angle of the Object in degrees. |
| Object:GetRotation () | Return the rotation angle of the Object in degrees. |
| Object:SetVisible (isVisible) | Set whether the Object is visible. |
| Object:GetVisible () | Return whether the Object is visible. |
| Object:SetZ (z) | Set the Z coordinate of the Object. |
| Object:GetZ () | Return the Z coordinate of the Object. |
| Object:SetOnClick (callback) | Set the callback for when the Object is clicked. |
| Object:GetOnClick () | Return the callback for when the Object is clicked. |
| Object:SetOnRelease (callback) | Set the callback for when the Object is unclicked. |
| Object:GetOnRelease () | Return the callback for when the Object is unclicked. |
| Object:SetOnDrag (callback) | Set the callback for when the Object is dragged. |
| Object:GetOnDrag () | Return the callback for when the Object is dragged. |
| Object:SetOnScroll (callback) | Set the callback for when the Object is scrolled. |
| Object:GetOnScroll () | Return the callback for when the Object is scrolled. |
| Object:SetOnKeyDown (callback) | Set the callback for when the Object has a key pressed on it. |
| Object:GetOnKeyDown () | Return the callback for when the Object has a key pressed on it. |
| Object:SetOnKeyUp (callback) | Set the callback for when the Object has a key unpressed on it. |
| Object:GetOnKeyUp () | Return the callback for when the Object has a key unpressed on it. |
| Object:SetOnSelect (callback) | Set the callback for when the Object is selected. |
| Object:GetOnSelect () | Return the callback for when the Object is selected. |
| Object:SetOnDeselect (callback) | Set the callback for when the Object is deselected. |
| Object:GetOnDeselect () | Return the callback for when the Object is deselected. |
Class Box
| Box:SetX (x) | Set the X coordinate of the Box. |
| Box:GetX () | Get the X coordinate of the Box. |
| Box:SetY (y) | Set the Y coordinate of the Box. |
| Box:GetY () | Get the Y coordinate of the Box. |
| Box:SetWidth (width) | Set the width of the Box. |
| Box:GetWidth () | Get the width of the Box. |
| Box:SetHeight (height) | Set the height of the Box. |
| Box:GetHeight () | Get the height of the Box. |
| Box:SetColor (color) | Set the color of the Box. |
| Box:GetColor () | Get the color of the Box. |
| Box:SetOpacity (opacity) | Set the opacity of the Box. |
| Box:GetOpacity () | Get the opacity of the Box. |
Class Fluid
| Fluid:SetX (x) | Set the X coordinate of the Fluid. |
| Fluid:GetX () | Get the X coordinate of the Fluid. |
| Fluid:SetY (y) | Set the Y coordinate of the Fluid. |
| Fluid:GetY () | Get the Y coordinate of the Fluid. |
| Fluid:SetWidth (width) | Set the width of the Fluid. |
| Fluid:GetWidth () | Get the width of the Fluid. |
| Fluid:SetHeight (height) | Set the height of the Fluid. |
| Fluid:GetHeight () | Get the height of the Fluid. |
| Fluid:SetFluid (fluid) | Set the fluid which is displayed. |
| Fluid:GetFluid () | Get the fluid which is displayed. |
| Fluid:SetAlpha (alpha) | Set the alpha (opacity) of the Fluid. |
| Fluid:GetAlpha () | Get the alpha (opacity) of the Fluid. |
Class GradientBox
| GradientBox:SetX (x) | Set the X coordinate of the GradientBox. |
| GradientBox:GetX () | Get the X coordinate of the GradientBox. |
| GradientBox:SetY (y) | Set the Y coordinate of the GradientBox. |
| GradientBox:GetY () | Get the Y coordinate of the GradientBox. |
| GradientBox:SetWidth (width) | Set the width of the GradientBox. |
| GradientBox:GetWidth () | Get the width of the GradientBox. |
| GradientBox:SetHeight (height) | Set the height of the GradientBox. |
| GradientBox:GetHeight () | Get the height of the GradientBox. |
| GradientBox:SetColor1 (color1) | Set the first color of the GradientBox. |
| GradientBox:GetColor1 () | Get the first color of the GradientBox. |
| GradientBox:SetColor2 (color2) | Set the second color of the GradientBox. |
| GradientBox:GetColor2 () | Get the second color of the GradientBox. |
| GradientBox:SetOpacity1 (opacity1) | Set the first opacity of the GradientBox. |
| GradientBox:GetOpacity1 () | Get the first opacity of the GradientBox. |
| GradientBox:SetOpacity2 (opacity2) | Set the second opacity of the GradientBox. |
| GradientBox:GetOpacity2 () | Get the second opacity of the GradientBox. |
| GradientBox:SetGradient (gradient) | Set the gradient of the GradientBox |
| GradientBox:GetGradient () | Get the gradient of the GradientBox |
Class GradientLine
| GradientLine:SetP1 (p1) | Set the first point of the GradientLine. |
| GradientLine:GetP1 () | Get the first point of the GradientLine. |
| GradientLine:SetP2 (p2) | Set the second point of the GradientLine. |
| GradientLine:GetP2 () | Get the second point of the GradientLine. |
Class GradientLineList
| GradientLineList:SetPoints (points) | Set the terminal points of the GradientLineList. |
| GradientLineList:GetPoints () | Get the array of terminal points of the GradientLineList. |
Functions
- getStringWidth (str)
-
Return the on-screen width of a string.
Parameters:
- str string
Returns:
-
int
width
Raises:
error when str is not a string. - getMaxStringLength (str, width, startPos)
-
Return the longest length of a substring of `str' starting at
`startPos' which will fit within a line of length `width'.
Parameters:
- str string
- width number
- startPos number
Returns:
-
int
width
Raises:
error when str is not a string.
Tables
- checkProperty
-
Contains functions for type-checking arguments.
If a function expects an argument of type `typename', then
`checkProperty[typename](val)` returns true iff `val' is of type
`typename'.
Fields:
- name A Lua string or nil.
- number A Lua number.
- positive_number A _non-negative_ Lua number.
- string A Lua string.
- boolean A Lua boolean.
- alignment A valid pair of alignment specifiers.
- userdata Any value.
- function A Lua function.
- percent A Lua number between 0 and 1 (inclusive).
- alpha An integer between 0 and 255 (inclusive).
- colour An integer between 0x000000 and 0xFFFFFF (inclusive).
- gradient An integer equal to either 1 or 2.
- simplePoint A table which has fields `x' and `y' with values which are Lua numbers.
- complexPoint A `simplePoint' which optionally contains the fields `rgb' or `opacity' with values which are a `colour' and a `percent' respectively.
- simplePoints An array of `simplePoint' values.
- complexPoints An array of `complexPoint' values.
- meta An integer between 0 and 15 (inclusive). Represents a Minecraft item meta value.
- surface A `surface' object as exposed by the Terminal Glasses API.
- capture A `capture' object as exposed by the Terminal Glasses API.
- bridge A wrapped Terminal Glasses Bridge (for example, the object returned by the call peripheral.wrap(sideOfBridge)).
- functionOrNil A Lua function or nil.
Class Object
All Objects share these methods.
Objects are the drawable things in the API. Note that Objects in
the same Tile _cannot_ share a name.
- Object:Delete ()
-
Delete the Object and remove it from its parent Tile.
Returns:
-
bool
success
- Object:GetID ()
-
Return ID of Object.
Returns:
-
int
id
- Object:GetType ()
-
Return type of Object.
Returns:
-
string
type
- Object:GetTile ()
-
Return parent Tile of Object.
Returns:
-
tiles.Tile
parent
- Object:GetName ()
-
Return name of Object or nil if not named.
Returns:
-
optional string
name
- Object:SetName (name)
-
Sets name of Object and return true, or return false if name was not set. Passing nil will unname the Object.
Parameters:
- name optional string
Returns:
-
bool
success
- Object:GetUserdata ()
-
Return the arbitrary userdata associated with the Object.
Returns:
-
optional any
data
- Object:SetUserdata (data)
-
Set the arbitrary userdata associated with the Object.
Parameters:
- data optional any
Returns:
-
bool
success
- Object:SetObjectAnchor (horizontal, vertical)
-
Set the anchoring of the Object.
Parameters:
- Object:GetObjectAnchor ()
-
Return the anchoring of the Object.
Returns:
- Object:SetClickable (isClickable)
-
Set whether the Object can receive OnClick events.
Parameters:
- isClickable bool
Returns:
-
bool
success
- Object:GetClickable ()
-
Return whether the Object can receive OnClick events.
Returns:
-
bool
isClickable
- Object:SetRotation (angle)
-
Set the rotation angle of the Object in degrees.
Parameters:
- angle number
Returns:
-
bool
success
- Object:GetRotation ()
-
Return the rotation angle of the Object in degrees.
Returns:
-
number
angle
- Object:SetVisible (isVisible)
-
Set whether the Object is visible.
Parameters:
- isVisible bool
Returns:
-
bool
success
- Object:GetVisible ()
-
Return whether the Object is visible.
Returns:
-
bool
isVisible
- Object:SetZ (z)
-
Set the Z coordinate of the Object.
Parameters:
- z number
Returns:
-
bool
success
- Object:GetZ ()
-
Return the Z coordinate of the Object.
Returns:
-
number
z
- Object:SetOnClick (callback)
-
Set the callback for when the Object is clicked. Pass nil to remove the callback.
Parameters:
- callback optional func
Returns:
-
bool
success
- Object:GetOnClick ()
-
Return the callback for when the Object is clicked. Return nil if no such callback is set.
Returns:
-
optional func
callback
- Object:SetOnRelease (callback)
-
Set the callback for when the Object is unclicked. Pass nil to remove the callback.
Parameters:
- callback optional func
Returns:
-
bool
success
- Object:GetOnRelease ()
-
Return the callback for when the Object is unclicked. Return nil if no such callback is set.
Returns:
-
optional func
callback
- Object:SetOnDrag (callback)
-
Set the callback for when the Object is dragged. Pass nil to remove the callback.
Parameters:
- callback optional func
Returns:
-
bool
success
- Object:GetOnDrag ()
-
Return the callback for when the Object is dragged. Return nil if no such callback is set.
Returns:
-
optional func
callback
- Object:SetOnScroll (callback)
-
Set the callback for when the Object is scrolled. Pass nil to remove the callback.
Parameters:
- callback optional func
Returns:
-
bool
success
- Object:GetOnScroll ()
-
Return the callback for when the Object is scrolled. Return nil if no such callback is set.
Returns:
-
optional func
callback
- Object:SetOnKeyDown (callback)
-
Set the callback for when the Object has a key pressed on it. Pass nil to remove the callback.
Parameters:
- callback optional func
Returns:
-
bool
success
- Object:GetOnKeyDown ()
-
Return the callback for when the Object has a key pressed on it. Return nil if no such callback is set.
Returns:
-
optional func
callback
- Object:SetOnKeyUp (callback)
-
Set the callback for when the Object has a key unpressed on it. Pass nil to remove the callback.
Parameters:
- callback optional func
Returns:
-
bool
success
- Object:GetOnKeyUp ()
-
Return the callback for when the Object has a key unpressed on it. Return nil if no such callback is set.
Returns:
-
optional func
callback
- Object:SetOnSelect (callback)
-
Set the callback for when the Object is selected. Pass nil to remove the callback.
Parameters:
- callback optional func
Returns:
-
bool
success
- Object:GetOnSelect ()
-
Return the callback for when the Object is selected. Return nil if no such callback is set.
Returns:
-
optional func
callback
- Object:SetOnDeselect (callback)
-
Set the callback for when the Object is deselected. Pass nil to remove the callback.
Parameters:
- callback optional func
Returns:
-
bool
success
- Object:GetOnDeselect ()
-
Return the callback for when the Object is deselected. Return nil if no such callback is set.
Returns:
-
optional func
callback
Class Box
A colored box Object.
- Box:SetX (x)
-
Set the X coordinate of the Box.
Parameters:
- x number
Returns:
-
bool
success
- Box:GetX ()
-
Get the X coordinate of the Box.
Returns:
-
number
x
- Box:SetY (y)
-
Set the Y coordinate of the Box.
Parameters:
- y number
Returns:
-
bool
success
- Box:GetY ()
-
Get the Y coordinate of the Box.
Returns:
-
number
y
- Box:SetWidth (width)
-
Set the width of the Box.
Parameters:
- width positive_number
Returns:
-
bool
success
See also:
- Box:GetWidth ()
-
Get the width of the Box.
Returns:
-
positive_number
width
See also:
- Box:SetHeight (height)
-
Set the height of the Box.
Parameters:
- height positive_number
Returns:
-
bool
success
See also:
- Box:GetHeight ()
-
Get the height of the Box.
Returns:
-
positive_number
height
See also:
- Box:SetColor (color)
-
Set the color of the Box.
Parameters:
- color color
Returns:
-
bool
success
See also:
- Box:GetColor ()
-
Get the color of the Box.
Returns:
-
color
color
See also:
- Box:SetOpacity (opacity)
-
Set the opacity of the Box.
Parameters:
- opacity percent
Returns:
-
bool
success
See also:
- Box:GetOpacity ()
-
Get the opacity of the Box.
Returns:
-
percent
opacity
See also:
Class Fluid
A fluid textured box Object
- Fluid:SetX (x)
-
Set the X coordinate of the Fluid.
Parameters:
- x number
Returns:
-
bool
success
- Fluid:GetX ()
-
Get the X coordinate of the Fluid.
Returns:
-
number
x
- Fluid:SetY (y)
-
Set the Y coordinate of the Fluid.
Parameters:
- y number
Returns:
-
bool
success
- Fluid:GetY ()
-
Get the Y coordinate of the Fluid.
Returns:
-
number
y
- Fluid:SetWidth (width)
-
Set the width of the Fluid.
Parameters:
- width positive_number
Returns:
-
bool
success
See also:
- Fluid:GetWidth ()
-
Get the width of the Fluid.
Returns:
-
positive_number
width
See also:
- Fluid:SetHeight (height)
-
Set the height of the Fluid.
Parameters:
- height positive_number
Returns:
-
bool
success
See also:
- Fluid:GetHeight ()
-
Get the height of the Fluid.
Returns:
-
positive_number
height
See also:
- Fluid:SetFluid (fluid)
-
Set the fluid which is displayed.
Parameters:
- fluid string
Returns:
-
bool
success
- Fluid:GetFluid ()
-
Get the fluid which is displayed.
Returns:
-
string
fluid
- Fluid:SetAlpha (alpha)
-
Set the alpha (opacity) of the Fluid.
Parameters:
- alpha percent
Returns:
-
success
See also:
- Fluid:GetAlpha ()
-
Get the alpha (opacity) of the Fluid.
Returns:
-
percent
alpha
See also:
Class GradientBox
A colored box Object with a gradient.
- GradientBox:SetX (x)
-
Set the X coordinate of the GradientBox.
Parameters:
- x number
Returns:
-
bool
success
- GradientBox:GetX ()
-
Get the X coordinate of the GradientBox.
Returns:
-
number
x
- GradientBox:SetY (y)
-
Set the Y coordinate of the GradientBox.
Parameters:
- y number
Returns:
-
bool
success
- GradientBox:GetY ()
-
Get the Y coordinate of the GradientBox.
Returns:
-
number
y
- GradientBox:SetWidth (width)
-
Set the width of the GradientBox.
Parameters:
- width positive_number
Returns:
-
bool
success
See also:
- GradientBox:GetWidth ()
-
Get the width of the GradientBox.
Returns:
-
positive_number
width
See also:
- GradientBox:SetHeight (height)
-
Set the height of the GradientBox.
Parameters:
- height positive_number
Returns:
-
bool
success
See also:
- GradientBox:GetHeight ()
-
Get the height of the GradientBox.
Returns:
-
positive_number
height
See also:
- GradientBox:SetColor1 (color1)
-
Set the first color of the GradientBox.
Parameters:
- color1 color
Returns:
-
bool
success
See also:
- GradientBox:GetColor1 ()
-
Get the first color of the GradientBox.
Returns:
-
color
color1
See also:
- GradientBox:SetColor2 (color2)
-
Set the second color of the GradientBox.
Parameters:
- color2 color
Returns:
-
bool
success
See also:
- GradientBox:GetColor2 ()
-
Get the second color of the GradientBox.
Returns:
-
color
color2
See also:
- GradientBox:SetOpacity1 (opacity1)
-
Set the first opacity of the GradientBox.
Parameters:
- opacity1 percent
Returns:
-
bool
success
See also:
- GradientBox:GetOpacity1 ()
-
Get the first opacity of the GradientBox.
Returns:
-
percent
opacity1
See also:
- GradientBox:SetOpacity2 (opacity2)
-
Set the second opacity of the GradientBox.
Parameters:
- opacity2 percent
Returns:
-
bool
success
See also:
- GradientBox:GetOpacity2 ()
-
Get the second opacity of the GradientBox.
Returns:
-
percent
opacity2
See also:
- GradientBox:SetGradient (gradient)
-
Set the gradient of the GradientBox
Parameters:
- gradient gradient
Returns:
-
bool
success
See also:
- GradientBox:GetGradient ()
-
Get the gradient of the GradientBox
Returns:
-
gradient
gradient
See also:
Class GradientLine
A line Object with a color gradient.
- GradientLine:SetP1 (p1)
-
Set the first point of the GradientLine. Copies the point, so modification of them after setting will not affect the Object.
Parameters:
- p1 complexPoint
Returns:
-
bool
success
See also:
- GradientLine:GetP1 ()
-
Get the first point of the GradientLine. Copies the point, so modification of them after getting will not affect the Object.
Returns:
-
complexPoint
p1
See also:
- GradientLine:SetP2 (p2)
-
Set the second point of the GradientLine. Copies the point, so modification of them after setting will not affect the Object.
Parameters:
- p2 complexPoint
Returns:
-
bool
success
See also:
- GradientLine:GetP2 ()
-
Get the second point of the GradientLine. Copies the point, so modification of them after getting will not affect the Object.
Returns:
-
complexPoint
p2
See also:
Class GradientLineList
A bunch of Gradient Lines (I think?)
- GradientLineList:SetPoints (points)
-
Set the terminal points of the GradientLineList. Copies the points, so modification of them after setting will not affect the Object.
Parameters:
- points {complexPoint,...}
Returns:
-
bool
success
See also:
- GradientLineList:GetPoints ()
-
Get the array of terminal points of the GradientLineList. Copies the points, so modification of them after getting will not affect the Object.
Returns:
-
{complexPoint,...}
points
See also:


--- layout: post title: Share and Follow buttons on FB, Twitter and Google + date: 2018-07-02 15:39:08.000000000 -05:00 type: post parent_id: '0' published: true password: '' status: publish categories: [] tags: [] meta: _edit_last: '1' _yoast_wpseo_content_score: '90' _yoast_wpseo_primary_category: '' author: login: admin email<EMAIL_ADDRESS>display_name: Anna first_name: '' last_name: '' permalink: "/share-buttons-on-fb-twitter-and-google/" ---
Adding a hashtag button for Twitter is pretty straightforward with the Hashtag button but for Facebook and Google Plus you need to get creative and use a prefill text to toss in the hashtag (In my case #FedoraAppreciationWeek2k18). Plus you need to register your application to get a client ID for both the FB and Google share buttons.
For Facebook, I was checking out the share buttons but there was no way you could prefill the text. And they have a platform policy for sharing.
Don’t prefill any content in captions, comments, messages or the user message parameter of posts unless (a) it is a single hashtag in a post shared through our Share Dialog (but not via our APIs), (b) it was created by the person using your app, or (c) it was created by a business whose employees use your app to administer the business’s presence on Facebook.
So I went with Share Dialogs which has a hashtag parameter. But before that, you need to create a new App on Facebook and then set up the Facebook SDK for Javascript. In your settings under App Domains, don't forget to add http://localhost:8000 (It doesn't accept <IP_ADDRESS>). If you don't you might get this error “ Can’t Load URL: The domain of this URL isn’t included in the app’s domains”
To make it easier for the FB crawler to fetch the relevant content from the site (instead of trying to guess what the header and body for the post should be) we use Open graph tags.
You can even check what it might look like using the Sharing debugger.
The Share tag is the easiest way to share a link on Google Plus but again no way to prefill text. But I found an alternative, I decided to go with Interactive Posts since it allowed for prefilled text (data-prefilltext parameter). You need to register your app to get the client ID. Don't forget under Authorised JavaScript origins (in your projects credentials) you need to add http://localhost:8000 (without the / at the end)
I decided to go with a simple link to the twitter handle. But there is an official follow button available. You just can't customize it much.
There is a deprecetaed follow button. But the page plugin is the way to go. Again not a lot of options for customization.
We do have a follow button for Google +. And this one does not require a client ID.


Fake OAuth2 Server
Request parameters:
<% _.each(query, (val, name) => { %>
<%- name %>
<%- val %>
<% }); %>
Create token & grant access
Name of the resource owner (optional):
Email of the resource owner (optional):
Enter the email address of the person you want to impersonate.
Token expiry (in seconds):
Refresh Token expiry (in seconds):


What Ails You Today?
Describe Your Booboo:
HAAALP!
The following medical practitioners can help you:


Ienc
Provides a simple interface to IMGENC (XDM 0.9) based algorithms.
More...
Detailed Description
Provides a simple interface to IMGENC (XDM 0.9) based algorithms.
Typedef Documentation
Handle through which to reference an Image Encode algorithm.
Function Documentation
| Ienc_Handle Ienc_create |
( |
Engine_Handle |
hEngine, |
|
|
Char * |
codecName, |
|
|
IMGENC_Params * |
params, |
|
|
IMGENC_DynamicParams * |
dynParams | |
|
) |
| | |
Creates an Image Encode (XDM 0.9) algorithm instance.
- Parameters:
-
| [in] | hEngine | An opened engine containing the algorithm to create. |
| [in] | codecName | The name of the algorithm to open. Corresponds to the string name given in the .cfg file. |
| [in] | params | XDM parameters to use while creating the codec. |
| [in] | dynParams | XDM dynamic parameters to use while creating the codec. |
- Return values:
-
| Handle | for use in subsequent operations (see Ienc_Handle). |
| NULL | for failure. |
Encodes an image buffer.
- Parameters:
-
| [in] | hIe | The Ienc_Handle to use for encoding. |
| [in] | hInBuf | The Buffer_Handle for the buffer containing the raw data. |
| [in] | hOutBuf | The Buffer_Handle for the buffer to fill with encoded data. |
- Return values:
-
| Dmai_EOK | for success. |
| Negative value | for failure, see Dmai.h. |
Deletes an Image Encode algorithm instance.
- Parameters:
-
- Return values:
-
| Dmai_EOK | for success. |
| Negative value | for failure, see Dmai.h. |
Get the IMGENC handle from the Ienc module instance.
- Parameters:
-
| [in] | hIe | The Ienc_Handle for which to get the IMGENC handle. |
- Return values:
-
| Handle | to the image encode algorithm, see the XDM documentation for IMGENC. |
Get the input buffer size required by the codec.
- Parameters:
-
| [in] | hIe | The Ienc_Handle for which to get the buffer size. |
- Return values:
-
| Size | in bytes of the input buffer required. |
Get the output buffer size required by the codec.
- Parameters:
-
| [in] | hIe | The Ienc_Handle for which to get the buffer size. |
- Return values:
-
| Size | in bytes of the output buffer required. |
Variable Documentation
Default XDM parameters for an Image Encode algorithm.
size = sizeof (IMGENC_Params),
maxHeight = 0,
maxWidth = 0,
maxScans = XDM_DEFAULT,
dataEndianness = XDM_LE_32,
forceChromaFormat = XDM_YUV_422P
Default XDM dynamic parameters for an Image Encode algorithm.
size = sizeof(IMGENC_DynamicParams),
numAU = XDM_DEFAULT,
inputChromaFormat = XDM_YUV_422ILE,
inputHeight = 0,
inputWidth = 0,
captureWidth = 0,
generateHeader = XDM_ENCODE_AU,
qValue = 75


Thanks for checking out this site. This demo uses animation techniques to move the potato pieces around on the screen. The frames per second are taken into account at runtime and used as resistance for
the velocity of the objects. The slower the objects are moving across the screen, the more resistance on the model. Press "s" to shoot and "r" to reload. It's a fun way to demonstrate how the browsers
overall performance, from hardware accelerated graphics, to compiled javascript, to hardware accelerated canvas, will enable a new generation of HTML5 applications. The purpose of these demos is to convey
a concept and not intended to be used as a best practice for web development. Itís not the cleanest code, and in some places we took shortcuts to get more demos to you. Enjoy!


{%extends "base.html" %} {%block title%}No registration type selected - {{conference}}{%endblock%} {%block content%}
Your registration cannot be completed until you pick a registration type from the dropdown list.
Return to the form and complete your registration.
{%endblock%}


_Regular
_SQL mode
This field is required.
This field cannot be longer than 60 characters.
Sample Data


| PostgreSQL 9.0.10 Documentation | ||||
|---|---|---|---|---|
| Prev | Up | Appendix I. Documentation | Next |
The documentation sources are written in DocBook, which is a markup language superficially similar to HTML. Both of these languages are applications of the Standard Generalized Markup Language, SGML, which is essentially a language for describing other languages. In what follows, the terms DocBook and SGML are both used, but technically they are not interchangeable.
DocBook allows an author to specify the structure and content of a technical document without worrying about presentation details. A document style defines how that content is rendered into one of several final forms. DocBook is maintained by the OASIS group. The official DocBook site has good introductory and reference documentation and a complete O'Reilly book for your online reading pleasure. The NewbieDoc Docbook Guide is very helpful for beginners. The FreeBSD Documentation Project also uses DocBook and has some good information, including a number of style guidelines that might be worth considering.


The status bar is displayed at the bottom of the main HexEdit Pro window. To display or hide the status bar, use the Status Bar command in the View menu.
The left area of the status bar describes actions of toolbar buttons or menu items as you move the mouse over them or use the arrow keys to navigate through menus. It also displays the occasional status or progress message depending on the current actions being performed.
The right area of the status bar has several panes or indicators which have the following uses:
|
Indicator |
Description |
|
Search count |
The first indicator (to the right of the message area) shows the number of occurrences of the current search text (in the file open in the active window). If background searching is off (see the System Page of the Options dialog) it says “OFF”. If there is a background search in progress then it shows the progress of the search (progress bar and a percentage complete). If there are more than 9,999,999 occurrences of the current search string then “TOO BIG” is displayed instead. |
|
Byte values |
The 2nd indicator displays the values of the byte at the current cursor position in the active window. This shows the value of the byte in hex, decimal, octal and binary. It also shows the ASCII or EBCDIC character that the byte represents, depending on EBCDIC mode. To see more information about the byte(s) after the cursor and the file in the active window double-click on this indicator to open the Properties Dialog. |
|
Hex Offset |
Indicates the numbers of bytes from the mark to the cursor in hex. See
the Mark Position command. |
|
Decimal offset |
Indicates the numbers of bytes from the mark to the cursor in decimal. his pane is shown in blue (or whatever color is used for decimal addresses in the current color scheme). |
|
File Length |
Shows the file length. The length is shown in decimal or hex depending on how addresses are being displayed in the active window (see Decimal Addresses command ). If bytes have been inserted/deleted it also indicates the difference in length from the on-disk (last saved) version. When editing disks (raw disks or volumes) this shows the current sector and the total number of sectors. |
|
LE/BE |
Indicates whether changes to the files are made in little-endian or big-endian mode. To toggle just double-click or use the Big-endian checkbox in the Calculator. The big-/little-endian mode has no effect on the display; it only affects how file access from the Calculator is performed and how some commands in the Operations menu work. |
|
RO/RW |
Indicates read-only or read-write mode. To toggle between read-only and read-write just double-click this indicator or use the Allow Changes command. |
|
OVR/INS |
Indicates overtype or insert mode. To toggle between overtype and insert modes double-click this indicator or use the Insert Mode Toggle command. Many binary file formats cannot tolerate insertions/deletions so you should not use INS mode. |
|
REC |
Indicates when macro recording is active. To start or stop recording double-click this indicator or use the Record command. |
|
CAP |
Indicates the state of the Caps Lock toggle. |
|
NUM |
Indicates the state of the Num Lock toggle. |


Research Scientist @ Google DeepMind
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.


--- layout: detailed img_path: img/PreviewslideBloodandSand1922.jpg title: Preview slide, Blood and Sand, 1922 description: Preview slide for the film Blood and Sand. The slide features a still from the film depicting Rudolph Valentino and Nita Naldi along with text that reads, "Jesse L. Lasky presents / Rodolph Valentino / in a Fred Niblo Production / Blood and Sand / with Lila Lee / and / Nita Naldi / From the novel by Vincente Blasco Ibanez / and the play by Tom Cushing / Scenario by June Mathis / A Paramount Picture." Below the image is a framed space in which "Monday and Tuesday" has been written. accession_number: 1991.010.0176 artifact_class: Movie & Preview Copy artifact_class_short: copys category: Exhibition dimension: 3.25 x 4 inches creation_date: 1922 material: glass related_movie: Blood and Sand (1922) medium: Film ---
{{ page.description }}
{{ page.accession_number }}
{{ page.artifact_class }}
{{ page.category }}
{{ page.dimension }}
{{ page.creation_date }}
{{ page.material }}
{{ page.related_movie }}
{{ page.medium }}


Assets are objects referencing all the files and data related to a 3D model. They are equivelent to a project or a folder with metadata.


Watch the UGUI Introduction video in fullscreen.
To hide the UGUI Developer Tools change the <body role="document" class="dev">
to <body role="document" class="prod">
.
You are using version 1.3.0 of UGUI.
Active key bindings while in developer mode:
Test out different looks for your application. Click 'Keep' to use the currently display style
Saved


FullScreenWrapper2: Python GUI framework for Android
FullScreenWrapper2 is an Android Python GUI Framework for developing full screen User Interfaces using Scripting Layer for Android (SL4A) and Python for Android (Py4A). It abstracts away the SL4A FullScreen API while providing simplified layout loading and pythonic access to properties & events of the layout


--- layout: post title: 'The gods Must Be Angry: "More from Eyjafjallajokull - The Big Picture"' categories: [] tags: - life - photos - volcano status: publish type: post published: true meta: _original_post_id: '' _original_import_author: John Duprey author: ---
The gods must be angry! This article has some really stunning photos.


#include <gmac.h>
Public Attributes | |
| uint32_t | len: 12 |
| uint32_t | offset: 2 |
| Length of frame including FCS. More... | |
| uint32_t | bSof: 1 |
| Receive buffer offset, bits 13:12 of frame length for jumbo frame. More... | |
| uint32_t | bEof: 1 |
| Start of frame. More... | |
| uint32_t | bCFI: 1 |
| End of frame. More... | |
| uint32_t | vlanPriority: 3 |
| Concatenation Format Indicator. More... | |
| uint32_t | bPriorityDetected: 1 |
| VLAN priority (if VLAN detected) More... | |
| uint32_t | bVlanDetected: 1 |
| Priority tag detected. More... | |
| uint32_t | bTypeIDMatch: 1 |
| Type ID match. More... | |
| uint32_t | bAddr4Match: 1 |
| Address register 4 match. More... | |
| uint32_t | bAddr3Match: 1 |
| Address register 3 match. More... | |
| uint32_t | bAddr2Match: 1 |
| Address register 2 match. More... | |
| uint32_t | bAddr1Match: 1 |
| Address register 1 match. More... | |
| uint32_t | reserved: 1 |
| uint32_t | bExtAddrMatch: 1 |
| External address match. More... | |
| uint32_t | bUniHashMatch: 1 |
| Unicast hash match. More... | |
| uint32_t | bMultiHashMatch: 1 |
| Multicast hash match. More... | |
| uint32_t | bBroadcastDetected: 1 |
| Global all ones broadcast address detected. More... | |


--- layout: default title: Sounds Like Spring title_suffix: Foothills Philharmonic Orchestra description: Join the Foothills Philharmonic Orchestra at their Spring 2017 concert – Sounds Like Spring ---
The Foothills Philharmonic Orchestra will be performing in their first performances, featuring guest soloist Mr. Stuart Lloyd with Michèle Wheatley-Brown.
Featured music includes Franz Schubert’s Trout Quintet, our flute trio performing Dance of the Reeds from Tchaichovsky’s Nutcracker Suite, and our brass quartet bringing Giles Farnaby’s Fancies, Toyes and Dreams.
June 10th, 7:00pm
High River United Church
Tickets:
Tickets available at the door, or online through Brown Paper Tickets.
Join us on June 17th for Sounds Like Spring (Again), offering a different program including Antonio Vivaldi’s Spring, W.A. Mozart’s Wind Quintet in E♭ major, and Giles Farnaby’s Fancies, Toyes and Dreams.


documentation is laaaaame; show me the page
Each OSM object will be one table row, each tag will be a column.
The tool can also generate Overpass queries for lists of OSM ids of objects (in the formw241112210,w148293046,w260133470,n1613997397). Mainly you'll paste a overpass query directly into the query field and hit run. The overpass query should only return tags to reduce API load on the endpoint. Also, be careful you don't accidentally recurse too far and fetch all nodes for a way, for example. The query out format must be json.
So a query like
[out:json] [timeout:25] ; ( node ["aerialway"] (51.648,10.647,51.668,10.685); way ["aerialway"] (51.648,10.647,51.668,10.685); relation ["aerialway"] (51.648,10.647,51.668,10.685); ); out tags;is recommended. "select specific columns" is only needed if you want to select a subset of columns. Normally all columns are contained in the output.


Have strong and active position starting from the initial development.
Participated in projects in all stages of the product life cycle.


--- layout: default title: Experiments at atmos.org ---
Outreach is a way to filter twitter search queries based on follower count. Hit "?" on the page to see what you can tweak
A simple OAuth enabled user timeline app for twitter. It just refreshes for ya.


My Profile
Name:
DOB:
Address:
Contact:
Academic Info
Class
University/Board
Percentage
Graduation
Saurashtra University
77
Higher Secondary
GSHSEB
60
Senior Secondary
GSEB
81


Created by Camel Aissani / @camelaissani
Inspired by Douglas Crockford
JavaScript is not Java or a subset af Java but it is a complete programming language.
C++++ -> Oak -> Java
First demonstrated with HotJava browser (Applet)
Mocha -> LiveScript
First language in the web browser/ web server
Finally Sun and Netscape made an alliance to escape microsoft and renamed LiveScript to JavaScript
Load and go delivery (not compiled / embedded in web pages)
Loose typing (very controversal)
Objects as general containers
Prototypal inheritance (not class inheritance)
Lambda (function as first class objects)
Linkage though global variables
Number
String
Boolean
null
undefined
Object
if
switch
while
do
for
break
continue
return
try / throw
function
var
All other values (including all objects)
{bocks} do not have scope
vars defined inside a function are not visible outside of the function
Unification of Object and Hashtable (member is pair of key/value) members can be accessed:
myObject.firstname = 'Douglas';
myObject['lastname'] = 'Crockford';
Create an object
var myObject1 = new Object();
var myObject2 = Object(Object.prototype);
// literal notation:
var myObject3 = {};
var myObkect4 = {firstname: 'Douglas', lastname:'Crockford'}
//Maker function
var myObject5 = maker('Douglas', 'Crockford');
function maker(firstname, lastname) {
var it = {};
it.firstname = firstname;
it.lastname = lastname;
return it;
}
An object can contain an object as member
var myObject6 = {
firstname: 'Douglas',
lastname:'Crockford',
friend: {
firstname: 'Camel',
lastname:'Aissani'
}
}
At any time you can add new members to any object by simple assignment
myObject.format.colorModel = "red";
Members can be remove from an object with the delete operator
delete myObject['name'];
delete myObject.firstname;
Linkage provides a simple inheritance mechanism between objects.
An object contains a secret pointer to another object.
All objects are linked directly or indirectly to Object.prototype.
Object.prototype provides some basic methods. ex: hasOwnProperty(name) but no toString or equals methods
var myOldObject = {
name:'Douglas Crockford',
grade: 'A',
level: 3
};
var myNewObject = Object(myOldObject);
myNewObject.name = 'Camel Aissani';
myNewObject.level += 1;
myNewObject.language = 'french';
Results
Object languages have classes, methods, constructors and modules.
JavaScript has only functions that doing the job but differently.
Functions are objects and can contain members
var myObject = function name(parameters) {
};
parameters can be values, objects, function
function can be defined in function:
function name(parameters) {
function foo(otherParameters) {
// scope of the parent function is available here
// Called Static Scoping / Lexical Scoping
}
}
The scope of the parent function from a inner function is still available even after the parent function has returned.
function parent() {
var value = 1;
function inner() {
value++;
if (value===3) {
return;
}
setTimeout(inner, 100);
}
setTimeout(inner, 100); // (1)
}
Function can be called as function form:
functionObject(parameters)
As method form:
thisObject.methodName(parameters)
As constructor form:
new functionObject(parameters)
As apply form:
functionObject.apply(thisObject, [parameters])
Inside a function we have two integrated variables.
Array inherits from Object
Indexes are strings (int indexed are converted into strings)
Length is dynamic
Create array:
var myArray = new Array();
var myArray = [];
var myArray = ['blue', 'yellow', 'red'];
Update an item:
myArray[1] = 'gray';
Add an item:
myArray[3] = 'pink';
Read an item:
Delete an element in array
var myArray = ['blue', 'yellow', 'red'];
delete myArray[1];
// ['blue', undefined, 'red']
myArraysplice(1,1);
// ['blue', 'red']
Container for all global variables and all built-in objects (In browsers: window, document, console...)
Any variables declared without var is considered as global by default.
Then global variables are evil (cooperating applications can clobber each other)
Object is a separate namespace.
Encapsulation with function
MYLIB = function() {
// define private variables and functions
return {
// here the public function
foo1 : function() {},
foo2: function() {}
};
}();


Figure 1 illustrates the differences between a normal Erlang workflow (left) and one using the McErlang model checker (right). The model is the Erlang program to be analyzed, which undergoes a source-to-source translation to prepare the program for running under the model checker. Then the normal Erlang compiler translates the program to either Beam byte code (an Erlang byte code language) or directly to native machine code. Finally the program is run under the McErlang run time system, under the control of a verification algorithm, by the normal Erlang bytecode interpreter.  However, the side effect part is executed under the McErlang run time system which is a complete rewrite in Erlang of the basic process creating, scheduling, communication and fault-handling machinery of Erlang (comprising a significant portion of the code of the model checker).
Naturally the new run time system offers easy checkpointing (capturing the state of all nodes and processes, of the message queues of all processes, and all messages in transit between processes), of the whole program state as a feature (impossible to achieve in the normal Erlang run time system due to the physical distribution of processes).
2010-07-05


Discover ShortBoard
ShortBoard allows you to easily sort, view and filter shortwave broadcast schedules.
Release .92 (Beta)
|
- Fixed issue where data file could not be imported if encoded in MacRoman.
- File > Clear Cache Menu renamed to Clear Data.
- Clear Data menu items now also clears current view of data.
- Added Keyboard Shortcut for File > Import (CMD-I).
|
Release .91 (Beta)
|
- Added icon created by Ferdi Koomen.
|
Release .90 (Beta)
|
- Added ability to add broadcasts to iCal.
|
Release .85 (Beta)
|
- Initial Public Beta Release.
- Import schedule data from file.
- Filter schedules based on schedule fields.
- Show current broadcasts.
- Display Current time in UTC.
|


--- title: PynamoLogger keywords: fastai sidebar: home_sidebar summary: "log information into a dynamodb, with dax support" description: "log information into a dynamodb, with dax support" nb_path: "index.ipynb" ---
pip install pynamologger
put this in your template.yaml file under properties section
make sure that the table name is the same in Meta declaration
YourLogTable:
Type: AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
- AttributeName: appName
AttributeType: S
- AttributeName: timestamp
AttributeType: N
BillingMode: PAY_PER_REQUEST
TableName: <put your table name here>
KeySchema:
- AttributeName: appName
KeyType: HASH
- AttributeName: timestamp
KeyType: RANGE
Logger.create_table()
from pynamoLogger.logger import PynamoLogger
class Logger(PynamoLogger):
class Meta:
table_name = 'member-database-log-dev-manual' # put your table name
region = 'ap-southeast-1' #put your region name
billing_mode = 'PAY_PER_REQUEST'
Logger.log(appName = 'test', message = "this is crazy", responseObject = {'response': 'null response'})
Logger.checkLog(appName = 'test', logId = '1603074235.103042')


net.parallaxed.bluejam
Class NoteCollection
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Note>
net.parallaxed.bluejam.NoteCollection
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Note>, java.util.Collection<Note>, java.util.List<Note>, java.util.RandomAccess, NoteSequence
- Direct Known Subclasses:
- NoteContext
public class NoteCollection
- extends java.util.ArrayList<Note>
- implements NoteSequence
Simply contains a list of notes in their order of play.
Note that this class is recursively typed, even though it
wraps a collection of , those elements added to it
MUST also implement NoteSequence.
This class acts as a buffer between the playback classes
and the evolution classes (i.e. note trees etc).
- Author:
- Ciarán Rowe<EMAIL_ADDRESS>- See Also:
- Serialized Form
| Fields inherited from class java.util.AbstractList |
modCount |
|
Constructor Summary |
NoteCollection()
Constructs a vanilla NoteCollection |
NoteCollection(SequenceParameters sequenceParameters)
Constructs a NoteCollection with the passed sequenceParameters
This is useful for subclasses that require context in their
Collection. |
|
Method Summary |
boolean |
add(Note n)
Will check if a passed note has an ID, if so
it will also be added to an internal HashMap for
later retrieval. |
boolean |
addNotes(NoteSequence notes)
Appends the passed NoteSeqeunce to the NoteCollection. |
NoteCollection |
clone()
NoteCollections are note cloneable (...yet) |
boolean |
contains(NoteSequence n)
|
NoteCollection |
crop(int index)
Crops a noteCollection returning all elements from the
specified index to the end of the collection. |
NoteCollection |
crop(int index,
int end)
Crops a noteCollection returning all elements from the
specified index to the point specified. |
Note |
get(int index)
|
Note |
getIndex(int index)
To preserve original functionality, this simply calls the superclass get() |
java.util.Iterator<Note> |
getNotes()
This abstracted function returns an iterator capable of
accessing each note in the NoteSequence in an ordered
fashion. |
void |
removeNotes(NoteSequence notes)
Removes a note from the NoteSequence. |
SequenceParameters |
sequenceParameters()
Returns the parameters of this sequence. |
boolean |
swapNotes(NoteSequence swapOut,
NoteSequence swapIn)
Swaps notes in a sequence. |
void |
validateNotes()
Attempts to call validateNotes() on all it's children. |
| Methods inherited from class java.util.ArrayList |
add, addAll, addAll, clear, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
NoteCollection
public NoteCollection()
- Constructs a vanilla NoteCollection
NoteCollection
public NoteCollection(SequenceParameters sequenceParameters)
- Constructs a NoteCollection with the passed sequenceParameters
This is useful for subclasses that require context in their
Collection.
- Parameters:
sequenceParameters
-
add
public boolean add(Note n)
- Will check if a passed note has an ID, if so
it will also be added to an internal HashMap for
later retrieval.
- Specified by:
add
in interface java.util.Collection<Note>
- Specified by:
add
in interface java.util.List<Note>
- Overrides:
add
in class java.util.ArrayList<Note>
get
public Note get(int index)
- Specified by:
get
in interface java.util.List<Note>
- Overrides:
get
in class java.util.ArrayList<Note>
getIndex
public Note getIndex(int index)
- To preserve original functionality, this simply calls the superclass get()
- Parameters:
index
- The index to retrieve.
- Returns:
- The note at index.
sequenceParameters
public SequenceParameters sequenceParameters()
- Description copied from interface:
NoteSequence
- Returns the parameters of this sequence. Normally only
valid in function implementations, Terminals are not
required to provide a link to their parameters.
- Specified by:
sequenceParameters
in interface NoteSequence
- Returns:
- A reference to this NoteCollection's SequenceParameters.
- See Also:
SequenceParameters
addNotes
public boolean addNotes(NoteSequence notes)
- Appends the passed NoteSeqeunce to the NoteCollection.
- Specified by:
addNotes
in interface NoteSequence
- Parameters:
notes
- The notes to be appended.
- Returns:
- Always true for this implementation.
getNotes
public java.util.Iterator<Note> getNotes()
- This abstracted function returns an iterator capable of
accessing each note in the NoteSequence in an ordered
fashion. Since an the representation of a note tree
may be in no particular order, implementation of this
function forces an order to be imposed at some point.
In short, this allows the NoteSequence to be read into
a buffer for playback through one of the appropriate classes
NoteSequences are normally collapsed into NoteCollections
using this iterator, to fix the ordering before playback.
__ADD SEE CLAUSES__
- Specified by:
getNotes
in interface NoteSequence
- Returns:
- An iterator over this NoteCollection
removeNotes
public void removeNotes(NoteSequence notes)
- Removes a note from the NoteSequence.
Removal of a note should (in a linear representation) shift
all subsequent notes left. For removing a note without this
behaviour, see restNote()
- Specified by:
removeNotes
in interface NoteSequence
- Parameters:
notes
- A reference to the note to be removed.- See Also:
NoteSequence
swapNotes
public boolean swapNotes(NoteSequence swapOut,
NoteSequence swapIn)
- Swaps notes in a sequence. The supplied NoteSequence is
located, and replaced by the given NoteSequence.
Depending on the implementation, this function can be
designed to act as mutation, 1-point crossover, or both.
- Specified by:
swapNotes
in interface NoteSequence
- Parameters:
swapOut
- First argument to swapswapIn
- Second argument to swap- See Also:
NoteSequence
crop
public NoteCollection crop(int index)
- Crops a noteCollection returning all elements from the
specified index to the end of the collection.
- Parameters:
index
- The note index where the crop begins
- Returns:
- A cropped copy of this NoteCollection
crop
public NoteCollection crop(int index,
int end)
- Crops a noteCollection returning all elements from the
specified index to the point specified.
- Parameters:
index
- The note index where the crop beginsend
- Where to stop the crop.
- Returns:
- A cropped copy of this NoteCollection
validateNotes
public void validateNotes()
throws ValidationException
- Attempts to call validateNotes() on all it's children.
- Specified by:
validateNotes
in interface NoteSequence
- Throws:
ValidationException
clone
public NoteCollection clone()
- NoteCollections are note cloneable (...yet)
- Specified by:
clone
in interface NoteSequence
- Overrides:
clone
in class java.util.ArrayList<Note>
- Returns:
- A copy of this NoteSeqeunce
contains
public boolean contains(NoteSequence n)
- Specified by:
contains
in interface NoteSequence
- Parameters:
n
- The NoteSequence to search for
- Returns:
- True if this collection contains the passed NoteSequence.


During this whole learning endeavor, my tendency has been to run headlong at whatever objective happens to stand next. For most things (such as Spacewalk) this works out well enough. With OpenLDAP, I learned that it wasn’t necessarily the optimum strategy; doing so resulted in a lot of fustration born of copious amounts of trial and error, much of which could have been avoided with some reading and patience. Despite the frustration, I did come away with what I felt to be a more thorough understanding (though I do not intend to insenuate that I deeply understand its inner workings and every nuance—I certainly do not). Maybe it’s self evident, but as complexity compounds, so does requisite research and general study—two things that I am not particularly adept at.
Puppet is yet another objective that is at odds with success via cursory research. So instead of yielding to weakness, I will instead attempt to distill my learning experience through some posts. Here we goooooo!
much of what’s found below is taken directly from Puppet’s documentation and reworded
What is Puppet and what does it do?
Puppet is a configuration management tool written in Ruby. It uses its own declarative language to declare resources, classes, state, etc. that should be endemic to nodes on an as defined basis.
Architecture and behavior
Puppet uses one or more Puppet masters that manage nodes running Puppet agents. On a periodic basis, an agent sends a list of facts about the system on which it runs to the master and requests a catalog. Facts reference a number of attributes unique to a system such as an IP address, whether a file is present, what services are running, and so on. The requested catalog is a list of attributes that describe a desired state peculiar to that node; if the agent finds that a resource is not in a desired state, it makes the necessary changes. After applying changes, the agent sends a report to the master.
About Puppet’s DSL
As alluded to above, Puppet’s functionality is predicated on its declarative nature. Puppet’s DSL declares resources, and according to the documentation, “every other part of the language exists to add flexibility and convenience to the way resources are declared.” Resources are grouped together in classes, where classes define configuration necessary to the functionality of a service or application. Smaller classes may be combined such that they provide a set of configuration, services, etc. necessary for e.g. a database server. Further, Puppet may also classify nodes. Node definitions dictate what classes should apply to a node. Alternatively, Puppet can utilize data provided from an External Node Classifier or Hiera.
Resources
Resources are the fundamental unit for modeling system configurations. Each resource describes some aspect of a system, like a specific service or package.
Puppet enforces resources via catalogs; a catalog defines a desired state and ensures it through the application of declared resources.
Puppet resources have a type, title, and attribute-value pairs that conform to the following syntax:
Resource types dictate what aspects of configuration that resource can manage. Puppet has many built-in resource types such as files, services, and packages. New resource types can be defined in either Puppet or Ruby.
The title is an identifying string that must be unique per resource type; duplicate titles will cause a compilation failure. An example might be a file, in which case the title could be any arbitrary string value such as 'spam'
. Generally this is a bad idea and would annoy others and cause confusion; instead, a file would be better served in being identified by its path, such as /etc/sssd/sssd.conf
.
Attributes describe the desired state of a resource; resources generally have attributes that are required, optional, and in many cases have attributes that contain default values if no value is specifically assigned.
Ordering
Puppet uses attributes called metaparameters that can be used with any resource type. Metaparameters do not directly define system state but rather define how resources should interact with each other. A common example would be a service and its configuration file:
The above code defines that the package for Kerberos 5 should be installed before ensuring the presence of its config file. Likewise, require
can be used to establish the same dependency but with the opposite ordering:
The above is missing certain attributes that should otherwise be specified, but the point is nonetheless suitably illustrated.
Classes
Classes are named blocks of Puppet code that are stored in modules for later use and are not applied until they are invoked by name.
The syntax prescribes the following conventions:
Class definitions contain the class
keyword, a class name, and a comma-separated list of parameters. Past that are curly brackets (opening and closing) between which is arbitrary Puppet code.
Manifests and modules
Files containing Puppet code are called manifests and are appended with the .pp
file extension. Class definitions are contained in manifests which are in turn contained within modules. The file structure for a module generally appears as follows:
/etc/puppetlabs/code/environments/production/modules/ntp/
├── CHANGELOG.md
├── checksums.json
├── CONTRIBUTING.md
├── data
│ ├── . . .
├── examples
│ └── init.pp
├── Gemfile
├── hiera.yaml
├── LICENSE
├── manifests
│ ├── config.pp
│ ├── init.pp
│ ├── install.pp
│ └── service.pp
├── metadata.json
├── NOTICE
├── Rakefile
├── README.markdown
├── spec
│ ├── acceptance
│ │ ├── . . .
├── templates
│ ├── keys.epp
│ ├── ntp.conf.epp
│ └── step-tickers.epp
└── types
├── key_id.pp
└── poll_interval.pp
END
I think that covers the fundamentals reasonably well. For a much better, more in depth explanation, see the official documentation.
In the next post, I’ll probably cover the set up of a Puppet master and its agents. My initial research shows that there’s not much to it, so hopefully it will be a short one.


DetLTS, DetMM (and DetS) Algorithms for Deterministic, Robust Linear Regression.
| Version: | 0.0.5 |
| Depends: | R (≥ 3.1.1) |
| Imports: | robustbase, MASS, pcaPP |
| LinkingTo: | Rcpp (≥ 0.10.5), RcppEigen (≥ <IP_ADDRESS>) |
| Suggests: | mvtnorm |
| Published: | 2018-05-19 |
| Author: | Kaveh Vakili [aut, cre], Valentin Todorov [ctb] (modified code originally from the R package robustbase: function ltscheckout, LTScnp2 and LTScnp2.rew and from robustbase:::.detmcd()), Peter Filzmoser [ctb] (translations of the code for computing the Qn found in package pcaPP), Heinrich Fritz [ctb] (translations of the code for computing the Qn found in package pcaPP), Klaudius Kalcher [ctb] (translations of the code for computing the Qn found in package pcaPP), Kjell Konis [ctb] (translations of the code scaleTau2 found in package robustbase), Martin Maechler [ctb] (translations of the code scaleTau2 found in package robustbase), Matias Salibian-Barrera [ctb] (modified code for the FastS from the authors's website), Peter Rousseeuw [ctb] (modified code originally from the R package robustbase: function ltscheckout, LTScnp2 and LTScnp2.rew and from robustbase:::.detmcd()), Katrien van Driessen [ctb] (modified code originally from the R package robustbase: function ltscheckout, LTScnp2 and LTScnp2.rew and from robustbase:::.detmcd()) |
| Maintainer: | Kaveh Vakili <vakili.kaveh.email at gmail.com> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | yes |
| SystemRequirements: | C++11 |
| CRAN checks: | DetR results |
| Reference manual: | DetR.pdf |
| Package source: | DetR_0.0.5.tar.gz |
| Windows binaries: | r-devel: DetR_0.0.5.zip, r-release: DetR_0.0.5.zip, r-oldrel: DetR_0.0.5.zip |
| OS X binaries: | r-release: DetR_0.0.5.tgz, r-oldrel: DetR_0.0.5.tgz |
| Old sources: | DetR archive |
Please use the canonical form https://CRAN.R-project.org/package=DetR to link to this page.


Preparation time
less than 30 mins
Cooking time
over 2 hours
Serves
Serves 6
This stunning Italian starter combines tender veal, poached in wine, with a tangy tuna mayonnaise. It might sound a bit weird but the flavours work brilliantly.
Put the shallots, carrot and celery into a large saucepan with the bay leaf, thyme, peppercorns, wine and chicken stock. Add the flaked sea salt and bring to a gentle simmer. Cook the stock for 30 minutes.
Using a sharp knife, trim the veal of any fatty bits or sinew. Lower the veal gently into the warm stock and reduce the heat until it is barely bubbling. The veal won’t quite be covered by the stock, but it will be turned during the cooking process.
Poach the veal for 15 minutes, turning 4-5 times. Remove from the liquid, put onto a board and set aside to cool. Reserve 100ml/3½fl oz of the cooking liquor.
Once the veal is cool, season it all over with freshly ground black pepper and wrap tightly in cling film. Put in the fridge and leave overnight to chill.
To make the mayonnaise, put the egg yolks, tuna, capers, one tablespoon of the lemon juice, mustard and sugar in a food processor. Season with salt and a couple of twists of freshly ground black pepper.
Blend until well combined then, with the motor running, very gradually add both the oils and blend until the dressing has emulsified to a mayonnaise consistency and is smooth and thick.
Add two tablespoons of the reserved cooking liquid and blend for a few seconds more until the sauce has a soft spoonable consistency, adding a little more cooking liquor if necessary. You may need to remove the lid and push the mixture down a couple of times with a rubber spatula until the right consistency is reached.
Place the tuna mayonnaise into a bowl, season with more salt and pepper and the remaining squeeze of lemon juice if you like. Cover the surface with cling film to prevent a skin forming and chill overnight.
When ready to serve, unwrap the veal and slice very thinly. Arrange overlapping slices of the meat on six plates and top with spoonfuls of the chilled mayonnaise. (Or make one large platter.)
Sprinkle with baby capers and scatter roughly chopped parsley over the top. Garnish with caper berries, sprinkle with coarsely ground black pepper and a pinch of salt. Serve with extra lemon wedges for squeezing. Serve with very chilled white wine.


{%extends 'baseg4.html'%} {%block title%}Adventure X | Quality Education{%endblock%} {%block content%}
You inquire into why there are so many children out and about in the middle of the day
You find out that they cannot afford to go to school, and wonder if you should do something about it.


A Thousand Brains: A New Theory of Intelligence
author: Jeff Hawkins
related books: Models of the Mind
The main takeaway
Every high school student can understand the basics of natural selection and grasp the origin of the diversity of the living world. Hawkins hopes that the secrets of the minds and intelligence (natural and artificial) might be similarly simple enough to be within reach of every interested layperson. A Thousand Brains outlines Hawkins' theory of the mind.
The main idea is quite simple and seems reasonable with neuroscience. The neocortex consists of about 150,000 columns, where each column is a sensory-motor system. Each column has a similar function: representing part of the external world. These different models are linked using reference frames that connect them spatially, temporally or conceptually. The models are based on these reference frames. Each object or concept is represented by a relatively small number of these columns in a distributed fashion. A voting mechanism creates a consensus interpretation from the individual column results.
The book's first third outlined the above theory and was quite interesting. The next part deals with what it would mean for artificial intelligence. The final third of the book deals with topics as diverse as memes, climate change, brain uploading and colonizing different planets; all put under the umbrella of "human intelligence". I found the last chapters a bit unsubstantial. Other authors have treated this topic in much more depth.
The central theory seems to be coherent and supported by data. However, it seems unclear to me what it would mean practically, i.e. whether it can be used to generate some interesting, nontrivial forms of intelligence. For example, Hebbian learning is a theory used successfully in machine learning. Hawkins claims his framework is similar in spirit to Hinton's capsule networks, which yet have to replace conventional artificial neural networks. I follow the reasoning of Yann LeCun. If you have a relevant theory of intelligence, you should have no problem showing superior performance on various learning tasks.
Who is this for?
Anyone interested in artificial intelligence and brain science. The book is accessible, though it lacks the technical details (for which Hawkins refers to his papers).


|
traj_gen
v2.1.0
Optimal trajectory generation library given equality and inequality constraints (C++/Matlab). https://github.com/icsl-Jeon/traj_gen
|
Piecewise polynomial trajectory. In this method, we define the primitive of trajectory as polynomial. More...
#include <TrajGen.hpp>
Public Member Functions | |
| PolyTrajGen (time_knots< T > ts_, PolyParam param_) | |
| void | addPin (const Pin< T, dim > *pin) |
| Vector< T, dim > | eval (T t_eval, d_order d) |
| bool | solve (bool verbose) |
| Public Member Functions inherited from trajgen::TrajGen< T, dim > | |
| TrajGen (time_knots< T > ts_) | |
| TrajGen () | |
| void | addPinSet (const vector< Pin< T, dim > *> &pinPtrSet) |
| void | setDerivativeObj (VectorX< T > weights) |
Private Member Functions | |
| T | B (p_order n, d_order d) |
| VectorX< T > | tVec (T t, d_order d) |
| spMatrixRow< T > | scaleMat (T dt) |
| spMatrixRow< T > | scaleMatBig () |
| spMatrixRow< T > | scaleMatBigInv () |
| spMatrixRow< T > | IntDerSquard (d_order d) |
| ConstraintMatPair< T, dim > | contiMat (uint m, d_order dmax) |
| ConstraintMatPair< T, dim > | fixPinMatSet (const FixPin< T, dim > *pPin, uint blockSize=1) |
| ConstraintMatPair< T, dim > | loosePinMatSet (const LoosePin< T, dim > *pPin, uint blockSize=1) |
| uint | getTotalNeq () |
| QpForm< T, dim > | getQPSet () |
| MatrixRow< T > | coeff2endDerivatives (const spMatrixRow< T > &Aeq) |
| QpForm< T, dim > | mapQP (const QpForm< T, dim > &QpFormOrig) |
Private Attributes | |
| PolyParam | param |
| PolyState * | seg_state_set |
| PolyCoeff< T > ** | poly_coeff_set |
| p_order | N |
Additional Inherited Members | |
| Protected Member Functions inherited from trajgen::TrajGen< T, dim > | |
| void | findSegInterval (T t, uint &m) |
| Find a segment index (0,1,...,M-1) which contains t (ts[m]<= t < ts[m+1] || t< ts[1] || ts[M-1]<= t) More... | |
| void | findSegInterval (T t, uint &m, T &tau) |
| uint | getTotalNineq () |
| Protected Attributes inherited from trajgen::TrajGen< T, dim > | |
| uint | M |
| bool | isSolved = false |
| time_knots< T > | ts |
| vector< FixPin< T, dim > > * | fixPinSet |
| vector< LoosePin< T, dim > > * | loosePinSet |
| set< d_order > * | fixPinOrderSet |
| VectorX< T > | weight_mask |
Piecewise polynomial trajectory. In this method, we define the primitive of trajectory as polynomial.
Optimization is performed w.r.t the coefficient of polynomials or free end-derivative of each polynomial segment
| T | |
| dim |
Definition at line 341 of file TrajGen.hpp.
| trajgen::PolyTrajGen< T, dim >::PolyTrajGen | ( | time_knots< T > | ts_, |
| PolyParam | param_ | ||
| ) |
Definition at line 623 of file TrajGen.hpp.
|
virtual |
Add pin struct to corresponding segment
| T | |
| dim |
| pin |
Reimplemented from trajgen::TrajGen< T, dim >.
Definition at line 638 of file TrajGen.hpp.
|
private |
The nth order coefficient of time vector ([1 t t^2 ... t^N]) when differentiated d times.
| dim |
| n | : target order |
| d | : order of derivative |
Definition at line 672 of file TrajGen.hpp.
|
private |
This function is permutating Aeq*p = beq -> [Aeq ; Ap]*p (Afp * p) = [beq ; bp], where Ap*p = bp is a mapping from poly-coeff to the free end-derivatives. For the convenience, we consider the free end-derivative at the initial end point.
| dim |
| Aeq | only for one dimension (every dims are same) |
Definition at line 994 of file TrajGen.hpp.
|
private |
Equality constraint to connect m segment to m+1 segment (m = 0... M-1)
| dim |
| m | |
| dmax | : we impose dmax continuity (0,1,...,dmax). This is given from outside of this method. |
Definition at line 823 of file TrajGen.hpp.
|
virtual |
Evalute the value of the dth dertivative trajectory at time t. If sill no solution, returing empty vector.
| dim |
| t_eval | evaluation time |
| d | order of derivative |
Implements trajgen::TrajGen< T, dim >.
Definition at line 970 of file TrajGen.hpp.
|
privatevirtual |
Convert the stacked pin information to the constraints Aeq*p = beq. We can consider multiple pin at once
| dim |
| pPin | pointer to the first element of the array pin |
| blockSize | how many pins to be considered |
Implements trajgen::TrajGen< T, dim >.
Definition at line 767 of file TrajGen.hpp.
|
privatevirtual |
construct qp problem
| dim |
Implements trajgen::TrajGen< T, dim >.
Definition at line 863 of file TrajGen.hpp.
|
privatevirtual |
Get the total number of equality constraint (sum (Nc+Nf) for m = 0,,,M-1)
| dim |
Reimplemented from trajgen::TrajGen< T, dim >.
Definition at line 852 of file TrajGen.hpp.
|
private |
{x^(d)(t)}^2 = (tVec(t,d)'Dp)'(tVec(t,d)'*Dp)
| dim |
| d |
Definition at line 749 of file TrajGen.hpp.
|
privatevirtual |
Convert the stacked pin information to the constraints A*p < b. We can consider multiple pin at once
| T | |
| dim |
| pPin | |
| blockSize | how many pins to be considered? total constraints = 2*pin |
Implements trajgen::TrajGen< T, dim >.
Definition at line 794 of file TrajGen.hpp.
|
private |
This function converts original QP problem into the QP of free end-derivatives
| dim |
| QpFormOrig |
Definition at line 1020 of file TrajGen.hpp.
|
private |
p = scaleMat(dt) * phat
| dim |
| dt | segment duration (dTm) |
Definition at line 703 of file TrajGen.hpp.
|
private |
diag([scaleMat(dTm)]_{m=[0,1,..,M-1]}). P = scaleMatBig * Phat
| T | |
| dim |
Definition at line 718 of file TrajGen.hpp.
|
private |
Inverse of scaleMatBig.
| T | |
| dim |
Definition at line 733 of file TrajGen.hpp.
|
virtual |
Solving routine using qpOASES
| dim |
Implements trajgen::TrajGen< T, dim >.
Definition at line 917 of file TrajGen.hpp.
|
private |
time vector ([1 t t^2 ... t^N]) when differentiated d times.
| dim |
| t | |
| d |
Definition at line 691 of file TrajGen.hpp.
|
private |
Definition at line 347 of file TrajGen.hpp.
|
private |
Definition at line 344 of file TrajGen.hpp.
|
private |
Definition at line 346 of file TrajGen.hpp.
|
private |
Definition at line 345 of file TrajGen.hpp.


PUL GitHub Issues
2022-02-26
#226 Bump nokogiri from 1.12.5 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 02:36:17
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 02:36:18.
-
labeled
by None at 2022-02-26 02:36:18.
#227 Bump url-parse from 1.5.3 to 1.5.10
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 10:00:00
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 10:00:02.
-
labeled
by None at 2022-02-26 10:00:02.
#224 Bump url-parse from 1.5.3 to 1.5.7
- Creator:
- dependabot[bot]
- Created:
- 2022-02-17 20:26:21
- Status:
- Closed
(pull request)
- Comments:
- Events:
-
-
closed
by None at 2022-02-26 10:00:03.
-
head_ref_deleted
by None at 2022-02-26 10:00:07.
#746 Bump nokogiri from 1.13.1 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 12:33:41
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 12:33:42.
-
labeled
by None at 2022-02-26 12:33:42.
#27 Bump nokogiri from 1.10.9 to 1.13.2
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 06:57:29
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 06:57:30.
#26 Bump nokogiri from 1.10.9 to 1.12.5
- Creator:
- dependabot[bot]
- Created:
- 2021-09-28 01:31:44
- Status:
- Closed
(pull request)
- Comments:
- Events:
-
-
closed
by None at 2022-02-26 06:57:32.
-
head_ref_deleted
by None at 2022-02-26 06:57:33.
#1800 Bump nokogiri from 1.13.1 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 12:30:04
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 12:30:06.
#516 Bump nokogiri from 1.12.5 to 1.13.2
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 02:13:16
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 02:13:17.
#1315 Bump nokogiri from 1.11.5 to 1.13.2
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 02:33:02
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 02:33:03.
-
labeled
by None at 2022-02-26 02:33:03.
#1013 Bump nokogiri from 1.11.5 to 1.12.5
- Creator:
- dependabot[bot]
- Created:
- 2021-09-27 20:41:32
- Status:
- Closed
(pull request)
- Comments:
- Events:
-
-
closed
by None at 2022-02-26 02:33:05.
-
head_ref_deleted
by None at 2022-02-26 02:33:06.
#1316 Bump url-parse from 1.5.3 to 1.5.10
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 12:20:19
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 12:20:21.
-
labeled
by None at 2022-02-26 12:20:21.
#1314 Bump url-parse from 1.5.3 to 1.5.7
- Creator:
- dependabot[bot]
- Created:
- 2022-02-18 03:19:14
- Status:
- Closed
(pull request)
- Comments:
- Events:
-
-
closed
by None at 2022-02-26 12:20:22.
-
head_ref_deleted
by None at 2022-02-26 12:20:23.
#5000 Bump nokogiri from 1.12.5 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 01:13:01
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 01:13:02.
-
labeled
by None at 2022-02-26 01:13:03.
#312 Bump nokogiri from 1.12.5 to 1.13.2
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 02:40:08
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 02:40:09.
#274 Bump nokogiri from 1.12.5 to 1.13.2
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 04:42:33
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 04:42:34.
-
labeled
by None at 2022-02-26 04:42:34.
#387 Bump url-parse from 1.4.7 to 1.5.10
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 11:32:17
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 11:32:18.
#386 Bump url-parse from 1.4.7 to 1.5.7
- Creator:
- dependabot[bot]
- Created:
- 2022-02-18 00:07:20
- Status:
- Closed
(pull request)
- Comments:
- Events:
-
-
closed
by None at 2022-02-26 11:32:20.
-
head_ref_deleted
by None at 2022-02-26 11:32:21.
#75 Bump nokogiri from 1.12.5 to 1.13.2
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 12:33:36
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 12:33:38.
#59 Bump nokogiri from 1.12.5 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 12:16:08
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 12:16:09.
-
labeled
by None at 2022-02-26 12:16:09.
#2879 Bump nokogiri from 1.13.1 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 01:13:01
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 01:13:02.
-
labeled
by None at 2022-02-26 01:13:02.
#37 Bump nokogiri from 1.12.5 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 06:57:10
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 06:57:12.
#1854 Bump nokogiri from 1.12.5 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 06:42:28
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 06:42:29.
-
labeled
by None at 2022-02-26 06:42:29.
#986 Bump nokogiri from 1.11.7 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 05:48:07
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 05:48:08.
-
labeled
by None at 2022-02-26 05:48:08.
#907 Bump nokogiri from 1.11.7 to 1.12.5
- Creator:
- dependabot[bot]
- Created:
- 2021-09-27 23:23:03
- Status:
- Closed
(pull request)
- Comments:
- Events:
-
-
closed
by None at 2022-02-26 05:48:10.
-
head_ref_deleted
by None at 2022-02-26 05:48:11.
#987 Bump url-parse from 1.5.3 to 1.5.10
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 19:04:48
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 19:04:49.
-
labeled
by None at 2022-02-26 19:04:49.
#983 Bump url-parse from 1.5.3 to 1.5.7
- Creator:
- dependabot[bot]
- Created:
- 2022-02-18 12:59:28
- Status:
- Closed
(pull request)
- Comments:
- Events:
-
-
closed
by None at 2022-02-26 19:04:50.
-
head_ref_deleted
by None at 2022-02-26 19:04:52.
#1056 Bump nokogiri from 1.12.5 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 02:26:42
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 02:26:43.
-
labeled
by None at 2022-02-26 02:26:43.
#51 Bump nokogiri from 1.12.5 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 12:33:34
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 12:33:35.
#690 Bump nokogiri from 1.11.3 to 1.13.3
- Creator:
- dependabot[bot]
- Created:
- 2022-02-26 06:42:26
- Status:
- Open
(pull request)
- Events:
-
-
labeled
by None at 2022-02-26 06:42:27.
-
labeled
by None at 2022-02-26 06:42:27.
#688 Bump nokogiri from 1.11.3 to 1.13.1
- Creator:
- dependabot[bot]
- Created:
- 2022-02-15 13:42:32
- Status:
- Closed
(pull request)
- Comments:
- Events:
-
-
closed
by None at 2022-02-26 06:42:29.
-
head_ref_deleted
by None at 2022-02-26 06:42:30.


Configures a computer's DSC Local Configuration Manager (LCM).
Initialize-Lcm -Push -ComputerName <String[]> [-Credential <PSCredential>] [-CertificateID <String>] [-CertFile <String>] [-CertPassword <Object>] [-RebootIfNeeded] [-WhatIf] [-Confirm] [<CommonParameters>]
Initialize-Lcm -ServerUrl <String> [-AllowUnsecureConnection] -ConfigurationID <Guid> -ConfigurationMode <String> -ComputerName <String[]> [-Credential <PSCredential>] [-AllowModuleOverwrite] [-CertificateID <String>] [-CertFile <String>] [-CertPassword <Object>] [-RebootIfNeeded] [-RefreshIntervalMinutes <Int32>] [-ConfigurationFrequency <Int32>] [-LcmCredential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
Initialize-Lcm -SourcePath <String> -ConfigurationID <Guid> -ConfigurationMode <String> -ComputerName <String[]> [-Credential <PSCredential>] [-AllowModuleOverwrite] [-CertificateID <String>] [-CertFile <String>] [-CertPassword <Object>] [-RebootIfNeeded] [-RefreshIntervalMinutes <Int32>] [-ConfigurationFrequency <Int32>] [-LcmCredential <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
The Local Configuration Manager (LCM) is the Windows PowerShell Desired State Configuration (DSC) engine. It runs on all target computers, and it is responsible for calling the configuration resources that are included in a DSC configuration script. It can be configured to receive changes (i.e. Push
mode) or pull and apply changes its own changes (i.e. Pull
mode).
Push mode is simplest. The LCM only applies configurations that are pushed to it via Start-DscConfiguration
. It is expected that all resources needed by the LCM are installed and available on the computer. To use Push
mode, use the Push
switch.
NOTE: You can't use Initialize-Lcm
to put the local configuration manager in pull mode on Windows 2016 or later.
In order to get a computer to pulls its configuration automatically, you need to configure its LCM so it knows where and how to find its DSC pull server. The pull server holds all the resources and modules needed by the computer's configuration.
The LCM can pull from two sources: a DSC website (the web download manager) or an SMB files hare (the file download manager). To use the web download manager, specify the URL to the website with the ServerUrl
parameter. To use the file download manager, specify the path to the resources with the SourcePath
parameter. This path can be an SMB share path or a local (on the LCM's computer) file system path. No matter where the LCM pulls its configuration from, you're responsible for putting all modules, resources, and .mof files at that location.
The most frequently the LCM will download new configuration is every 15 minutes. This is the minimum interval. The refresh interval is set via the RefreshIntervalMinutes
parameter. The LCM will only apply a configuration on one of the refreshes. At most, it will apply configuration every 2nd refresh (i.e. every other refresh). You can control the frequency when configuration is applied via the ConfigurationFrequency
parameter. For example, if RefreshIntervalMinutes
is set to 30
, and ConfigurationFrequency
is set to 4, then configuration will be downloaded every 30 minutes, and applied every two hours (i.e. 30 * 4 = 120
minutes).
The ConfigurationMode
parameter controls how the LCM applies its configuration. It supports three values:
ApplyOnly
: Configuration is applied once and isn't applied again until a new configuration is detected. If the computer's configuration drifts, no action is taken.ApplyAndMonitor
: The same as ApplyOnly
, but if the configuration drifts, it is reported in event logs.ApplyAndAutoCorrect
: The same as ApplyOnly
, and when the configuratio drifts, the discrepency is reported in event logs, and the LCM attempts to correct the configuration drift.When credentials are needed on the target computer, the DSC system encrypts those credentials with a public key when generating the configuration. Those credentials are then decrypted on the target computer, using the corresponding private key. A computer can't run its configuration until the private key is installed. Use the CertFile
and CertPassword
parameters to specify the path to the certificate containing the private key and the private key's password, respectively. This function will use Carbon's Install-Certificate
function to upload the certificate to the target computer and install it in the proper Windows certificate store. To generate a public/private key pair, use New-RsaKeyPair
.
Returns an object representing the computer's updated LCM settings.
See Windows PowerShell Desired State Configuration Local Configuration Manager for more information.
This function is not available in 32-bit PowerShell 4 processes on 64-bit operating systems.
Initialize-Lcm
is new in Carbon 2.0.
You cannot use `Initialize-Lcm
| Name | Type | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|---|
| Push | SwitchParameter | Configures the LCM to receive its configuration via pushes using |
true | false | False |
| ServerUrl | String | Configures the LCM to pull its configuration from a DSC website using the web download manager |
true | false | |
| AllowUnsecureConnection | SwitchParameter | When using the web download manager, allow the |
false | false | False |
| SourcePath | String | Configures the LCM to pull its configuration from an SMB share or directory. This is the path to the SMB share where resources can be found. Local paths are also allowed, e.g. |
true | false | |
| ConfigurationID | Guid | The GUID that identifies what configuration to pull to the computer. The Local Configuration Manager will look for a '$Guid.mof' file to pull. |
true | false | |
| ConfigurationMode | String | Specifies how the Local Configuration Manager applies configuration to the target computer(s). It supports three values: |
true | false | |
| ComputerName | String[] | The computer(s) whose Local Configuration Manager to configure. |
true | false | |
| Credential | PSCredential | The credentials to use when connecting to the target computer(s). |
false | false | |
| AllowModuleOverwrite | SwitchParameter | Controls whether new configurations downloaded from the configuration server are allowed to overwrite the old ones on the target computer(s). |
false | false | False |
| CertificateID | String | The thumbprint of the certificate to use to decrypt secrets. If |
false | false | |
| CertFile | String | The path to the certificate containing the private key to use when decrypting credentials. The certificate will be uploaded and installed for you. |
false | false | |
| CertPassword | Object | The password for the certificate specified by |
false | false | |
| RebootIfNeeded | SwitchParameter | Reboot the target computer(s) if needed. |
false | false | False |
| RefreshIntervalMinutes | Int32 | The interval (in minutes) at which the target computer(s) will contact the pull server to download its current configuration. The default (and minimum) interval is 15 minutes. |
false | false | 30 |
| ConfigurationFrequency | Int32 | The frequency (in number of |
false | false | 1 |
| LcmCredential | PSCredential | The credentials the Local Configuration Manager should use when contacting the pull server. |
false | false | |
| WhatIf | SwitchParameter | false | false | ||
| Confirm | SwitchParameter | false | false | ||
| CommonParameters | This cmdlet supports common parameters. For more information type Get-Help about_CommonParameters . |
Initialize-Lcm -Push -ComputerName '<IP_ADDRESS>'
Demonstrates how to configure an LCM to use push mode.
Initialize-Lcm -ConfigurationID 'fc2ffe50-13cd-4cd2-9942-d25ac66d6c13' -ComputerName '<IP_ADDRESS>' -ServerUrl 'https://<IP_ADDRESS>/PSDSCPullServer.dsc'
Demonstrates the minimum needed to configure a computer (in this case, <IP_ADDRESS>
) to pull its configuration from a DSC web server. You can't do this on Windows 2016 or later.
Initialize-Lcm -ConfigurationID 'fc2ffe50-13cd-4cd2-9942-d25ac66d6c13' -ComputerName '<IP_ADDRESS>' -SourcePath '\\<IP_ADDRESS>\DSCResources'
Demonstrates the minimum needed to configure a computer (in this case, <IP_ADDRESS>
) to pull its configuration from an SMB file share. You can't do this on Windows 2016 or later.
Initialize-Lcm -CertFile 'D:\Projects\Resources\PrivateKey.pfx' -CertPassword $secureStringPassword -ConfigurationID 'fc2ffe50-13cd-4cd2-9942-d25ac66d6c13' -ComputerName '<IP_ADDRESS>' -SourcePath '\\<IP_ADDRESS>\DSCResources'
Demonstrates how to upload the private key certificate on to the targer computer(s).
Initialize-Lcm -RefreshIntervalMinutes 25 -ConfigurationFrequency 3 -ConfigurationID 'fc2ffe50-13cd-4cd2-9942-d25ac66d6c13' -ComputerName '<IP_ADDRESS>' -SourcePath '\\<IP_ADDRESS>\DSCResources'
Demonstrates how to use the RefreshIntervalMinutes
and ConfigurationFrequency
parameters to control when the LCM downloads new configuration and applies that configuration. In this case, new configuration is downloaded every 25 minutes, and apllied every 75 minutes (RefreshIntervalMinutes * ConfigurationFrequency
).


:: com :: sun :: star :: auth ::
|
| interface XSSOPasswordCache |
|
- Description
- supports password caching for security mechanisms which use passwords as
credentials or as an input to credential creation but don't have
an external method to cache these passwords.
- Since
- OOo 1.1.2
|
| Methods' Summary |
| addPassword |
adds a username/password combination to the cache.
|
| getPassword |
retrieves a password for a given user from the cache.
|
| removePassword |
removes a password from the cache
|
| Methods' Details |
addPassword
- Description
- adds a username/password combination to the cache.
If an entry for the specified username already exists in the cache, it
will be overwritten.
- Parameter UserName
- the user name to add
- Parameter Password
- the associated password
- Parameter Persist
- indicates whether or not the username/password combination should be
persisted
|
|
getPassword
- Description
- retrieves a password for a given user from the cache.
Non persistent cache is searched first, followed by the
persistent cache ( if it exists ).
- Parameter UserName
- the name of the user whose password should be retrieved
- Parameter Persist
- indicates whether or not the password is persistent
- Returns
- the required password
|
|
removePassword
- Description
- removes a password from the cache
- Parameter UserName
- the name of the user whose password should be removed.
- Parameter RemovePersist
- indicates whether or not the password should also be removed, if
present, from persistent cache.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


Analyzing the wireframe of 3 sites in terms of user experience and design.
apple.com
The wireframe of Apple's home page is simple and easy to use, with a very short navigation and just 5 highlighted visual stories/promotions. I think they have designed it with the mobile user in mind.
As I mentioned in my week 1 tech blog post, I miss the traditional even more simplistic and zen approach of Apple.
amazon.com
I'm a fan of Amazon's UX super-high standards. Maybe this is not the beautiest site on earth, but it is extremely user-friendly and totally focused on user customizadion.
nyt.com
NYT is probably the less creative project among the three selected, but it's still elegant and usable. It seems to me that the main goal of the developer is to have a look as similar as possible to the traditional newspaper.