Skip to content

Instantly share code, notes, and snippets.

View notetiene's full-sized avatar
💭
Hacking

Etienne notetiene

💭
Hacking
View GitHub Profile
@notetiene
notetiene / tech_target_paywall_remover.user.js
Last active March 10, 2024 01:56
Prevent Tech Target from showing a paywall (or whatever we call that).
// ==UserScript==
// @name Tech Target Paywall Removal
// @run-at context-menu
// @version 2.0
// @description Remove paywall from tech target site
// @author Etienne Prud'homme (https://gist.github.com/notetiene)
// @match https://*.techtarget.com/*
// @match https://*.theserverside.com/*
// @match https://*.lemagit.fr/*
// @grant none

Keybase proof

I hereby claim:

  • I am notetiene on github.
  • I am notetiene (https://keybase.io/notetiene) on keybase.
  • I have a public key whose fingerprint is 2133 8F9A 68EA 75AD 531D 11E1 1BF3 8BFA 3390 A95A

To claim this, I am signing this object:

@notetiene
notetiene / README.md
Last active June 29, 2017 22:04 — forked from zenorocha/README.md
A template for Github READMEs (Markdown)

[project] Build Status

[emoji] Simple description of what it does (1 line).

[logo]

[project] is a [definition].

NOTE: Explanation on the needs for that project.

Keybase proof

I hereby claim:

  • I am notetiene on github.
  • I am notetienne (https://keybase.io/notetienne) on keybase.
  • I have a public key whose fingerprint is 2133 8F9A 68EA 75AD 531D 11E1 1BF3 8BFA 3390 A95A

To claim this, I am signing this object:

@notetiene
notetiene / emacs-maybe.sh
Created January 10, 2017 00:35
Launch emacs server if it's not running or launch emacsclient
#!/bin/bash -e
emacs_server_is_running() {
return lsof -c emacs | grep server | tr -s " " | cut -d' ' -f8
}
if [[ `emacs_server_is_running` ]]; then
emacsclient "$@"
else
emacs "$@"
;;; setup-help --- Helm
;;; Commentary:
;;; Code:
(require 'helm-config)
;; The default "C-x c" is quite close to "C-x C-c", which quits Emacs.
;; Changed to "C-c h". Note: We must set "C-c h" globally, because we
;; cannot change `helm-command-prefix-key' once `helm-config' is loaded.
(global-set-key (kbd "C-c h") 'helm-command-prefix)
'use strict';
// Requires
var gulp = require('gulp');
// Include plugins
// var gutil = require('gulp-util'); // For logs
var sass = require('gulp-sass'); // SASS to CSS compilation
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');