This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window: | |
dynamic_padding: true | |
decorations: none | |
startup_mode: Fullscreen | |
font: | |
normal: | |
family: Source Code Pro | |
style: SemiBold | |
bold: | |
family: Source Code Pro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from requests import get | |
from sys import argv | |
from json import dump | |
from os.path import dirname, abspath, join | |
from urllib.parse import urljoin | |
from dateutil.parser import parse | |
from itertools import chain | |
from functools import reduce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This Script somehow can configure my xfce4-de | |
# as I love to see. | |
# This is a part of my `iAmLazy` project | |
# Please push some bug-fix and help me to be lazy as always :) | |
# Copyrighted under MIT License | |
# 2019 "Rakibul Yeasin" (@dreygur) | |
# | |
# Supports: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# <bitbar.title>Sunrise and sunset time</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>S Mahbub-Uz Zaman</bitbar.author> | |
# <bitbar.author.github>lifeparticle</bitbar.author.github> | |
# <bitbar.desc>Sunrise and sunset time</bitbar.desc> | |
# <bitbar.image></bitbar.image> | |
# <bitbar.dependencies></bitbar.dependencies> | |
# <bitbar.abouturl></bitbar.abouturl> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/tux/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onOpen() { | |
var ui = DocumentApp.getUi(); | |
ui.createMenu('Convert to .RST') | |
.addItem('Convert to .RST and email me the result', 'ConvertToRestructuredText') | |
.addToUi(); | |
} | |
// Adopted from https://github.com/mangini/gdocs2md by Renato Mangini | |
// License: Apache License Version 2.0 | |
String.prototype.repeat = String.prototype.repeat || function(num) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GRUB loading. | |
# Welcome to GRUB! | |
# | |
# error: file `/boot/grub/i386-pc/normal.mod` not found. | |
# Entering rescue mode... | |
grub rescue> ls | |
hd(0) (hd0,msdos1) | |
grub rescue> set | |
cmdpath=(hd0) | |
prefix=(hd0,msdos1)/boot/grub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"bookNumber": 1, | |
"bookLink": "http://50.30.47.15/Ebook/English/Peace_and_its_Discontents.pdf", | |
"bookTitle": "Peace and It’s Discontents", | |
"pageLink": "http://www.grontho.com/peace-and-its-discontents/" | |
}, | |
{ | |
"bookNumber": 2, | |
"bookLink": "No PDF link is available", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
# Manual construction of arrays | |
# one dimension array | |
a = np.array([0,1,2,3]) | |
print(a) | |
print ('dimension', a.ndim) |
NewerOlder