Skip to content

Instantly share code, notes, and snippets.

@harababurel
harababurel / x.py
Last active June 29, 2016 16:42
Algebra exam grades faker
import re
from random import randint, choice
f = open('algebra.html', 'r')
g = open('algebra2.html', 'w')
updated = 0
sumSoFar = 0.0
modes = ['low', 'avg', 'high']
@harababurel
harababurel / tellphone.sh
Last active June 17, 2024 13:37
Small script for sending notifications to phone using kde-connect.
#!/bin/bash
command -v kdeconnect-cli >/dev/null 2>&1 || { echo >&2 "kdeconnect is not installed. Aborting."; exit 1; }
if [ $# -eq 0 ]; then
echo "Usage: $0 <message>"
exit 1
fi
device=`kdeconnect-cli -a --id-only 2>/dev/null | head`
@harababurel
harababurel / cVimrc
Last active November 26, 2020 13:03
" Settings
set hud
set smoothscroll
set noautofocus " The opposite of autofocus; this setting stops
" sites from focusing on an input box when they load
set noscalehints " do not animate link hints as they appear
set linkanimations " show fade effect when link hints open and close
set ignorecase
set incsearch
set noautofocus " do not let websites focus an input box when first loaded

This is not an officially supported Google product.

New Project Template

This repository contains a template that can be used to seed a repository for a new Google open source project.

See Google Open Source Releasing for more information about releasing a new Google open source project.

This template uses the Apache license, as is Google's default. See the

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,

How to Contribute

We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.

Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as

{
"id": "1OEgpxTN3KyWwkvNavMVPBCYsVHtJ4rn-",
"name": "Flowers For Algernon - Daniel Keyes.txt",
"mimeType": "text/plain",
"trashed": false,
"parents": [
"1VPYzBua_X7DRNvO4VPAZRMOyH0_VbiZp"
],
"createdTime": "2018-07-04T16:40:25.756Z",
"modifiedTime": "2018-07-04T16:40:28.988Z",