sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
// ==UserScript== | |
// @name Udemy TOC to LogSeq | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Formats Udemy's TOC to markdown format | |
// @author You | |
// @match https://*.udemy.com/course/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=udemy.com | |
// @grant none | |
// ==/UserScript== |
// ==UserScript== | |
// @name Pluralsight TOC to Logseq | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Formats Pluralsight's TOC to markdown format | |
// @author You | |
// @match https://app.pluralsight.com/library/courses/*/table-of-contents | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net | |
// @grant none |
let mapleader=',' | |
set surround | |
set easymotion | |
nmap <Leader> <Plug>(easymotion-prefix) | |
nmap <space> <Plug>(easymotion-jumptoanywhere) | |
runtime macros/matchit.vim |
body { | |
width: 450px; | |
background: #272727; | |
color: #dedede; | |
font-size: 13px; | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important; | |
} | |
/* input box */ |
/* Dark theme */ | |
body { | |
width: 450px; | |
background: #272727; | |
color: #dedede; | |
font-size: 13px; | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important; | |
} |
<? | |
function aes128Encrypt($key, $data) { | |
if(16 !== strlen($key)) $key = hash('MD5', $key, true); | |
$padding = 16 - (strlen($data) % 16); | |
$data .= str_repeat(chr($padding), $padding); | |
return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $data, MCRYPT_MODE_CBC, str_repeat("\0", 16))); | |
} | |
function aes128Decrypt($key, $data) { |
_ | |
_ooOoo_ | |
o8888888o | |
88" . "88 | |
(| -_- |) | |
O\ = /O | |
____/`---'\____ | |
.' \\| |// `. | |
/ \\||| : |||// \ | |
/ _||||| -:- |||||_ \ |
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item | |
android:drawable="@color/splashscreen_bg"/> | |
<item | |
android:drawable="@mipmap/splash_icon" | |
android:gravity="center|fill" /> |
let mapleader=',' | |
set surround | |
set easymotion | |
nmap <space> <Plug>(easymotion-jumptoanywhere) | |
nmap <s> <Plug>(easymotion-sn) | |
nmap <m> <Plug>(easymotion-bd-jk) | |
runtime macros/matchit.vim |