Skip to content

Instantly share code, notes, and snippets.

View hpstuff's full-sized avatar
🏠
Working from home

Rumen Rusanov hpstuff

🏠
Working from home
View GitHub Profile
h2. Assumptions
Text Assumptions
h2. Questions
Text Questions
"server": {
"tables": {
"ImBnHMmOnndxre8XSkl": {
"deck": {
"QH": {
"name": "Quine of hard",
"value": 0
}
},
"hand": {
@hpstuff
hpstuff / velocity.js
Created January 12, 2016 13:20
velocity.js
$(".hamb").on("click", function() {
$(this).hasClass("open") ? : closeMenu(this), openMenu(this);
});
function openMenu(hamb){
$(hamb).addClass("open");
$(hamb).find("i").addClass("cross").removeClass("menubar");
$.Velocity.RunSequence(menuOpen);
}
@hpstuff
hpstuff / graph.js
Last active April 9, 2016 09:17
graph
[
{
id: 1,
event_id: 11,
neighbours: [
{
id: 2,
distance: 5
},
{
List<BusinesHours> hours;
List<WeekViewModel> weeks;
{
"data": [
{
"day": "2",
"fromtime": "00:10:33",
"totime": "00:22:22"
},
{
"day": "3",
"fromtime": "00:01:23",
{
"errors": {
"email": {
"source": {
"pointer": "\/data\/email"
},
"detail": "There are no business hours added for this doctor."
}
}
}
import ControllerType from 'controllers-types';
@ControllerType(ControlerTypes.PopOver)
export default Ember.Route.extend({
});
App.PostsRoute = Ember.Route.extend({
renderTemplate: function() {
this.render({ outlet: 'sidebar' });
@hpstuff
hpstuff / accordion.html
Last active November 7, 2016 09:41
Components
<AccordionComponent>
<AccordionItemComponent *ngFor="item of someItems">
<span header>item.title</span>
<div class="custom-styles">
{{item.content}}
</div>
</AccordionItemComponent>
</AccordionComponent>
@hpstuff
hpstuff / accent-contents.json
Last active November 17, 2016 16:09
api content models
{
"id": 1,
"type": "accent-contents",
"attributes": {
"order": 1,
"content": "<strong font-size=\"30px\">307,000</strong><p>The website managed over 307,000 visitors in the space of the first 2 days</p>"
}
}