Skip to content

Instantly share code, notes, and snippets.

View softwarevamp's full-sized avatar

softwarevamp

  • Shanghai
View GitHub Profile
Disable-UAC
#--- Initial Windows Config ---
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowFileExtensions -EnableShowFullPathInTitleBar -DisableOpenFileExplorerToQuickAccess
Enable-RemoteDesktop
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneExpandToCurrentFolder -Value 1
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneShowAllFolders -Value 1
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name LaunchTo -Value 1
@lbssousa
lbssousa / Adobe Flash Plugin integration for Quasar Framework (Electron)
Last active August 11, 2019 15:42
How to integrate Adobe Flash Plugin with Electron in your Quasar Framework project
GENERAL INSTRUCTIONS
--------------------
1. Under your src-electron/ folder, create a folder called ppapi-flash-plugin and separate subfolders for your
supported platforms (linux, win32, darwin) and architectures (ia32, x64).
2. Under each platform/architecture subfolder, put a copy of the plugin binary and manifest.json companion file.
If needed, rename the binary files to pepflashplayer.dll (Windows), PepperFlashPlayer.plugin (macOS)
or libpepflashplayer.so (Linux).
Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!
@patrickhammond
patrickhammond / android_instructions.md
Last active March 29, 2024 20:14
Easily setup an Android development environment on a Mac

Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

  • XCode is installed (via the App Store)
  • XCode command line tools are installed (xcode-select --install will prompt up a dialog)
  • Java

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

@KartikTalwar
KartikTalwar / Documentation.md
Last active April 13, 2024 23:09
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
@adilsoncarvalho
adilsoncarvalho / log4j.properties
Created November 23, 2011 12:17
Minimum log4j configuration to present info into console
# log4j.properties
# need more? go see http://wiki.apache.org/logging-log4j/Log4jXmlFormat
log4j.rootLogger = DEBUG, standard
log4j.appender.standard = org.apache.log4j.ConsoleAppender
log4j.appender.standard.layout = org.apache.log4j.PatternLayout