Skip to content

Instantly share code, notes, and snippets.

Alexander Dimitrov xavortm

Block or report user

Report or block xavortm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2dce16d0aabfe09092f96515e298ce6f
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
View freearticlesbase.css
/**
* 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;
}
View gist:db6a3cc28df57dfda23f2f5b7a8ef8fb
[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 Nov 10, 2016
included are system fonts for unified look, remove if needed
View pardot_sm.css
/* 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 Nov 9, 2016
**Updated**
View pardot.css
/* BG E8F0E3 */
html body form.form {
background-color: #E8F0E3;
/* padding: 40px; */
}
html body .form .form-field {
background-color: #B3CE67;
margin-bottom: 20px;
View timetravel.md

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

View admin.scss
/** 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;
View always-dark-theme.css
body:before {
position: fixed;
content: ' ';
width: 100%; height: 100%;
background: white;
z-index: 99;
mix-blend-mode: difference;
pointer-events:none;
}
View gist:1162c7459a7da6552f51
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);
View gist:0f8ca0f25176c9dd2006
$( '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;
}
You can’t perform that action at this time.