Skip to content

Instantly share code, notes, and snippets.

View tracend's full-sized avatar
🎯
Focusing

✌ Makis Tracend tracend

🎯
Focusing
View GitHub Profile
@tracend
tracend / meta-social.html
Created April 10, 2017 02:32
Social media meta tags
<meta name="description" content="{{site.description}}">
<!-- Twitter Card data -->
<meta name="twitter:card" content="{{site.name}} - {{site.description}}">
<meta name="twitter:site" content="@kdiweb">
<meta name="twitter:title" content="{{site.name}}">
<meta name="twitter:description" content="{{site.description}}">
<meta name="twitter:creator" content="@kdiweb">
<!-- Twitter summary card with large image must be at least 280x150px -->
@tracend
tracend / makesites-insider-201608.md
Last active January 4, 2018 02:00
The Everlasting Code #makesites #insider

The Everlasting Code

Every line's been accounted for and tested… The community has voted with their applications and contributions… When all's said and done, there's a piece of software left, a monument, testament to the effort and ability put into creating a working solution. Now, lets make sure it stays relevant and delay the inevitability of becoming a relic of the past.


There are probably very few sayings more saturated than: "Sharing is caring". Yet, collaborative development is proven to generate better results. The more eyes look at the source the better the chances of improving it to create a better solution. This doesn't change after the core work is finished.

Forbidden & Forgotten

@tracend
tracend / makesites-insider-201607.md
Last active July 8, 2016 01:41
Don't stop committing #makesites #insider

Don't stop committing

You did it. You started your own project, delivered a working solution, even got traction from the community. It's all happening, and it's happening pretty fast. All your hopes and dreams came true. The feeling of relief should be imminent, but there are no signs of that happening any time soon... The journey has only just begun.


It's no secret how developers have adopted the pop-culture quote "The cake is a lie" to underline how all their efforts will ultimately have no reward. Yet we witness year after year an increasing number of aspiring young minds from various backgrounds, ranging from small towns to inner-city and suburbia, taking the pledge to go forward innovating. The reasons for this may vary but they always seem to have a solid foundation on idealism and personal gratification. This attitude of newcomers is a good reminder why anyone of us got into software development and can help recalibrate our compas

@tracend
tracend / underscore-SVGtoBase64.js
Created June 28, 2016 05:37
Underscore mixin: SVGtoBase64
// Underscore mixin: SVGtoBase64
// Usage: background-image: url(data:image/svg+xml;base64,[output]);
_.mixin({
SVGtoBase64: function( svg ){
// fallback (to the first item in the document);
if( typeof svg != "string") svg = new XMLSerializer().serializeToString(document.getElementsByTagName("svg")[0]);
var base64 = window.btoa( svg );
// return the whole css line?
return base64;
}
@tracend
tracend / mysql.md
Created June 18, 2016 20:46
SQL notes

Brute force string update

Change the text content in the db using:

UPDATE [table] SET [field] = REPLACE([field],'[FIND]','[REPLACE]');

where field is a column name like post_content or guid.

@tracend
tracend / makesites-insider-201606.md
Last active June 3, 2016 02:14
Nothing source matters #makesites #insider

Nothing source matters

As software is dominating our modern society in all regards, there are various practices, methodologies and business models surrounding its evolution; although the holy grail of software development could be open source. The community, the personal success stories, the historical paradigm shifts that have changed the world many times are all very compelling for young and ambitious developers alike. Open source may seem as alluring to some as it is unobtainable to others...


Before releasing anything as open source, before even writing the first line of code, there are questions haunting any developer's subconscious; more so external factors from third-parties and their reactions that can pressure or worse deter them from contributing any open source.

It's not for you

@tracend
tracend / makesites-insider-201605.md
Last active May 9, 2016 11:07
Performant #makesites #insider

Performant

(jargon, chiefly computing) Capable of or characterized by an adequate or excellent level of performance or efficiency. [quotations:] Ours is a performant network monitoring and systems monitoring tool.This software is more performant than its predecessor. Of or relating to performanceWictionary


This definition of "performant", unofficial as it may be, is a fine starting point to try and identify its meaning, attributes and characteristics. Following is a break down of our main points of interest.

@tracend
tracend / makesites-insider-201604.md
Last active April 7, 2016 08:23
Stay Hungry, Stay Foolish #makesites #insider

Stay Hungry, Stay Foolish

In what is one of the most memorable "borrowed" quotes of Steve Jobs, this piece of wisdom echoes true across the ages. It is well suited to rekindle our interest and appreciation for it with this brief walkthrough, possibly highlighting less obvious aspects of its meaning, coinciding with the 40th anniversary of Apple.


No one wants to be proven wrong. It has negative effects for our psychology and our track record. Failing in silence seems preferable; at least you don't have to face the public ridicule in shame. But why did we have to be right in the first place? Just because, we know we had to be. Because people were counting on us and we put all this effort into being confident and convincing everyone that we were right... We may have made empty promises and we don't want to face the consequences. That is the source of this fear.

Lets take a step back, back when we were kids. Everyone that enjoys their profession has a memory when they discovered that this is what they l

@tracend
tracend / .readme.md
Last active July 16, 2016 05:38
CSS Parallax: a css-only solution for a parallax effect
@tracend
tracend / makesites-insider-201603.md
Last active March 8, 2016 13:12
A Developer Revolution #makesites #insider

A Developer Revolution

We have to make our tech community great again. We have to rebuild our industry. And we have a long way to go. We are just in such serious trouble because we've gone down the wrong path. I am so sick of the 1% getting all this preferential treatment. Enough is enough. We need to unite and work together if we are going to get through this.


Most of us, when we began developing, we had no formal organization, we had no money, and we were competing head-to-head with the most powerful technology corporations of the world. And, let me take this opportunity to thank the many, many contributors who have been working tirelessly all these years. Our community has worked night and day, made issues, and tried out a heck of a lot of ideas, and we provided solutions because of their energy. Thank you all so much.

In my view, the Open Source movement has been an important step forward, no question about it. But, we can, and must, do better. And I have to tell you I'm here because I have