Skip to content

Instantly share code, notes, and snippets.

@Athorcis
Athorcis / GitRepoUpdateTimestamp.sh
Created January 5, 2020 23:03 — forked from jeffery/GitRepoUpdateTimestamp.sh
Update Timestamp of files in Checked-out Git Repository
#!/bin/bash -e
####
# Helper script to update the Last modified timestamp of files in a Git SCM
# Projects working Copy
#
# When you clone a Git repository, it sets the timestamp of all the files to the
# time when you cloned the repository.
#
# This becomes a problem when you want the cloned repository, which is part of a
# Web application have a proper cacheing mechanism so that it can re-cache files
(function ($, L, zoneController, map) {
'use strict';
$.getScript('https://npmcdn.com/@turf/turf/turf.min.js');
var Control = L.Control.extend({
options: {
position: 'topleft'
},
#!/bin/sh
set -eu
if [ $# != 1 ] ; then
echo usage: $0 '<suffix>'
exit 1
fi
# the SUFFIX must not contain spaces or shell meta characters
#!/bin/bash
mkdir fontcustom-root
pushd fontcustom-root
mkdir fontforge-root
pushd fontforge-root
pacman -S git unzip pkgconfig automake autoconf libtool make patch mingw-w64-x86_64-{gcc,openjpeg2,libtiff,libpng,giflib,freetype,libxml2,python2,pango
#!/bin/bash
declare -A options=(
[save]=0
[sshpass]=1
[progress]=1
[remote_ssh_user]=root
[remote_ssh_host]=
[remote_ssh_port]=22
/* eslint-env amd, commonjs */
/* eslint no-invalid-this: "off" */
'use strict';
(function (global, factory) {
if (typeof module === 'object' && typeof module.exports === 'object') {
module.exports = factory();
} else if (typeof define === 'function') {
define(factory);
/*jslint browser: true */
/*global jQuery */
var Bridge = (function (window, jQuery) {
"use strict";
var Bridge;
Bridge = {
callbackId: 0,
// ==UserScript==
// @name Eclyspia Disarm Adblock Detector
// @description A script that bypass attempts to detect Adblock on eclyspia.com
// @namespace athorcis
// @include http://www.eclypsia.com/*
// @version 1.0.2
// @grant unsafeWindow
// @require https://greasyfork.org/scripts/7465-disarm-adblock-detectors/code/Disarm%20Adblock%20Detectors.js?version=43841
// @run-at document-start
// ==/UserScript==
/*jslint browser: true, devel: true */
/*global unsafeWindow, exportFunction */
var DAD = (function (window, unsafeWindow) {
"use strict";
var utils, debug,
slice = Array.prototype.slice;
function noop() {