Skip to content

Instantly share code, notes, and snippets.

View chaoslogick's full-sized avatar
👻
localghost

mpg chaoslogick

👻
localghost
View GitHub Profile
@chaoslogick
chaoslogick / protonmail.css
Created June 26, 2020 05:06
CSS: Protonmail Theme
/*!
ProtonMail Custom Theme - Black Rock
modified by Jack.A
*/
/* Frame (topbar and sidebar.) */
.headerDesktop-container {
background: #21242E;
}
body section.sidebar {
background: #21242E;
@chaoslogick
chaoslogick / external-link.js
Created April 15, 2020 20:46
jQUERY: Open external links in new tab
@chaoslogick
chaoslogick / launch.js
Last active November 7, 2019 15:47
VSCODE: Debug settings for Elixir
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "mix_task",
"name": "mix",
"request": "launch",
@chaoslogick
chaoslogick / settings.js
Last active November 7, 2019 15:46
VSCODE: settings.js Customizations
// Backend titleBar Color
{
"workbench.colorCustomizations": {
"titleBar.activeForeground": "#000000",
"titleBar.inactiveForeground": "#000000",
"titleBar.activeBackground": "#9400ff",
"titleBar.inactiveBackground": "#3b0066"
}
}
@chaoslogick
chaoslogick / userChrome.css
Last active October 19, 2020 16:51
CSS: userChrome.css
/* Firefox userChrome.css */
/* Linux: ~/.mozilla/firefox */
/* OSX: ~/Library/Application Support/Firefox/Profiles */
/* Win: %APPDATA%\Mozilla\Firefox\Profiles\ */
/* @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); */
@namespace html url("http://www.w3.org/1999/xhtml");
/* Tabs ---------- */
@chaoslogick
chaoslogick / cloudSettings
Last active August 14, 2020 02:32
VSCODE: sync-settings
{"lastUpload":"2020-08-14T02:32:29.078Z","extensionVersion":"v3.4.3"}
@chaoslogick
chaoslogick / animation-behaviors.scss
Last active March 15, 2019 00:32
SCSS: animation behaviors
// animation behaviors
// -------------------
$cubic-bezier: cubic-bezier(0.4, 0.0, 0.2, 1);
@mixin cubic-bezier {
-webkit-transition: all 225ms cubic-bezier(0.4, 0.0, 0.2, 1);
transition: all 225ms cubic-bezier(0.4, 0.0, 0.2, 1);
}
@mixin transition($args...) {
-webkit-transition: $args;
@chaoslogick
chaoslogick / slack-dark-mode.js
Created October 11, 2017 14:52
SLACK: dark mode [append to 'app.asar.unpacked/src/static/ssb-interop.js']
document.addEventListener('DOMContentLoaded', function() {
$.ajax({
url: 'https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css',
success: function(css) {
$("<style></style>").appendTo('head').html(css);
}
});
});
@chaoslogick
chaoslogick / github-cloneall.sh
Created July 23, 2016 00:43
BASH: Clone all user's github repos
#!/bin/bash
if [ -z "$1" ]
then
echo "No arguments supplied"
else
curl -u michaelperrygoodman -s https://api.github.com/users/$1/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'
fi
@chaoslogick
chaoslogick / pow.dev
Last active March 2, 2016 20:11
POW: pow.dev
server {
listen 443 ssl;
server_name *.dev;
index index.html index.htm;
### SSL log files ###
access_log /usr/local/etc/nginx/logs/pow.dev-ssl-access.log;
error_log /usr/local/etc/nginx/logs/pow.dev-ssl-error.log;