Skip to content

Instantly share code, notes, and snippets.

View xavortm's full-sized avatar
👋

Alexander Dimitrov xavortm

👋
View GitHub Profile
1
00:00:30,869 --> 00:00:34,123
<b>ДЖЕЙМИ ФОКС</b>
2
00:00:35,499 --> 00:00:38,685
<b>КРИСТОФ ВАЛЦ</b>
3
00:00:40,004 --> 00:00:43,173
/**
* Custom stylings (Alex)
* ======================
*/
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 16px;
line-height: 1.7;
}
[page_promo style="inline solid" heading="Page promo heading content" button_text="Read more!" description="Citizens of change microloans country democratizing the global financial system cooperation initiative voice rural new approaches Rosa Parks pathway to a better life inclusive capitalism. Reproductive rights policymakers smart cities engage momentum." url="http://devrix.com"]
@xavortm
xavortm / pardot_sm.css
Last active November 10, 2016 14:03
included are system fonts for unified look, remove if needed
/* uses body to overwrite all other stylings without !important */
body {
padding: 0;
margin: 0;
/* Use system fonts for best rendering */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
@xavortm
xavortm / pardot.css
Last active November 9, 2016 10:24
**Updated**
/* BG E8F0E3 */
html body form.form {
background-color: #E8F0E3;
/* padding: 40px; */
}
html body .form .form-field {
background-color: #B3CE67;
margin-bottom: 20px;

Solving the time travel paradoxes.

Imagine the current time we all exist in as a single line on a sheet of paper where every single moment is located on certain distance of the beginning of the line. This line does not get longer or anything, it is with fixed length (one you can not know if you are on that very line) - every moment of existence is on that line and "time" is at what place you are on that line.

Now how do we travel in time? First comes the problem with the "speed" of time. It is rather useless in this explanation, since no matter how fastly we move through the line we would experience the same effects from it and time would seem the same. Lets step aside for a moment. Say we are only looking from aside to this line and time flows normally for us as observers but its not moving on the line. The current "time stamp" remains on position X - time has stopped. If you are on that line you wouldn't experience the time stopping. Nothing would happen and there is no way of recording or observing thi

/** file: admin.css
**
** Samsung Galaxy S5 : 1080x1920 resolution, simulate @ 170% zoom
**
** Sass Source: ./assets/stylesheets/admin/admin.scss
**/
@import '../include/_vars_for_admin';
// Variables to be added in include/_var_for_admin
$color_primary: #344f84;
body:before {
position: fixed;
content: ' ';
width: 100%; height: 100%;
background: white;
z-index: 99;
mix-blend-mode: difference;
pointer-events:none;
}
var loadIcons = function () {
var time = 0;
$('.champions-grid .champ-icon').each(function( el ) {
var currElement = $(this);
setTimeout( function( ) {
console.log(currElement);
currElement.addClass('loaded');
}, time);
$( 'a[href*=#]:not([href=#])' ).on( 'click', function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 500);
return false;
}