- Slack
- Login to GSuite
- 1Password (https://github.com/lifesum/web-python/wiki/1Password) Get accepted by @erik
- Github
- Added to Github org and Dev Team (@lars )
- Add SSH key
- Install Docker
- Install Tunnelblick VPN
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(c,a){if(!a.__SV){var b=window;try{var d,m,j,k=b.location,f=k.hash;d=function(a,b){return(m=a.match(RegExp(b+"=([^&]*)")))?m[1]:null};f&&d(f,"state")&&(j=JSON.parse(decodeURIComponent(d(f,"state"))),"mpeditor"===j.action&&(b.sessionStorage.setItem("_mpcehash",f),history.replaceState(j.desiredHash||"",c.title,k.pathname+k.search)))}catch(n){}var l,h;window.mixpanel=a;a._i=[];a.init=function(b,d,g){function c(b,i){var a=i.split(".");2==a.length&&(b=b[a[0]],i=a[1]);b[i]=function(){b.push([i].concat(Array.prototype.slice.call(arguments, | |
| 0)))}}var e=a;"undefined"!==typeof g?e=a[g]=[]:g="mixpanel";e.people=e.people||[];e.toString=function(b){var a="mixpanel";"mixpanel"!==g&&(a+="."+g);b||(a+=" (stub)");return a};e.people.toString=function(){return e.toString(1)+".people (stub)"};l="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking h |
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
| const paymentSteps = { | |
| initial: 'start', | |
| states: { | |
| start: { | |
| on: { | |
| '': [ | |
| { | |
| target: 'freePurchase', | |
| cond: context => context.discount === 100, | |
| }, |
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
| <?php | |
| /** | |
| * Plugin Name: Lifesum Rest Multiple Post Plugin | |
| * Plugin URI: https://www.lifesum.com/ | |
| * Description: Query multiple post types at once | |
| * Version: 1.0 | |
| * Author: Lifesum Web | |
| * Author URI: http://lifesum.com/ | |
| **/ |
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 from 'react' | |
| export default function SmallSpinner() { | |
| return ( | |
| <div> | |
| <svg width="40" height="40" viewBox="0 0 50 50"> | |
| <path | |
| fill="#6DC790" | |
| d="M25.251 6.461c-10.318 0-18.683 8.365-18.683 18.683h4.068c0-8.071 6.543-14.615 14.615-14.615V6.461z" | |
| > |
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 PropTypes from 'prop-types' | |
| import React from 'react' | |
| import { findDOMNode } from 'react-dom' | |
| import styled from 'common/styled/styled' | |
| import './TouchFeedback.scss' | |
| const TOUCH_DELAY = 100 | |
| class TouchFeedback extends React.PureComponent { |
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
| const regex = /(grow|shrink|rotate|flip|right|left|up|down)-(\d+.?\d?)/g; | |
| let matches; | |
| let obj = {}; | |
| while(matches = regex.exec(transformString)) { | |
| const property = matches[1]; | |
| const value = | |
| obj[matches[1]] = matches[2]; | |
| } |
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
| [...document.querySelectorAll('.js-list-content')] | |
| .forEach(function(list) { | |
| if( (list.querySelector('.js-list-name-assist').innerHTML === 'Implementing' | |
| || list.querySelector('.js-list-name-assist').innerHTML === 'Review') | |
| && [...list.querySelectorAll('[title="Dev"]')].length > 2) { | |
| list.style.background = 'red'; | |
| } | |
| }) |
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
| [user] | |
| email = gustav.lindberg@dynabyte.se | |
| name = Gustav Lindberg | |
| [merge] | |
| tool = bc4 | |
| [mergetool "kdiff3"] |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.Text; | |
| using System.Web; | |
| using FirstOnSiteDal; | |
| using FirstonsiteDomainClasses; | |
| using FirstonsiteLogic.Abstract.Payments; | |
| using PayPal; | |
| using PayPal.Api.Payments; |