https://github.com/ReactiveCocoa/ReactiveCocoa
https://github.com/Alamofire/Alamofire
https://github.com/antitypical/Result
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"syscall" | |
) | |
func main() { |
# lazyload nvm | |
# all props goes to http://broken-by.me/lazy-load-nvm/ | |
# grabbed from reddit @ https://www.reddit.com/r/node/comments/4tg5jg/lazy_load_nvm_for_faster_shell_start/ | |
lazynvm() { | |
unset -f nvm node npm npx | |
export NVM_DIR=~/.nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
if [ -f "$NVM_DIR/bash_completion" ]; then | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion |
typedef char C; | |
typedef long I; | |
typedef struct a { | |
I t, r, d[3], p[2]; | |
} *A; | |
#define P printf | |
#define R return | |
#define V1(f) A f(w)A w; |
#!/usr/bin/env python3 | |
# Scans through your email account, | |
# find all the unsubscribe links in all your emails, | |
# and automatically opens them in a browser. | |
# This program will have to log in to your email provider's IMAP server | |
# and download all of your emails. | |
# You can use BeautifulSoup to check for any instance | |
# where the word unsubscribe occurs within an HTML link tag. |
cons = fn (a, b) -> fn x -> x.(a, b) end end | |
car = fn (p) -> p.(fn (q, _) -> q end) end | |
cdr = fn (p) -> p.(fn (_, q) -> q end) end | |
each = fn (list, func) -> | |
iter = fn (list, func, next) -> | |
(fn (a, nil) -> func.(a) | |
(a, b) -> func.(a); next.(b, func, next) | |
end).(car.(list), cdr.(list)) | |
end | |
iter.(list, func, iter) |
Samsung's otherwise excellent 2016 range of UHD TVs received an update that added advertisements to the UI. This has been complained about at great length on Samsung's forums and repeatedly, Samsung have refused to add an option to remove them.
The ads interrupt the clean UI of the TV and are invasive. Here's an example of how they look:
This guide was originally posted on Samsung's TV forums but unfortunately, that site is a super-slow and barely accessible unusable mess.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* tabs on bottom of window */ | |
#navigator-toolbox { -moz-box-ordinal-group: 10; } | |
#TabsToolbar { -moz-box-ordinal-group: 10; } | |
#PopupAutoCompleteRichResult { | |
margin-top: -35vh; | |
/* | |
position: fixed; | |
bottom: 74px; |
// ==UserScript== | |
// @name Gmail Inbox Empty Reward | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Hides much of the Gmail UI when your inbox is empty, to give you a little reward for reaching Inbox Zero! | |
// @author Nate Berkopec | |
// @include http://mail.google.com/* | |
// @include https://mail.google.com/* | |
// @include http://*.mail.google.com/* | |
// @include https://*.mail.google.com/* |
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |