This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState, useEffect } from 'react'; | |
| import { ArrowRight, Trophy } from 'lucide-react'; | |
| const OnboardingQuiz = () => { | |
| const [currentQuestionIndex, setCurrentQuestionIndex] = useState(0); | |
| const [isAnimating, setIsAnimating] = useState(false); | |
| const [selectedAnswer, setSelectedAnswer] = useState(null); | |
| const [showXPAlert, setShowXPAlert] = useState(false); | |
| const [displayedXP, setDisplayedXP] = useState(0); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var lineReader = require('readline').createInterface({ | |
| input: require('fs').createReadStream('./focussion-filtered-2.jl') | |
| }); | |
| var results = {}; | |
| lineReader.on('line', function (line) { | |
| var json = JSON.parse(line); | |
| try { | |
| if (json["username"] && json["username"][0] === "/ViewsOfParadise") { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function() { | |
| $.each( $(".submission_user_select"), function(key, el) { | |
| $(el).tokenInput("/teams/"+$(el).attr('data-team-id')+"/team_members.json", { | |
| crossDomain: false, | |
| prePopulate: $("#submission_user_id").data("pre"), | |
| hintText: "Type a member name...", | |
| tokenLimit: 1, | |
| propertyToSearch: "full_name", | |
| placeholder: "Type a member name...", | |
| theme: "facebook", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "post": { | |
| "id": "21", | |
| "title": "Gettysburg Address", | |
| "publishDate": "000000000", | |
| "blocks": [ | |
| { | |
| "orderingId": "0.0", | |
| "tag": "p", | |
| "text": "Four score and **seven** years ago...", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gasgas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function(){ | |
| $('#response_note').enableSubmitOnType(); | |
| }); | |
| jQuery.fn.enableSubmitOnType = function() { | |
| $("input[type=submit]").attr("disabled", "disabled"); | |
| this.keyup(function(e){ | |
| var textInput = $(e.target); | |
| var formEl = $(textInput).closest('form'); | |
| var submitButton = $(formEl).find('input[type=submit]'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| body { | |
| font-family: 'Proxima Nova', 'Helvetica Neue', Helvetica, sans-serif; | |
| } | |
| .img-wrapper { | |
| position: relative; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class RelationshipsController < ApplicationController | |
| before_filter :authenticate | |
| def create | |
| @user = User.find(params[:relationship][:followed_id]) | |
| current_user.follow!(@user) | |
| respond_to do |format| | |
| format.html { redirect_to @user } | |
| format.js | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: #ffffff; | |
| .action-container { | |
| background: #ddd; | |
| width: 600px; | |
| height: 100px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a:hover { | |
| text-decoration: underline !important; | |
| } | |
| td.promocell p { | |
| color:#e1d8c1; | |
| font-size:16px; | |
| line-height:26px; | |
| font-family:'Helvetica Neue',Helvetica,Arial,sans-serif; | |
| margin-top:0; | |
| margin-bottom:0; |
NewerOlder