Skip to content

Instantly share code, notes, and snippets.

View j67678's full-sized avatar

j67678

View GitHub Profile
@romkatv
romkatv / install_meslo_wsl.sh
Last active July 11, 2024 13:16
Install Meslo Powerline font family on Windows
#!/bin/bash
#
# This script installs patched Meslo Powerline font family on Windows.
# The fonts are installed for the current user only. The script must be
# run from WSL.
#
# bash -c "$(curl -fsSL https://gist.githubusercontent.com/romkatv/aa7a70fe656d8b655e3c324eb10f6a8b/raw/install_meslo_wsl.sh)"
#
# If you just want the font files, they are in
# https://github.com/romkatv/dotfiles-public/tree/master/.local/share/fonts/NerdFonts.
@ihipop
ihipop / frp systemd.md
Last active December 26, 2023 05:13
FRP systemd 启动脚本 FRP systemd init config
@mohanen
mohanen / BlurEffect.kt
Last active July 23, 2019 00:26
Android Image blur beyond renderscript blur radius
package com.example.ziro.blur
/**
* Created by ziro on 19/11/17.
*/
import android.content.Context
import android.graphics.Bitmap
import android.graphics.Canvas
import android.renderscript.Allocation
@KevinWang15
KevinWang15 / tr.sh
Created November 8, 2017 04:47
tr 2.84 install script
#!/usr/bin/env bash
# 以root权限运行,只支持Ubuntu 14和16
echo 请设置web用户名和密码,如果输错了,按Ctrl+C结束本脚本并重来
echo 输入web用户名:
read webuser
echo 输入web密码:
read webpass
@cmer81
cmer81 / cloudflareddns6.sh
Last active May 14, 2024 21:35
dynamic dns IPV6 script for Synology
#!/bin/sh
# cloudflareddns6.sh - dynamic dns IPV6 updater module for Synology
#
# Author:
# Cedric Mercier
#
# Version:
# 0.1
#
@alirobe
alirobe / reclaimWindows10.ps1
Last active July 3, 2024 09:36
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###
@dvtate
dvtate / HotCorner.ahk
Last active December 8, 2023 16:01
Add a hot-corner to access task view in windows 10
;The Problem:
; I love the hotcorner(s) in GNOME & KDE, and kept finding myself
; trying to use them since I've been forced to use windows 10 (winshit).
;My solution:
; download & install: https://autohotkey.com/
; save this script with the extension ".ahk"
; click on the script to start it and/or set it to launch automatically.
#Persistent
@2510
2510 / Windows 10 Disable Services.bat
Last active May 7, 2024 09:41
Disable unused services (for me) on Windows 10
REM Windows Search
sc config WSearch start=disabled
REM SSDP Discovery
sc config SSDPSRV start=disabled
REM Geolocation Service
sc config lfsvc start=disabled
REM ActiveX Installer
sc config AXInstSV start=disabled
REM AllJoyn Router Service
sc config AJRouter start=disabled
@samiraguiar
samiraguiar / MC Cheat Sheet
Last active July 14, 2024 13:22 — forked from maciakl/MC Cheat Sheet
Midnight Commander Cheat Sheet / Shortcuts
Note for newcomers:
In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This is a convention
used in the Midnight Commander documentation and was kept here.
You can also use "ESC" instead of "ALT", which is useful on Macbooks.
Main View
---------------------------------------------------------------
- File/directory operations
@soffchen
soffchen / surge.conf
Last active March 4, 2024 05:23
surge.conf
[General]
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
# dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114
loglevel = notify
[Proxy]
BJ-All = custom
BJ-HK-Azure = custom
BJ-US-Azure = custom