Skip to content

Instantly share code, notes, and snippets.

//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//
@Zren
Zren / DarkMonokai.qss
Last active December 18, 2023 18:06
Dark Monokai - Quassel Theme (qss)
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
@Zren
Zren / DarkSolarized.qss
Last active August 28, 2022 14:22
Dark Solarized - Quassel Theme (qss)
/**
** ______ _ _____ _ _ _
** | _ \ | | / ___| | | (_) | |
** | | | |__ _ _ __| | __ \ `--. ___ | | __ _ _ __ _ _______ __| |
** | | | / _` | '__| |/ / `--. \/ _ \| |/ _` | '__| |_ / _ \/ _` |
** | |/ / (_| | | | < /\__/ / (_) | | (_| | | | |/ / __/ (_| |
** |___/ \__,_|_| |_|\_\ \____/ \___/|_|\__,_|_| |_/___\___|\__,_|
**
** Quassel Theme
**
@hyOzd
hyOzd / reload_ext.sh
Last active January 21, 2024 01:08
Reload a cinnamon extension or applet from the command line. Useful during extension/applet development. Replace the EXTENSION_UUID at the end of the command with your extensions UUID.
# replace the EXTENSION_UUID with your extension/applet/desklet name
# replace the APPLET with other types if you are not working with an applet
dbus-send --session --dest=org.Cinnamon.LookingGlass --type=method_call /org/Cinnamon/LookingGlass org.Cinnamon.LookingGlass.ReloadExtension string:'EXTENSION_UUID' string:'APPLET'
@AdamMcCormick
AdamMcCormick / ScrollBarAdapter.jsx
Last active July 22, 2019 09:28 — forked from OrganicPanda/hacky-scrollbar-resize-listener.js
A sham that will throw a window resize event even when scrollbars are added/removed (this is not something the standard window resize event does). Tested in IE9+, Chrome & Firefox latest.
/**
* A drop-in component to listen for resizes or scroll-bar show/hide
*
* Based on https://gist.github.com/OrganicPanda/8222636
*/
import React from 'react'
var ScrollBarAdapter = React.createClass({
onResize() {
@mattdesl
mattdesl / modular-three.md
Last active December 9, 2021 03:20
quick/easy ThreeJS hacking with npm

This isn't bullet-proof but here's how I've doing things lately:

modular ThreeJS quickie

  • npm install three --save
  • Include this in your browserify/webpack root script, typically your index.js:
global.THREE = require('three')
  • Add the "THREE" global to your linter (e.g. semistandard/eslintrc)
@Js41637
Js41637 / FixSteamGrandPix.user.js
Created June 29, 2019 08:09
Fixes the grand pix site from erroring. Requires either TamperMonkey or GreaseMonkey for Chrome or Firefox respectively.
// ==UserScript==
// @name [Steam] Fix Grandpix
// @version 1.0
// @description Fix Valve being bad.
// @author You
// @match https://store.steampowered.com/grandprix
// @grant none
// @run-at document-body
// ==/UserScript==
@ashwinvis
ashwinvis / THANKS.md
Last active July 7, 2020 05:22
GitHub Retro
@aelk00
aelk00 / remove-likes.md
Last active March 1, 2024 00:58
Remove all your facebook likes