Skip to content

Instantly share code, notes, and snippets.

View amussey's full-sized avatar

Andrew Mussey amussey

View GitHub Profile
@lifeeric
lifeeric / Learning Resources.txt
Last active April 5, 2024 19:43
want to learn something, here is free resources
www.FreeCoursesOnline.Me
https://www.ustreamy.co/
http://freecoursesite.com/
https://freecourselab.com/
https://courseclub.me/
http://smartybro.com/
https://viralcourse.online/
http://seekerschoice.net/
https://udemycoupon.learnviral.com/
https://www.learningcrux.com/
@dschep
dschep / raspbian-python3.6.rst
Last active October 24, 2023 14:57 — forked from BMeu/raspbian-python3.5.rst
Installing Python 3.6 on Raspbian

Installing Python 3.6 on Raspbian

As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.

  1. Install the required build-tools (some might already be installed on your system).

@MotiurRahman
MotiurRahman / file.text
Last active April 29, 2016 11:04
How to solve when Titanium Studio: "login server returned an error" when logging in
Trouble Logging in
1.Try the login command below on the command line:
"curl -v -d "un=XXXX&pw=YYYY" https://api.appcelerator.net/p/v1/sso-login"
(replacing XXXX and YYYY with your username or email and password.
2.If the above command returns success, try to run Studio from the command line and then log in.
@prwhite
prwhite / Makefile
Last active April 4, 2024 19:01
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@bobpoekert
bobpoekert / linux_memory.py
Created January 13, 2013 00:38
Get info about available memory from Python on Linux.
def memory_info():
res = {}
for row in open('/proc/meminfo', 'r'):
k, v = row.split(':')
k = k.strip()
v = v.split()
if len(v) == 1:
v = int(v[0])
elif v[1] == 'kB':
v = int(v[0]) * 1024
@rfunduk
rfunduk / osx.sh
Last active August 27, 2021 15:00 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with useful tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2263406/osx.sh | sh
#
@eligrey
eligrey / object-watch.js
Created April 30, 2010 01:38
object.watch polyfill in ES5
/*
* object.watch polyfill
*
* 2012-04-03
*
* By Eli Grey, http://eligrey.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/