Skip to content

Instantly share code, notes, and snippets.

View aklef's full-sized avatar
🏠
DM me! I'm working from home

Andréas aklef

🏠
DM me! I'm working from home
View GitHub Profile
@aklef
aklef / (Inline) Sort XXXX table.js
Last active August 10, 2016 19:39
Sortable Skuid tables! ~~~~ Child page invokation snippet! Master page snippet here: https://gist.github.com/aklef/10f96f33903af2c2d5d4c2074ac60a3d
(function(skuid)
{
'use strict';
var sortable = skuid.snippet.getSnippet('sortable'),
tableId = 'sk-39dlIj-483',
orderByFieldApiName = 'Sprint_Rank__c',
spinnerURL = ''; // will use default
// sortable(arguments[0].something..., orderByFieldApiName, spinnerURL); // could call from AF and get context as argument....
@aklef
aklef / (Snippet) sortable.js
Last active October 2, 2016 07:28
Sortable Skuid tables! ~~~~ As a master page snippet invokable on all child pages! Child page invokation snippet here: https://gist.github.com/aklef/439781c895f1992202e4c9637afc12ba
var $ = skuid.$, console= window.console;
console.log(arguments);
var tableId = arguments[0],
orderByFieldApiName = arguments[1],
spinnerURL = arguments[2] || 'http://imgur.com/a/x2SJZ',
component, height;
$(document.body).one('pageload', function ()
@aklef
aklef / cf-ddns.sh
Last active October 17, 2016 03:51 — forked from benkulbertis/cloudflare-update-record.sh
Cloudflare API v4 Dynamic DNS updater for BSD Bash
#!/bin/sh
#
# 10/16/2016
# Cloudflare api script written in bash
#
# Using crontab, you should schedule this to run daily
# Something like: 0 */12 * * * (for noon and midnight)
# CHANGE THESE
cf_email="user@example.com"
@aklef
aklef / Outlook Icon Replace.user.js
Last active April 30, 2017 05:33
Outlook Icon Replace
// ==UserScript==
// @name Outlook Icon Replace
// @version 0.1
// @description Replace the new outlook icon with the old one
// @author kleftotronic
// @date 10/09/2016
// @match *://outlook.live.com/*
// @namespace https://klef.ca/gmscripts
// @require https://code.jquery.com/jquery-latest.js
// @grant none
@aklef
aklef / keybase.md
Created November 12, 2017 22:30
Keybase!

Keybase proof

I hereby claim:

  • I am aklef on github.
  • I am aklef (https://keybase.io/aklef) on keybase.
  • I have a public key ASC1a7wCB8kakWSXFihEZWUL_MOJKrhfIi_9_4NyVoQY1Qo

To claim this, I am signing this object:

@aklef
aklef / Outlook-Tidy.css
Created November 13, 2017 21:42
Outlook.com Tidy! (exported) Must be re-imported into Stylish to work!
@-moz-document domain("live.com") {
/*
Outlook.com Tidy V4.1.0
By BoffinbraiN
Modified by KLEFTO
*/
@namespace url(http://www.w3.org/1999/xhtml);
/* Outlook.com version 2017-07 */
@aklef
aklef / uoCampusLessShitty.css
Last active November 13, 2017 21:43
uoCampus LessShitty
/* MAKE uOcampus BETTER!!! */
.ps_pagecontainer {
text-align: center;
}
table.PSPAGECONTAINER table {
width: 100%;
}
.PSPAGECONTAINER {
@aklef
aklef / uOzoneKeepInFavorites.css
Last active November 13, 2017 21:43
uOzone Remove Not From Favorites
a[title="Remove from favourite applications"]{
display:none;
}
/* Applies to [URLs matching the regexp] https:\/\/uozone\d.uottawa.ca\/apps */