Skip to content

Instantly share code, notes, and snippets.

View rayantony's full-sized avatar

ray anthony rayantony

  • Mexico
View GitHub Profile

Let's say you're using Ubuntu 13.04 (Raring Ringtail, released in April 2013) and it just went End-of-Life on you, because it's supported for only 6 months, and the deprecated packages are taken down after 12 months.

You'll probably figure this out the hard way. When you run sudo apt-get update, it will eventually report these errors:

Ign http://archive.ubuntu.com raring-updates/universe Sources/DiffIndex
Err http://security.ubuntu.com raring-security/main Sources
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/universe Sources
  404  Not Found [IP: 91.189.91.15 80]

Fast start page chrome

simple chrome extension I make these occasionally for something to look at as I have for years dating back to IE, preferred to start as minimal as possible no need in hogging all the memory when you havent even performed the simplest of actions other than launching a tab. pretty lame time to crash, so to avoid upon accidental auto-starts. this is a habit dating back to the 90's i dare say, with dial-ups. this is one of its many simple descendants for fast power starting using the override actual extension will have some other functionality not applicable or appropriate to place on codepen ot github.

Added a search function. holding off on voice until I read up on what webkit plans are permission wise (lots of changes this year) This button took hours!

**css is doubled to guarantee problem free render from gist form using statspring.com or antoher renderer

coded by: Ray Anthony website: http://rayanthony.io

Hey guys, I run the project jsDelivr which is a free open source CDN for developers.

The main feature of it is availability and performance. We operate a big system that offers as much availability as possible utilizing smart multi-CDN routing.

You can read about it in our repo https://github.com/jsdelivr/jsdelivr and on Mozilla Blog https://hacks.mozilla.org/2014/03/jsdelivr-the-advanced-open-source-public-cdn/

Its been 2 years since the project launched and today we have a small team of active contributors that help out with different components of the project.

We are also sponsored by companies such as MaxCDN, CloudFlare, Cedexis, Leapswitch, Prometeus and ExpertVM.

@rayantony
rayantony / google.sh
Created November 10, 2015 16:52 — forked from deanet/google.sh
Uploading File into Google Drive (because grive too many dependencies qt, xorg ? )
#!/bin/bash
## uploading to google
## rev: 22 Aug 2012 16:07
det=`date +%F`
browser="Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1"
username="[email protected]"
password="password"
accountype="HOSTED" #gooApps = HOSTED , gmail=GOOGLE
@rayantony
rayantony / website-checker.sh
Created August 28, 2016 23:51 — forked from dominic-p/website-checker.sh
This is a shell script to check a provided list of URLs to see if the websites are working or not. It was based on the answers provided to this question: http://stackoverflow.com/q/21391776/931860
#!/bin/sh
# ---- website-checker.sh ----
# Pings a list of websites using cURL to see if they are up and
# there are no errors. If there are problems, we send an email using mailx
# to let ourselves know about the problem.
################################################################################
# Recipient of the errors email
[email protected]
@rayantony
rayantony / stop_words.txt
Created August 29, 2016 00:18 — forked from DarrenN/stop_words.txt
Naively parse a text removing stopwords
'tis
'twas
a
aah
aaron
abandon
abandoned
abbott
abby
abe

GitHub Report

Teams

Owners

Members:

  • benbalter

Repositories:

@rayantony
rayantony / chromebook-nix.sh
Created February 2, 2017 11:46 — forked from puffnfresh/chromebook-nix.sh
Installation script for Nix on ChromeOS
#!/bin/sh
sudo mount -o remount,exec /tmp
if [ -x /usr/local/nixstrap/proot-x86_64 ] && [ -h ~/.nix-profile ]; then
echo "Launching shell with nix-* tools!"
exec /usr/local/nixstrap/proot-x86_64 -b /usr/local/nixstrap/nix-1.8-x86_64-linux:/nix bash --init-file ~/.nix-profile/etc/profile.d/nix.sh
fi
set -e
#!/usr/bin/env bash
ROOTDIR=$PWD
echo "Setting up"
mkdir -p $ROOTDIR/shared
sudo mount --bind $ROOTDIR/shared $ROOTDIR/shared
sudo mount --make-unbindable $ROOTDIR/shared
sudo mount --make-shared $ROOTDIR/shared