gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains 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
FROM debian:bullseye-slim | |
RUN \ | |
apt-get update \ | |
&& apt-get install --yes --no-install-recommends \ | |
ca-certificates \ | |
libjpeg62-turbo \ | |
libpangocairo-1.0-0 \ | |
openssl \ | |
racket \ |
This file contains 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/sh | |
# Make sure to fill in your values!! | |
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" |
This file contains 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
[Desktop Entry] | |
Version=1.0 | |
Encoding=UTF-8 | |
Name=Popcorn Time | |
Name[en_US]=Popcorn Time | |
GenericName=BitTorrent Stream Player | |
GenericName[en_US]=BitTorrent Stream Player | |
Comment=Run the Popcorn Time application | |
Comment[en_US]=Run the Popcorn Time application | |
Type=Application |
This file contains 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
/* | |
* Great-circle distance computational forumlas | |
* | |
* https://en.wikipedia.org/wiki/Great-circle_distance | |
*/ | |
#ifndef _USE_MATH_DEFINES | |
#define _USE_MATH_DEFINES | |
#endif | |
#include <cmath> |
This file contains 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
MIT License | |
Copyright (c) 2019 Ed Flanagan | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains 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
var earth_radius_km = 6371.0; | |
function deg_to_rad(deg) { | |
return (deg * Math.PI / 180.0); | |
} | |
function haversine_distance(latitude1, longitude1, latitude2, longitude2) { | |
var lat1 = deg_to_rad(latitude1); | |
var lng1 = deg_to_rad(longitude1); | |
var lat2 = deg_to_rad(latitude2); |
Note: possibly outdated
- Open
/etc/apt/sources.list
with your favorite text editor - Change your deb sources so it looks something like this:
deb http://http.us.debian.org/debian/ jessie main contrib non-free
- The important part is jessie...non-free
- Run:
Note: Possibly outdated
Note: This is more of a personal reference. You should never install/add keys/libs/programs you yourself don't trust or know are safe.
Check https://www.spotify.com/us/download/linux/ for the official scoop.
- Add the Spotify repository signing key to be able to verify downloaded packages
This file contains 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/env python3 | |
'''Print list of all comics from http://questionablecontent.net/archive.php''' | |
import csv | |
import re | |
import sys | |
from urllib.error import HTTPError, URLError | |
from urllib.parse import urljoin |
NewerOlder