Skip to content

Instantly share code, notes, and snippets.

View adamsiwiec's full-sized avatar
🎯
Focusing

Adam Siwiec adamsiwiec

🎯
Focusing
View GitHub Profile
@adamsiwiec
adamsiwiec / macos.zsh
Last active July 5, 2022 13:20
ZSH macos plugin port without spotify/music
# Handle $0 according to the standard:
# https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
0="${${(M)0:#/*}:-$PWD/$0}"
# Open the current directory in a Finder window
alias ofd='open_command $PWD'
# Show/hide hidden files in the Finder
alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"

Keybase proof

I hereby claim:

  • I am adamsiwiec on github.
  • I am adamsiwiec (https://keybase.io/adamsiwiec) on keybase.
  • I have a public key ASA7UApDxyjd_BEogFweZq7p0i-YKs_tGkUuHYb4NL4kPAo

To claim this, I am signing this object:

{"version":1,"resource":"file:///Users/adam/cs155/hw2/code/views/pages/transfer/form.ejs","entries":[{"id":"ts2P.ejs","timestamp":1652342390144}]}
#! /bin/sh
NAME=daemon_name
DESC="My first linux daemon"
PIDFILE="/var/run/${NAME}.pid"
LOGFILE="/var/log/${NAME}.log"
# PHP binary path
DAEMON="/usr/bin/php"
#!/bin/bash
# GUI-related packages
pkgs="
xserver-xorg-video-fbdev
xserver-xorg xinit
gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa
gstreamer1.0-libav
lxde lxtask menu-xdg gksu

Keybase proof

I hereby claim:

  • I am adamsiwiec on github.
  • I am siwiec (https://keybase.io/siwiec) on keybase.
  • I have a public key whose fingerprint is 0CA6 837C 72FA 7AC8 7288 9A37 01BA BD58 D694 A57E

To claim this, I am signing this object:

@adamsiwiec
adamsiwiec / reclaimWindows10.ps1
Created January 7, 2017 19:40 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1