Skip to content

Instantly share code, notes, and snippets.

View APwhitehat's full-sized avatar

Anant Prakash APwhitehat

View GitHub Profile
@RodolfoFerro
RodolfoFerro / click_connect_button.js
Last active November 27, 2023 06:28
Stop Colab from disconnecting, 2021.
function ClickConnect() {
console.log('Working')
document
.querySelector('#top-toolbar > colab-connect-button')
.shadowRoot.querySelector('#connect')
.click()
}
intervalTiming = setInterval(ClickConnect, 60000)
@raghukul01
raghukul01 / GSoC18.md
Last active August 19, 2018 07:01
Final Report of GSoC2018 project (Rational Point on Varieties)

GSoC2018: Rational Point on Varieties

Organization: SageMath

sage logo

Hi, my name is Raghukul Raman and I have been working on implementing rational point algorithms for Schemes, in Google Summer of Code 2018. This gist describes all the work that I have done during this period.

@APwhitehat
APwhitehat / ANDGCMalt.txt
Created March 19, 2017 01:14 — forked from CHEF-KOCH/ANDGCMalt.txt
Android Google Cloud Messaging (GCM) alternative
Android Cloud to Device Messaging Framework
https://developers.google.com/android/c2dm/?csw=1
MQTT
http://dalelane.co.uk/blog/?p=1599
https://github.com/JesseFarebro/Android-Mqtt
http://stephendnicholas.com/archives/219
http://stephendnicholas.com/archives/1217
http://ollieparsley.com/2013/05/20/using-mqtt-as-a-gcm-replacement-for-android-push-notifications/
http://www.slideshare.net/henriksjostrand/devmobile-2013-low-latencymessagingusingmqtt
@kegsay
kegsay / gendoc.sh
Last active October 17, 2022 09:25
Generate static docs for a Go package
#!/bin/bash
set -u
DOC_DIR=godoc
PKG=github.com/matrix-org/go-neb
# Run a godoc server which we will scrape. Clobber the GOPATH to include
# only our dependencies.
GOPATH=$(pwd):$(pwd)/vendor godoc -http=localhost:6060 &
DOC_PID=$!
@noonat
noonat / coreos-virtualbox.md
Last active February 10, 2023 22:00
Installing CoreOS on VirtualBox
  • Download and install VirtualBox.
  • Download the CoreOS ISO
  • Create a new VM in VirtualBox
    • For the OS, Other Linux, 64-bit should be fine
    • Give the VM 1gb of memory, like your physical hardware has.
    • Create a disk of whatever size you want. I made a VMDK file that could expand dynamically up to 8gb.
  • Mount the ISO in the VM
    • Right click on the VM and click settings
  • Go to the storage tab
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[a4paper]{article}
\usepackage{lipsum}
\usepackage[sc]{mathpazo} % Use the Palatino font
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
@yassersouri
yassersouri / Assignments Latex Template.md
Last active November 8, 2021 03:46
Assignments Latex template.

##Assignments Latex Template

###V 0.1

I always wanted some latex template that I could use for assignments. But none of the templates I found online had all the features I wanted. So the natural next step for me was to create one.

###Notes:

  • Use with XeLaTeX