Skip to content

Instantly share code, notes, and snippets.

@fidn
fidn / install-tools.txt
Last active June 2, 2018 10:32
install-tools
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco upgrade chocolatey -y
cinst rapidee -y
cinst bind-toolsonly -y
cinst keypirinha -y
cinst filezilla -y
cinst hwmonitor -y
cinst ccleaner -y
@jhickner
jhickner / surfingkeys-config.js
Last active November 15, 2018 19:56
SurfingKeys Config
settings.modeAfterYank = "Normal";
settings.scrollStepSize = 140;
settings.showModeStatus = true;
settings.focusAfterClosed = "left";
settings.newTabPosition = "last";
iunmap(":");
addSearchAliasX('h', "Hackage", "https://www.google.com/search?q=hackage+", 's');
map("<Shift-ArrowRight>", "R");
@coramuirgen
coramuirgen / vimvixen_current.json
Last active July 14, 2018 00:46
VimVixen current JSON settings
{
"keymaps": {
"0": { "type": "scroll.home" },
";": { "type": "command.show" },
"o": { "type": "command.show.open", "alter": false },
"O": { "type": "command.show.open", "alter": true },
"t": { "type": "command.show.tabopen", "alter": false },
"T": { "type": "command.show.tabopen", "alter": true },
"w": { "type": "command.show.winopen", "alter": false },
"W": { "type": "command.show.winopen", "alter": true },
@iblueer
iblueer / ios_app_suggest.md
Last active March 13, 2021 11:07
[神App- iOS平台超强App推荐!] #iOS #App
@chaorace
chaorace / gist:f4d5dce9000edf89713918d4bc380fdb
Last active February 6, 2018 09:41
surfingKeys Config
//Custom surfingkeys mappings by chaorace
//Makes basic navigation more cVim-like
//Some comfort tweaks for aceVim
//Some custom bindings for my common sites
//Regular mappings
map("K", "R");
map("J", "E");
map("u", "e");
[app]
launch_at_startup = yes
hotkey_run = Alt+Space
ignored_packages = PuTTY, WinSCP
[gui]
space_as_tab = yes
@mkeneqa
mkeneqa / laravel55_on_codeanywhere.md
Last active September 8, 2018 15:01
Installing Laravel 5.5 (and later) On CodeAnywhere

Installing Laravel 5.5 (and later) On CodeAnywhere

CodeAnywhere is a great cloud IDE to create web apps but it lacks that latest install of Laravel. So I used the latest PHP stack as my base and then installed the latest version of Laravel 5.5 with additional packages.

Here are the steps I followed:

  1. Create a new Container (Hook up bitbucket or GitHub repo first if there is an existing repo) use the PHP7 CentOS Stack
  2. Once container is loaded update composer: composer self-update
  3. Then install Laravel on the root of workspace: composer create-project laravel/laravel basicwebsite
  4. Install Nano editor: sudo yum install nano
@collinbarrett
collinbarrett / userChrome.css
Last active April 11, 2024 10:22
A userChrome.css to use with Tree Style Tab (https://github.com/piroor/treestyletab) for Firefox
/*
Windows
Location: C:\Users\<YourUsername>\AppData\Roaming\Mozilla\Firefox\Profiles\<YourFirefoxProfile>\chrome
Notes:
If minimize, maximize, and close buttons are no longer visible, enable the Title Bar or Menu Bar in Firefox Customize.
macOS
Location: /Users/<YourUsername>/Library/Application Support/Firefox/Profiles/<YourFirefoxProfile>/chrome
Notes:
If minimize, maximize, and close buttons overlap other controls, add the Flexible Space in Firefox Customize.
@willwm
willwm / Windows10-Setup.ps1
Last active November 11, 2021 00:55
Windows 10 Setup (Chocolatey + Boxstarter)
### Base Windows Configuration ###
# Enable Windows Features...
Enable-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online -NoRestart
Enable-WindowsOptionalFeature -FeatureName Containers -Online -NoRestart
Enable-WindowsOptionalFeature -FeatureName Microsoft-Windows-Subsystem-Linux -Online -NoRestart
### Chocolatey Installs ###
# Install Chocolatey: https://chocolatey.org/install
@turboBasic
turboBasic / Install-ChocoAndScoop.ps1
Last active April 14, 2022 13:09
Install Chocolatey and Scoop package managers for Windows + basic set of utilities and software
Function Install-Scoop {
New-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" `
-propertyType ExpandString `
-name "SCOOP_GLOBAL" `
-value "${ENV:PROGRAMDATA}\scoop"
Invoke-WebRequest 'https://get.scoop.sh' | Invoke-Expression
'scoop install Git-with-OpenSSH Sudo Which --global' | Set-Content -path temp_script.ps1