The only cross-platform browser that fits in a Gist!
One line install. Works on Linux, MacOSX and Windows.
$> npm install http://gist.github.com/morganrallen/f07f59802884bcdcad4a/download
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Chat</title> | |
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'> | |
<link href="style.css" rel="stylesheet" type="text/css"> | |
<script src="https://d2g2wobxbkulb1.cloudfront.net/0.0.19/tmi.js"></script> <!--For developement--> | |
<!--<script src="https://d2g2wobxbkulb1.cloudfront.net/0.0.19/tmi.min.js"></script>--> <!--For "production"--> | |
</head> |
# Get all the provisioned packages | |
$Packages = (get-item 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications') | Get-ChildItem | |
# Filter the list if provided a filter | |
$PackageFilter = $args[0] | |
if ([string]::IsNullOrEmpty($PackageFilter)) | |
{ | |
echo "No filter specified, attempting to re-register all provisioned apps." | |
} | |
else |
WeeChat terminal IRC client
--- | |
parser: babel-eslint | |
parserOptions: | |
ecmaVersion: 6 | |
sourceType: "module" | |
ecmaFeatures: | |
jsx: true | |
plugins: | |
- react | |
env: |
const tmi = require('tmi.js'), | |
request = require('request'), | |
countdown = require('countdown'), | |
kraken = request.defaults({ | |
baseUrl: 'https://api.twitch.tv/kraken/', | |
json: true, | |
headers: { | |
'Client-ID': '', | |
Accept: 'application/vnd.twitchtv.v3+json' |
/* | |
Arc Dark theme for styling Vimium link hints | |
By Giorgi Gzirishvili (@giogziro95). This code is in the public domain. | |
To use: | |
1. Copy the code. | |
2. Go to the Vimium options. | |
3. Click Show Advanced Options. |
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_bookmarks_toolbar.css made available under Mozilla Public License v. 2.0 | |
See the above repository for updates as well as full license text. */ | |
#PersonalToolbar{ | |
--uc-bm-height: 21px; /* Might need to adjust if the toolbar has other buttons */ | |
--uc-bm-padding: 4px; /* Vertical padding to be applied to bookmarks */ | |
--uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */ | |
/* 0deg = "show" ; 90deg = "hide" ; Set the following to control when bookmarks are shown */ | |
--uc-autohide-toolbar-focus-rotation: 0deg; /* urlbar is focused */ |
#!/bin/bash | |
# add to sway config: | |
# bindsym Mod1+q exec ~/kill.sh | |
# this script kills the window UNLESS the name matches. If the name matches the SIGTERM signal is send to the target process | |
# in case of wayland, the attribute 'app_id' is used while X11 windows use 'class' | |
current_window=$(swaymsg -t get_tree | grep -A 45 '"focused": true' | egrep 'app_id|class' | cut -d \" -f 4 | grep .) |
// ==UserScript== | |
// @name iOS Shortcut Preview | |
// @namespace https://www.atnbueno.com/ | |
// @match https://showcuts.app/share/view | |
// @match https://www.icloud.com/shortcuts/* | |
// @version 2.0 | |
// @grant GM_addStyle | |
// ==/UserScript== | |
/* |