Skip to content

Instantly share code, notes, and snippets.

View github_resource_of_resources.md

This is a list of list of resources.

  1. awesome-math (A curated list of awesome mathematics resources)
  2. free-for-dev
  3. awesome-for-beginners (A list of awesome beginners-friendly projects.)
  4. awesome (😎 Awesome lists about all kinds of interesting topics)
  5. nodebestpractices (The Node.js best practices list)
  6. javascript-questions
  7. wtfjs (A list of funny and tricky JavaScript examples)
  8. awesome-selfhosted (List of Free Software network services and web applications which can be hosted locally)
  9. awesome-sysadmin (A curated list of amazingly awesome open sour
@julianxhokaxhiu
julianxhokaxhiu / create-iso.sh
Last active Apr 27, 2021
Simple bash script to create a Bootable ISO from macOS Catalina Install Image from Mac App Store
View create-iso.sh
#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================
hdiutil create -o /tmp/Catalina.cdr -size 9000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction
hdiutil detach "/Volumes/Install macOS Catalina"
View Ubiquiti unifi AP - Apple iOS and Mac OSX Incorrect Password - wifi ssid
My Apple devices started stating "incorrect password" for my network, even though they had conncted previously.
So how to fix Unifi network "incorrect password" error on iPhone, iPod, iPad and Macbook pro?
The reason for the error is the WiFi management done on iOS devices.
The default settings for the Unifi AP range are not compatible with iOS 11 and 12 and OSX High Sierra (and maybe more).
The reason for the error is the "DTIM Mode" (beacon timing) setting for power saving.
@erdavis1
erdavis1 / allpubs.csv
Created May 5, 2019
Pubs of the British Isles
View allpubs.csv
We can't make this file beautiful and searchable because it's too large.
ID,name,long,lat,region
1,'31 Market Place',-1.021284,53.429981,england
1,'The Commercial Hotel',-2.364444,53.752023,england
3,'The Park Inn ',-2.358299,53.747997,england
5,0 degrees North,-0.0309,53.560872,england
6,012 Bar And Grill,0.004034,51.544232,england
7,1 In 12 Club,-1.758029,53.794847,england
8,1 Step Social Limited,-1.633635044,54.81035995,england
9,1 Town Hall Square,-3.4474502,51.4620403,wales
@jjnilton
jjnilton / mac-network-commands-cheat-sheet.md
Last active Jan 19, 2022
Mac Network Commands Cheat Sheet
View mac-network-commands-cheat-sheet.md

Disclaimer: I'm not the original author of this sheet, but can't recall where I found it. If you know the author, please let me know so I give the attribution.

Note: Since this seems to be helpful to some people, I formatted it to improve readability of the original. Also, note that this is from 2016, many things may have changed, and I don't use macOS anymore, so I probably can't help in case of questions, but maybe someone else can.

Mac Network Commands Cheat Sheet

After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and stay salty.

Get an ip address for en0:

@codeinthehole
codeinthehole / osx_bootstrap.sh
Created Mar 30, 2015
Script to install stuff I want on a new OSX machine
View osx_bootstrap.sh
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)
@tylerwalts
tylerwalts / setupOSX.sh
Created Mar 5, 2014
This is a bash script to setup Mac OS X defaults on a new mac.
View setupOSX.sh
#!/bin/bash
#
# Set up OSX preferences
#
# Inspired by: https://github.com/mathiasbynens/dotfiles/blob/master/.osx
###########################################
# CONFIG
HOSTNAME="machiavellia"
TIMEZONE="America/Chicago" # 'systemsetup -listtimezones'
@t-io
t-io / osx_install.sh
Last active Jan 7, 2022
Install most of my Apps with homebrew & cask
View osx_install.sh
#!/bin/sh
echo Install all AppStore Apps at first!
# no solution to automate AppStore installs
read -p "Press any key to continue... " -n1 -s
echo '\n'
echo Install and Set San Francisco as System Font
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)"
echo Install Homebrew, Postgres, wget and cask
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"