Skip to content

Instantly share code, notes, and snippets.

View Vlasterx's full-sized avatar
🛸
Working from mothership

Vladimir Jovanović Vlasterx

🛸
Working from mothership
  • Open Law Library
  • Belgrade, Serbia
  • 13:22 (UTC +02:00)
View GitHub Profile
@Vlasterx
Vlasterx / picard-facepalm-ascii.md
Last active February 9, 2022 18:41 — forked from aim-up/picard-facepalm-ascii.txt
Captain Picard Facepalm ASCII
...........................................________........................
....................................,.-‘”...................``~.,..................
.............................,.-”...................................“-.,............
.........................,/...............................................”:,........
.....................,?......................................................\,.....
.................../...........................................................,}....
................./......................................................,:`^`..}....
.............../...................................................,:”........./.....
..............?.....__.........................................:`.........../.....
@Vlasterx
Vlasterx / 0_reuse_code.js
Created November 17, 2015 08:13
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<script type="text/javascript">
(function () {
"use strict";
// once cached, the css file is stored on the client forever unless
// the URL below is changed. Any change will invalidate the cache
var css_href = './index_files/web-fonts.css';
// a simple event handler wrapper
function on(el, ev, callback) {
if (el.addEventListener) {
el.addEventListener(ev, callback, false);
@Vlasterx
Vlasterx / dynamic_gplus.js
Last active August 29, 2015 14:17 — forked from Takazudo/dynamic_gplus.js
Google+ follow in dropdown menu
var $ = jQuery;
var gapi;
var googlePlusAdded = false;
var gplusoneLoaded = false;
var gplusClass = ".button__googlePlus"; // Class where you want to insert G+ button
var gplusPage = "http://your_google_plus_page";
// Add Google+ on menu hover
$('#menu').hover(function() { // ID or Class of your menu hover
if (!googlePlusAdded) {